Text Editor?

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
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.
You can also use "Blank Project" IIRC.
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?
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
Topic archived. No new replies allowed.