how to execute programs

Can someone tell me how to run programs. I have windows, and we have to use SSH and c++. He went over it with us in class, but only for mac, not windows. If someone could give me instructions on how to do it i wold really appreciate it. Thanks.
What IDE do you use?
For mine, the .exe file is generated and placed in the same directory as the .cpp file. All you have to do is then run the .exe.
im not sure what IDE is, and i dont kow how to run the file. He said something about ./a.out, but i tried that and it didn't work
IDE stands for Integrated Developing Environment. Examples of them are:
Dev-C++ (outdated), MS Visual C++, Code::Blocks etc.
Hi rrataj. I use Dev C++ and Code::Blocks namely, but to run your program you have to compile the code and in dev c++ it should be a .exe file in the same directory that you can use/move etc.
In Code::Blocks you click build and run which should do the same as long as the .cpp files have been saved in a directory or somewhere.

Hope this helps. message me if you found this helpful
-- Practicing Programmer.
rrataj
He said something about ./a.out
Try "./a.exe" or just "a" after you compile the program.
Topic archived. No new replies allowed.