April 29th, 2012, 06:48 PM
Hi,
I have created a list class, that allows the user to create or edit a text file with a list of information inside the .txt file. When I read into the alphabet.txt (a .txt with a list of all...
April 23rd, 2012, 05:52 PM
I put it in a while loop, because I have more parts to program that I haven't started yet. I will be asking the user to open and close other files. So that's why it seems sort of pointless at this...
April 23rd, 2012, 05:41 PM
I am trying to create a program, where I prompt the user to name the output file name. I need the output file to be a .txt file. I know how to create, open and close an output file. But when I try to...
February 22nd, 2012, 02:15 AM
Thanks VictorN for replying.
I was able to figure out the parameters and get rid of the 12 (due to the unnecessary sizeof(Time)). I made a very silly mistake and was calling the function before...
February 22nd, 2012, 01:42 AM
basically my program lets the user inputs military time( in hour, minute, and seconds). I need to convert this to standard time and have am/pm at the end. Here is what I have so far.
I have a 3...
February 17th, 2012, 09:09 PM
I have a problem. I need to print the string called "last" in uppercase format. can you check why my program prints nothing.
here is the important section of the code.
if...
February 17th, 2012, 07:27 PM
this is what i have so far. The only problem is that it outputs only the last name for the first line and not the last names in the next 3 lines. shouldn't my while loop get the next line and repeat...
February 16th, 2012, 11:32 PM
Ya I figured my implementation was wrong. I just started C++.
I can't seem to get it right when implementing with substring.
How would you recommend to do it?
February 16th, 2012, 10:58 PM
i have a text file called example.txt and it contains the following lines.
21 squarepants,Spongebob
115 barack,Obama
7 Carter,Mc Farland
227 Abraham Carter,Lincoln
Basically, I have to...