![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Feb 2005
Posts: 5
Rep Power: 0
![]() |
Hey all, total newbie here
I am just starting to learn C++, and doing ok for the most part. I'm using Dev-C++ and everything was fine until a couple of days ago. For some reason, all of my std::cin.get(); Thanks in advance ![]() Last edited by annomlem; Feb 19th, 2005 at 10:42 AM. Reason: solved |
|
|
|
|
|
#2 |
|
Hobbyist Programmer
Join Date: Dec 2004
Location: a cardboard box
Posts: 118
Rep Power: 4
![]() |
did u forget "#include <iostream>" and "using namespace std"?
__________________
... |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Feb 2005
Posts: 5
Rep Power: 0
![]() |
No, no I did not forget those. Unfortunately it isn't quite that easy. Like I said, it was working fine for a couple of days then all of a sudden *poof*...
![]() |
|
|
|
|
|
#4 |
|
Hobbyist Programmer
Join Date: Dec 2004
Location: a cardboard box
Posts: 118
Rep Power: 4
![]() |
hmm guess I can't really help you then. Seems like something happened to your comp. Perhaps you deleted something?
__________________
... |
|
|
|
|
|
#5 |
|
Newbie
Join Date: Feb 2005
Posts: 5
Rep Power: 0
![]() |
Maybe, though I don't remember doing anything that would have deleted any files...but then again we are talking about a computer here...
|
|
|
|
|
|
#6 |
|
Newbie
Join Date: Feb 2005
Posts: 5
Rep Power: 0
![]() |
Ok, I'm stupid
I forgot a cin.ignore(); line after input, so I suppose that my program was generating some error (I was adding ints). Thanks anyway though ![]() |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|