LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   programming in c,c++,java (https://www.linuxquestions.org/questions/linux-newbie-8/programming-in-c-c-java-422062/)

vijju 03-06-2006 01:40 AM

programming in c,c++,java
 
hi all so how can i write programs for c,c++,java and how 2 save them.and does fedora 4 contain emac i am unable to open it..

reddazz 03-06-2006 02:46 AM

You just use a test editor and compile your C programs with gcc and your C++ programs with g++. You can also use KDevelop and Anjuta IDEs. For java you may need to install a jdk and use a text editor or an IDE like Netbeans or Eclipse. Fedora ships with EMACS and if you did not install it during setup, you can do so using YUM.

muha 03-06-2006 03:05 AM

c ~> try compiling this hello world

with:
Compiling: gcc hello_world.c
Check whether a.out is executable with ls -al
If it is not: chmod +x ./a.out
Usage: ./a.out

vijju 03-11-2006 04:46 AM

Thanks alot
 
hi all and ok ur suggest r happy one but i am unable to open emac and eclijps as i open eclipse my system gets stuck so what shud i do...


All times are GMT -5. The time now is 07:21 PM.