C++ Programming
-
hello guys ...im a newbie on linux. How can i run C++ programs on linux?? Can i get both compiler and the editor in same application (just like Turbo)??
-
hello guys ...im a newbie on linux. How can i run C++ programs on linux?? Can i get both compiler and the editor in same application (just like Turbo)??
-
Try a Google search for Linux C C++ compiler, I'm sure you will find many possibilities. My personal favourites were gcc with vi/emacs as editors, but things have progressed since those dark days of the twentieth century.
It's time for a new signature.
thanx......sometimes im short of tech words for such questions.thanx
-
hello guys ...im a newbie on linux. How can i run C++ programs on linux?? Can i get both compiler and the editor in same application (just like Turbo)??
Emacs is one such tool that can be used as a compiler and editor. But I would stick with vi as editor and gcc command line, which is far better than any of the tools you get.
"I'm willing to admit that I may not always be right, but I am never wrong." - Samuel Goldwyn
-
hello guys ...im a newbie on linux. How can i run C++ programs on linux?? Can i get both compiler and the editor in same application (just like Turbo)??
-
hello guys ...im a newbie on linux. How can i run C++ programs on linux?? Can i get both compiler and the editor in same application (just like Turbo)??
Eclipse/CDT is fairly easy to get to grips with if you're used to IDEs.
Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"
-
hello guys ...im a newbie on linux. How can i run C++ programs on linux?? Can i get both compiler and the editor in same application (just like Turbo)??
Just use vi editor to create text file and save it with extension ".cpp" Now compile it with "gcc ". Then run it with "./a.out". -By Ajay Kedare. B.Tech(IT)
-
hello guys ...im a newbie on linux. How can i run C++ programs on linux?? Can i get both compiler and the editor in same application (just like Turbo)??
It is definitely possible to find something like Turbo C++, but the setup process is not as clean as it was for Turbo C++. I would start with the "nano" or "pico" editor, instead. You can run this from any shell window. Just type "nano myprog.cpp" (or type "pico myprog.cpp" if that doesn't work; the programs are basically identical). In both cases, a very basic editor is provided. The most necessary features are present: arrow keys, backspace, search, and a form of cut/paste. The commands are CTRL+ key sequences spelled out in a legend at the bottom of the display. After typing your code, you'll have to exit the editor using CTRL+X, press "Y" to save, and then type something like "c++ myprog.cpp" (or maybe "g++ myprog.cpp"). An empty response (i.e. a relatively quick return to the command prompt) implies success, and the resultant executable is typically named "a.out." So, you can run your program by typing something like "./a.out" (the ./ means to search in the present working directory). These are the basics... many things resembling IDEs are basically just wrappers for the process described above!
-
hello guys ...im a newbie on linux. How can i run C++ programs on linux?? Can i get both compiler and the editor in same application (just like Turbo)??
The best and powerfull Development tool in linux is Vim Enjoy it.