English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

How do I run files that I make? I want to see if I programmed them correctly.

2007-04-05 01:12:22 · 4 answers · asked by rokkon 3 in Computers & Internet Programming & Design

I'm not sure, but I think it's C++.

2007-04-05 01:18:20 · update #1

4 answers

If you're not programming in Java, you need to get a compiler to compile you source code (for example "file.c" for C programs) to an executable (like "file.exe"). These can be found on the internet and some programming editors have compilers integrated (like DevC++) so you only look up a menu option "compile", set the options and compile your source code.

EDIT: For C++ you can use "C++ Builder" or "Dev-C++" I mentioned

2007-04-05 01:18:38 · answer #1 · answered by George Binder 3 · 0 0

Depends on what environment you are programming in. If your using Visual Studio in the windows environment you can always hit the run button and it will execute it. In VS you can also debug on the fly as you can set breakpoints within your code. If your not using a tool like Visual Studio I would suggest compiling your program and running its executable (exe file). This will run your program and if there are any errors in your code it will break it. This form of debugging is harder and I would suggest setting certain points in your code where you pop up messages so as to know where you are. This can be messages that say that I am in

2007-04-05 01:20:06 · answer #2 · answered by sinkablehail1978 5 · 0 0

It would really help if we knew what programming language you are using.

Please clarify.

2007-04-05 01:16:28 · answer #3 · answered by ELfaGeek 7 · 1 0

http://en.wikipedia.org/wiki/C++
http://www.cplusplus.com/doc/
http://www.icce.rug.nl/documents/cplusplus/

2007-04-05 04:03:10 · answer #4 · answered by Anonymous · 0 0

fedest.com, questions and answers