Forum: C++ Oct 12th, 2007 |
| Replies: 17 Views: 10,243 That code looks just fine to me. But sometimes looks can be deceiving. Are you sure that what looks like a space between "IDM_MY_MENU" and "208" is really a space. I remember once having a similar... |
Forum: C++ Oct 12th, 2007 |
| Replies: 17 Views: 10,243 If you want to learn C or C++, I suggest you look at "www.cprogramming.com". I have not gone through the site, but judging from the table of contents, it might be just what you want. Let me know if... |
Forum: C++ Oct 12th, 2007 |
| Replies: 17 Views: 10,243 OK. Frankly, I don't really know what this code is intended to do, because I can't see the entire program. But, I'll try to respond to the questions you have posed.
Firstly, the statement... |
Forum: C++ Oct 11th, 2007 |
| Replies: 22 Views: 7,485 Yeah, you're right. But all of the code except for the cout and cin stuff is just plain C. And whether it's C or C++ sort of misses the heart of the matter. The thing that the original poster needs... |
Forum: C++ Oct 11th, 2007 |
| Replies: 22 Views: 7,485 I told you that my C is a little rusty. It looks like I should have put a ; after the call to getnumbers() and removed the endl. If you want to make those changes and try it again, it should reduce... |
Forum: C++ Oct 11th, 2007 |
| Replies: 22 Views: 7,485 My C is a little rusty, so I might not have gotten the syntax exactly right, but this should work.
#include <fstream>
#include <iostream>
/* Note: I don't think you need all of the #includes... |
Forum: C++ Oct 11th, 2007 |
| Replies: 17 Views: 10,243 If you need help with some code, it would help a lot if you would post an example of the code you are having problems with. Otherwise, I don't see how anyone can help you!
Hoppy |