Forum: C++ May 7th, 2009 |
| Replies: 2 Views: 207 Put it in main and pass the ifstream value to the load_grid function
string Input_File_Name;
ifstream InFile;
int number;
cout << "Enter the name of the input file (ctrl-c to exit): ";... |
Forum: C++ May 6th, 2009 |
| Replies: 3 Views: 650 Someone else correct me if I'm wrong, but you just write in pseudo code (not completely syntactically correct) the basic algorithm.
Not quite sure what you're asking about the array though |
Forum: C++ May 6th, 2009 |
| Replies: 8 Views: 357 Have you atleast written some code and ATTEMPTED to write this program?
If so, Post the code (use code tags) and ask a specific question about some code you are having problems with. Then... |
Forum: C++ Nov 7th, 2007 |
| Replies: 5 Views: 4,013 Thanks for the help. This is for a project in my c++ class that I turned in this past Friday night. It was just bugging me that I couldn't get the time to output correctly. The time that is input... |
Forum: C++ Nov 7th, 2007 |
| Replies: 5 Views: 4,013 Input would be "10:00AM"
and I get "1"
also when the input is "11:59AM"
I get nothing at all
The rest works fine...
Thanks |
Forum: C++ Nov 7th, 2007 |
| Replies: 6 Views: 1,216 Try something like this, I'm still new to C++, but learning. Hope this works.
int month;
int date;
int year;
int someint;
InFile >> month;
InFile.ignore(500, '/'); |
Forum: C++ Nov 7th, 2007 |
| Replies: 5 Views: 4,013 Hey,
I'm still fairly new to C++, and even more new to this forum. Any help would be greatly appreciated. Could someone look at this segment of code for me and tell me what is wrong with the... |