Text Editor?

Feb 24, 2010 at 7:59am
Hey,
I just started learning C++ and I learnt the usual:
• variables, data types, and numerical operators
• basic input/output
• logic ( if statements, switch statements )
• loops ( for, while, do-while )
• arrays
• pseudo random number generation

I did all this in a DOS looking window? Using Dev-C++ I just clicked new file and wrote the code. But now i'm trying to make a text editor. I clicked New > Project > Application. And now, embarassingly I have no clue where to start all this new extra code that pops up under main.cpp confuses me.

So my question is, where do I start now. Remembering that I wish to make a Text Editor what tutorials do I need to read or even better if someone on here could help me?

Much appreciated,
Guinner
Feb 24, 2010 at 7:31pm
Under DEV C++ Projects - you have two types of Applications - console and windows.
The windows application is for GUI coding using the windows api.

If you select console application you only get about 8 lines of code already provided.

If you choose windows application you get about 100 lines of GUI code already provided.

You want console application.
Feb 24, 2010 at 7:34pm
You can also use "Blank Project" IIRC.
Feb 24, 2010 at 9:29pm
I don't think you're taking into account that I wish to use Windows application, I wanted a tutorial on how to use it?
Feb 24, 2010 at 9:58pm
OK - so you want to do windows GUI programming.
here is a tutorial site to get started with:
http://winprog.org/tutorial/
http://www.vczx.com/tutorial/win32-tutorial/index.html



I said it before and I'll repeat it here again - attempting to learn anything about anything just by
googling around the net looking for tutorials is a waste of time - get a book.
Last edited on Feb 24, 2010 at 10:08pm
Topic archived. No new replies allowed.