Compiler:A compiler is a program that lets you turn your source code file (the file in which you write your program in C or C++) into an executable file that you can run on your computer. To program, you must have a compiler.For information on compilers, google C/C++ compilerYou may also want instructions on using a compiler.
Text Editors:A text editor is a program that allows you to create a text file that contains your source code. A text editor can be as simple as Notepad or as complex as Emacs or Vim.A good text editor goes a long way toward simplifying the task of programming. You cannot write C++ code in Microsoft Word (without great difficulty).Some good text editors for programmers include Vim and Emacs.
Debuggers:A debugger is a tool for tracking down problems with your code -- bugs -- that result in unexpected behavior of a running program ("at runtime"). A debugger will let you get inside your code -- you can run a program in a debugger and temporarily pause execution to see what line of code is being executed, the values of variables, and other information that will help you tell what your program is doing and why it isn't doing what you expect.A good debugger will help you pinpoint where your bug is located within your code and give you extra clues, such as what values each variable contains, that can help you figure out what mistake you have made. Many compilers come with built in debuggers, and GDB is also available as a stand alone program.Memory profilers such as Valgrind or Purify can help you debug memory leaks. Valgrind is free, but Purify will cost you real money.
search
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment