Install gcc windows

To install gcc compiler in windows operating system do the following :

1- go to http://www.mingw.org to download the mingw installer or simply go directly to http://sourceforge.net/projects/mingw/files/
2- click download mingw-get-inst-****
this will download a small exe to help you download and install the required files.
3- click the exe file downloaded and click next
4- keep clicking Next as there is no changes required.
NOTE: You can install the C++ compiler -If you want – by just clicking the check box besides C++ compiler

The installer will do the rest of the job for you. It will download and install the required files.
Then click finish.
///////////////
You will need to add environment variable to the system to be able to use the gcc command at the command prompt.
Follow the next steps to do this :
1- right click on my computer – > Properties -> Advanced – > Environment variables
2- click the PATH variable as indicated then click EDIT
3- Add ” ; C:\MinGW\bin to the end of the line “
semicolon followed by the path
 
4 – Now you are able to compile your c applications using GCC compiler.
 
** To do this, Click Start -> RUN (or keyboard windows tbutton +R) and write CMD
 
Compile your code by writing the following command:
 
gcc c_file_name_path -o c_output_filename
 

That’s it.
msaudi.blogspot.com
Advertisements

Eclipse C++ Development [ UBUNTU ]

Hello Every one,
I want to show the most easiest way to install eclipse IDE under ubuntu and make it support C++ development.
Basically, you need the following:
g++ compiler, gcc compiler collections, CDT and eclipse IDE.
Steps::
– Open Ubuntu Synaptic Package Manager ( System – > Administration -> Synaptic Package Manager)
– Write in the search box : eclipse
– choose eclipse platform , click, mark for installation




-Repeat the second step but write gcc
– Again and write g++

– Again and write CDT ….
After installing all those packages, you will find eclipse installed under Applications -> Programming – > Eclipse.
Now you are ready to use eclipse for c++ applications.
To start your first application in eclipse:
File -> New – > C++ Project. If you cant see c++ project option click other and choose c++ from the list.
Be sure to select Linux GCC compiler from the right list as the next picture shows.
Click Finish and Play !.






shortcuts:
Build ==> CTRL +B
RUN ==> CTRL +F11

C++ C# IDEs Under Linux

Hello Every one,
I came across some C++ & C# development Environment for Linux.
I just showing there names here:

  • Eclipse, with CDT
  • NetBeans ( Thanks to Abdelghany addition)
  • CodeBlocks
  • Anjuta
  • KDEvelop

For Java: Both Eclipse and NetBeans works great.

And for C#.Net and VB.Net I found

  • Monodevelop

share better names if you have and try those if you have not.