well i wrote some source code in college and it compiled fine using Visual C++ but then when i took it home and tried to compile it using Dev C++ i recieved errors and it wouldn't create the *.exe
...
Type: Posts; User: $watto
well i wrote some source code in college and it compiled fine using Visual C++ but then when i took it home and tried to compile it using Dev C++ i recieved errors and it wouldn't create the *.exe
...
hmm strange, yes your right it does work :rolleyes:
didnt work the first time i tried it :confused:
another thing i wanted to ask, if source code is correctly written why do some compilers...
I see what your saying 7stud so why wouldnt this work:
#include <iostream>
using namespace std;
int main()
{
int convert;
thanks, i now better undrstand why cin.get() didnt work :D
And what about program\source code flow? how does C++ read the source code when it is compiled because i think that is the reason why i...
thankyou so much for your replies, and thankyou SlyMaelstrom for re-writing the program, it now works just the way i wanted it to :D
Please could you explain a bit more about why cin.ignore()...
Hello all, im extremely new to C++ and im currently just trying to practice writing basic programs but i have come up with a problem:
#include <iostream>
using namespace std;
int main()...