Creating Simple Single-File Programs

(Last Mod: 04 November 2010 18:09:28 )

ECE-1011 Home

Borland Turbo C/C++ v4.5 For Windows

Launch the Editor

From Menu Bar: File - New

From Menu Bar: File - Save As

From the Menu Bar: Options-Project-Compiler-Source

Write your program.

From the Menu Bar: Project-Compile

From the Menu Bar: Project-Make All

From the Menu Bar: Debug-Run

 

Most of the above actions can be accomplished with Control Keys and/or clicking buttons on the Tool Bar. Learning how to use these shortcuts can be a great time saver. You also want to explore the debugging capabilities. In particular, how to step through the code and how to set up watch windows.