GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
i want to start with programming. i downlaoded emacs and insatlled it on a windows box.i made the hello world program and compiled it with emacs. it doesn't work because the output is a .el file.
i know this is a programming question but i thought it was a nooby question so..
so i downlaoded a c++ editor for windows and a compiler named bloodshed dev. i tried it but it can't get it .. now im a bit confused.
can somebody tell me how-to use emacs for c++ howto compile and howto run the program?like can you run .el file by just typing sh <filename>.el ?
.el files are not executable binaries; they are Emacs Lisp files.
Emacs by itself does not compile C++ code. It can be configured to execute a compiler using the pull-down menus (like friend3141 mentioned). Emacs is just the editor in the same way that Windows Notepad can be used to write C++. You need another program (the compiler and linker) to turn the C++ code you write in emacs into an executable.
i think u could use an IDE (integrated development environment) = an editor + compiler + debugger + integrated help ..
it will be better for u
if u r going to use linux, and C++ then KDE's KDevelope may be best for u.
Some basic info for a linux programmer: www.advancedlinuxprogramming.com (or .org, can't remember). This site has a programming forum too
Every Linux editor is optimised for writing codes (cpp, html, pas...).
I use KWrite.
Moved: This thread is more suitable in General (no, it does NOT deserve to go in programming since it's about someone who doesn't even know the first thing about using windows) and has been moved accordingly to help your thread/question get the exposure it deserves.
www.cprogramming.com is a good site for beginners, I've read through it all, and still don't exactly understand. Under linux I use vi and g++, in windows I use Dev-C++(mentioned above), they both seem to work well