Type: Posts; User: BigDadd215
Search took 0.01 seconds.
March 17th, 2014, 03:33 PM
just displaying the txt file... I write to them correctly..... I can open files with notepad and see everything in there correctly.... But always displays 2 files instead of just one...
March 17th, 2014, 11:46 AM
Everything else works fine....... I can even open the txt file in notepad and everything is there... but the import and displaying it has the problem.
March 16th, 2014, 09:35 PM
Could it be possible that I have an issue with my try blocks that read and import my txt files?
March 16th, 2014, 09:16 PM
I hae the loop exited correctlt now by removing 4 form the loop..... Still same issue with showing the contacts.... :(
March 16th, 2014, 09:12 PM
Just tells me the program has exited.
March 16th, 2014, 09:10 PM
I have removed all WHILE loops except at the beginning, now I have an infinite loop when I select to view my contact.
March 16th, 2014, 08:51 PM
At the end of the code, I change the user's input to the exit #4
Example: "enter" is the variable I am using for 1-4 (with 4 being the exit) ....At the end of the code for 1a-3a, I put "enter =...
March 16th, 2014, 08:23 PM
As I run a single While loop at the beginning, I get a continues loop when I select which contact to view.....
Is this the basic layout?
***Ask initial question
While loop (1-4)
March 16th, 2014, 08:04 PM
That is what I have saying .... I still get issues with run-time.
March 16th, 2014, 07:35 PM
I still must be able to give the option to show the unpopulated file and produce it if so desired...... Stupid I know, but none the less it is what is required... It would have been a lot easier the...
March 16th, 2014, 07:08 PM
Did I mention that my initial display has to give options
1) add business contacts
2) add personal contacts
3) show contacts --then lead to which contact
So it should look like:
March 16th, 2014, 06:13 PM
I have implemented 2 while loops and using my if conditionals inside the loops.... I still am having the problems with showing my contacts.... I get both when I am supposed to show business, I get...
March 16th, 2014, 05:45 PM
I guess the correct question is: How do I put the #2 above my while loop and only ask for it when ready?.... I thought I was already doing that.
March 16th, 2014, 05:20 PM
I just don't want to ask which contacts you want to be displayed before you enter in any contacts...
Order of Operation:
1) ask user to enter in contacts, which can be in any order and switch...
March 16th, 2014, 05:06 PM
I might be new, but would I want to ask which contact to show at the same time I ask which contact they would like to enter? If I am understanding you correctly, I should put this code:
March 16th, 2014, 04:50 PM
Some how I have made it worse....... :(
March 16th, 2014, 04:39 PM
Now I get a continues loop that wont exit after I select which contact that I want to see goes straight to (enter == 4).... I now don't get my contacts, any of them.
March 16th, 2014, 04:19 PM
I started off with a "while(enter = 3)" and carried to if/else statements, but I still get the same result... Am I missing something vital from your last response.
while(enter == 3)
March 16th, 2014, 03:51 PM
Thanks for the advice on the adding of contact.... I am still having a problem showing my contacts.... When I select to show just the business contacts... the business and personal show up, when I...
March 15th, 2014, 07:56 PM
Hello Norm... I have most of the code know work, thanks for all the guidance...
I do have 2 small issues still:
1) When I select the personal contact to enter, I can't go back and enter another...
March 6th, 2014, 08:36 AM
The main class looks builds the objects of business class, from there it passes to the business class to ask the questions..... From there is where I wanted to build the ArrayList.....
March 6th, 2014, 07:42 AM
I will need to call, for example, all the business contacts.... It should print out all First Names, Last Names, Addresses, etc..
March 6th, 2014, 05:02 AM
Would it make sense for me to make a class that is designed to make the arraylist from the objects that the Business class creates?
Kinda like the main called the business class to ask questions...
March 5th, 2014, 07:52 PM
I am lost on your first sentence......
I am sure that I have an issue somewhere, but I have no idea where... That is what I have trying to do...... In the Business class, it receives an input for...
March 5th, 2014, 07:29 PM
I do not get an error when I run the code,.... I just can't get the name Drew to add to the ArrayList.....I am not too sure where to put
If I put in main class, I am told that it could not find...
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!