Right basically I know not heads or tails with C++, ive had some expirience with VB but in all honestly that's about the extent of my programming knowledge. I wanted to write a basic "Hello World" program. Did so using a guide online, this is what i wrote:
#include <iostream>
using namespace system;
int main () { cout<< "Hello World"; return 0; }
Not working, obviously otherwise i wouldnt be asking lol, tried fiddling around with it and checking it against other "Hello World" programs, should be working. But yeah id appreciate any help or tips any of you can give me :) thanks
If you want to write a console application, run it from the console. That way you don't have to worry about all these cin.get()'s, cin.ignore()'s, etc...
Find out where the compiler put your executable ("prgm.cpp" becomes "prgm.exe" or "prmg") then open cmd.exe, bash, or (insert whatever shell your OS uses here) and change your working directory to the one where your executable program resides ("cd DIR_NAME" or "chdir DIR_NAME".) Then just type the name of your executable and hit enter.