Forum: C++ Apr 30th, 2005 |
| Replies: 7 Views: 1,760 Well, your codes are a little misleading. I don't quite understand what you are doing. Anyway, I'll go step by step with you. First, make sure you have this in mind:- A 10 block array like this [] []... |
Forum: C++ Apr 27th, 2005 |
| Replies: 7 Views: 1,760 For arrays read here:-
http://www.cprogramming.com/tutorial/lesson8.html
For modulus operator, read here:-
http://www.cprogramming.com/tutorial/modulus.html
You'll be needing for loops also.... |
Forum: C++ Apr 27th, 2005 |
| Replies: 2 Views: 2,949 Basically, what you had in mind and what the computers is 'thinking' is totally different. When we read time in 24-hours format (ie 1645) we know it means 4.45pm. But the computer only take it as a... |
Forum: C++ Oct 12th, 2004 |
| Replies: 7 Views: 3,503 I usually go to these places:-
www.cplusplus.com
www.cprogramming.com
Or the best way, go to www.google.com and the the search engine type "C++ Programming Tutorial" (double quote included) |
Forum: C++ Sep 3rd, 2004 |
| Replies: 6 Views: 3,936 Try www.cprogramming.com It's got both C and C++ tutorials and some FAQs that are usefull... |
Forum: C++ Aug 20th, 2004 |
| Replies: 14 Views: 3,525 Other than using :-
#include <iostream>
using namespace std;
you can also try to replace it with this:-
#include <iostream.h>
But it is adviceable to use the former as it is of the latest... |
Forum: C++ Aug 12th, 2004 |
| Replies: 0 Views: 4,054 I've created a file called country.txt which holds a list of 100 countries' name. Eg (to name a few):
America
Bahamas
Canada
Denmark
Eygpt
France
Germany
Hong Kong |
Forum: C++ Aug 12th, 2004 |
| Replies: 2 Views: 1,970 have you tried declairing your "x" as a char instead of int? |
Forum: C++ Aug 10th, 2004 |
| Replies: 47 Views: 160,213 Hello!
I have a little question. Lets say, I have a file called word.txt and it contains 100 over words.
How do I add a new word and SAVING it so I can use this word from this file in future?
... |