Sunday, December 15, 2013

Steps using to run C/C++ programs in Netbeans using C/C++ Complers (Dev-Cpp)



Steps using to run C/C++ programs in Netbeans using C/C++ Complers (Dev-Cpp)
1.      Install the applications of DEV-CPP and Net beans IDE with C and C++ from https://netbeans.org .
2.      Click ToolsàOptions in net beans IDE and select C/C++ from options dialog box.
2.1.Select Build tools and click tools collection
2.2.Click Add button and Add New Tool Collection dialog box will be opened.
2.3.Browse the base directory, i.e)c:\dev-cpp\bin
2.4.In tool collection family select the compilers listed, select cygwin(advisory).
2.5.In tool collection name , enter the name(user defined) then click ok button.
3.       Select build host as local host.
4.      Automatically C compiler, C++ compiler, Assembler, Make command and Debugger command are selected from the base directory.
5.      Check versions by click the versions button in the same window.
6.      In IDE, create a new project in C/C++ and run the code to get the output.

No comments:

Post a Comment

Followers