Execution of c,C++ in redhat

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Execution of c,C++ in redhat
# 1  
Old 02-16-2013
RedHat Execution of c,C++ in redhat

hi dudes, i m a new user of RHEL-6. how will i start programming of c / c++ in this environment ? where will i type my code & how will i execute ? are any extra packages needs to be installed ? if yes, from where will i get those packages?
waiting for reply from someone......
# 2  
Old 02-16-2013
Install gcc (GNU Compiler Collection), g++ and make on your system. Then use your favorite editor to create source files and a Makefile. Run make and it will build your application using the rules specified in your Makefile.
This User Gave Thanks to fpmurphy For This Post:
# 3  
Old 02-16-2013
I also recommend you to use an IDE like : eclipse IDE for C/C++, which makes life easier .
There is also some books out there about GCC compiler and how to use it correctly .
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Sort command results are different in Redhat 4 vs Redhat 5

Hi, I am having a text file with the following contents ########### File1 ########### some page1.txt text page.txt When I sort this file on Red Hat 5, then I get the following output ########### File1 ########### page1.txt page.txt some (3 Replies)
Discussion started by: sarbjit
3 Replies

2. UNIX for Dummies Questions & Answers

Redhat 5.8 to 6.0

Hi, Currently running Redhat 5.8, I am thinking about upgrading to 6. After the upgrade, in case, I want to downgrade. How would I do that? Please let me know. Thanks. (2 Replies)
Discussion started by: samnyc
2 Replies

3. Shell Programming and Scripting

Expect Issue Serial Forground Execution vs Concurrent Background Execution

I have an expect script that interrogates several hundred unix servers for both access and directories therein using "ssh user@host ls -l /path". The combination of host/path are unique but the host may be interrogated multiple times if there are multiple paths to test. The expect script is run... (2 Replies)
Discussion started by: twk
2 Replies

4. Shell Programming and Scripting

execution without ./

I want to execute a shell script without ./ symbol. For example: ./my_script ===== my_script (both of them can execute my script) both of them are the same as result. (7 Replies)
Discussion started by: mehmetned
7 Replies

5. UNIX for Dummies Questions & Answers

execution without using (./)

I want to execute a shell script without ./ symbol. For example: ./my_script ===== my_script (both of them can execute my script) both of them are the same as result. (2 Replies)
Discussion started by: mehmetned
2 Replies

6. Red Hat

redhat

if sombody can help it will be very good.I want to have some information concerning redhat 9.How to go in the internet with :confused: ,how to programmate in c or c++,and finally how i can use it esaly.Sorry for my english i'm a french speaker ;) (1 Reply)
Discussion started by: boyep
1 Replies

7. Shell Programming and Scripting

Parallel Execution

Hello, I wish to run parallel process forked from one script. Currently I doing is submit them in background. For example: --------------------------------------------------------------- #!/usr/bin/ksh process1 & process2 & process3 & ..... ..... #here I check for completion of... (4 Replies)
Discussion started by: RishiPahuja
4 Replies

8. SuSE

redhat

i just bought a redhat 9.0 book which comes with the operating system and Ive install it as a server however Im having difficulties installing Swat and I just wonder if I have to spend buy an enterprise server or what ? (1 Reply)
Discussion started by: keliy1
1 Replies

9. Linux

redhat

hello people i just installed redhat, everything seemes to be fine, but when i start it, it boots up normally and starts firstboot or whatever, then it opens something, i can move the mouse for a while(thats all i see.. first the X then an arrow..) but then the whole computer freezes.. i think the... (3 Replies)
Discussion started by: thenewestuser
3 Replies

10. UNIX for Dummies Questions & Answers

RedHat

Hi all, I'm installing RedHat 7.0 on a laptop. As it's a dual boot with win2k I make a boot sector instead of using the MBR. After the install I mark the boot sector active in windows then I can boot into Linux. First question. When I make the boot sector active it deletes the swap... (3 Replies)
Discussion started by: merlin
3 Replies
Login or Register to Ask a Question