Thursday, July 30, 2009

How do I test a program created by C++ 6.0?

I typed a Macro program and its all done. Im new to this but i learned how to make macro programs with AC-Tool. Anyways, How do i save a program after i created it. How do i run or test it?

How do I test a program created by C++ 6.0?
To compile and run C++ code you can either use Microsoft Visual C++, Microsoft Visual Studios, or Borland's C++ Compiler 5.5. There are other compilers out there, but these are the 3 that I have personally used before. The Borland Compiler is a free download from http://community.borland.com/article/0,1... while the Microsoft programs are not free. I'm not familiar with this AC-Tool program you're using though, or what it's being used for in this case.





When I used an earlier version of the Borland Compiler in my college days about 4 or 5 years ago, you had to write your C++ program in a text editor, I recommend using Notepad, and saving it as a .CPP file, just change the extension from .txt to .cpp when you go to save it.





Using Borland was a little cumbersome as it was a command line compiler, so you have to use the windows DOS prompt. It may have been changed to a GUI style of application, but I don't know and can't find out at the moment as I can't downloand and test this thing at work.





However, if you explore the Borland forums a bit, you should find a wealth of knowledge on how to use the compiler. Hope this helps you out a bit.


No comments:

Post a Comment