http://www.cprogramming.com/tutorial/lesson10.html
Type: Posts; User: Orrill
http://www.cprogramming.com/tutorial/lesson10.html
Hi, I'm writing a console application which requires quite large chunks of text to be displayed. When the text is output to the next line of the console individual words are broken up, is there an...
Didn't realise that, thanks for correcting me. Learning all the time eh!
I also noticed a very simple error in your original code. after the if statements you forgot to include the opening and closing brackets.
{ and }
Thanks for the quick reply.
Isn't this convention a little strange, bearing in mind I copy/pasted the file address straight from a shortcut property box?
Could someone please tell me the correct method of locating a file through ifstream. This it my attempt, which doesn't seem to be working.
//Opens for reading the file
ifstream b_file (...
It seems to me that when your program starts it jumps straight into the loop not taking into account any user input. You need the user input first so you can make a decision based upon that input.
...
From my own passed experiences I'd advice on only writing programs that do everything the syllabus expects you to do and nothing more, you only end up putting more time in than you actually need to...
Excellent, worked a treat, thanks alot.
Hi, I've decided to get stuck into learning the C++ language, I've downloaded and installed Microsoft Visual C++ express along with the Windows SDK and configured express to use it.
Now all i'm...