On Feb 3, 2008 3:44 AM, Aswin Rajamannar <[EMAIL PROTECTED]> wrote:
> But wait. I do have a compiler. I want it as an information. In some books,
> i've read that a c program can be written in any text editor, but should be
> saved with the extension .cpp. I have turbo C++ but that doesn't matter
> however. I jus wanna know if compilation and execution is possible through
> text editor. (I'm a student. I teach C++ to my classmates in their own
> laptops. So instead of searching the directory of IDE and opening it, i
> think it's time-saving to do on text editor, as i do not deal with big
> programs)
You can use any text editor to write C++ programs, but unless the
editor supports calling a compiler externally (Notepad doesn't), you
are out of luck. You can run a command-line compiler if you want to.
If you are a beginner, you should use an IDE, it will already have a
text editor.
And get rid of Turbo C++. It's very old and can only do MS-DOS programs.
-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
If I were to divulge it, it would overturn the world."
-- Jelaleddin Rumi