Umm... no. You actually write your code in the compiler. The compiler just has a function that will "compile" the code you wrote and link that with the libraries you want to include and any extra files you want into an executable.
Only use a text editor to write your code if a compiler is not available to you. You will appreciate the syntax coloring in most compilers.
> You actually write your code in the compiler.
Only if it's an IDE. There's nothing wrong with writing the code in Notepad, saving it as a .cpp or .c, and compiling the file.
That said, do yourself a favor and use an IDE. I think it was pointed out earlier, but Dev-C++ is a good one.
Just grabbed Dev-C++, it seems like a fairly easy to use program (I hope!) Not to say the language is!
When you have written a code, and you "compile" it, does it turn it into an exectuable?
And to dispell any misconceptions, I'm form the UK, and speak the "Queen's english" ;-), though not quite like that toffee-nosed grandma!
Thanks for all the help, it seems that coders are one helpful bunch of people!
> When you have written a code, and you "compile" it, does it turn it into an exectuable?
It's a little more complicated than that, but that's the basic idea. Any decent book or tutorial should explain it more in depth.
> "Queen's english"
Pip pip, cheerio, and all that rot? :p
"I do say! Cormie blimey up me apples and pears, I'm off to see me wife's Bristol Cities!"
Translation- How dare you! Well, Im going up the stairs to see my wife's.... well, you get it.