Newbie needs help
I am a beginner programmer and I am currently trying to program in C++.
I need to know how to create a simple window and how to add things to it so I could display text on it and graphics.
Could anyone explain how to create a window; how to display text on a window/graphics.
Please Include the code so If I learned it I could tweak it and add more things to it like menus etc.
I would stick with console apps for now, what you described is no where near as simple as it sounds!
January 03, 2003 09:23 PM
might as well figure out the math oporashons, loops, if statements and stuff, i know you want to lerrn fast, i am a n00b, and i feal the same way, but c++ is some tuff crap. take it EZ,
your over your head man. you gotta start with console apps and its pretty slow going. it will be a while before you can do that stuff.
-----------------------------
Programming is confussing!
AIM: Trebor DoD
-----------------------------
Programming is confussing!
AIM: Trebor DoD
-----------------------------AIM: Trebor DoDHompage: Thinking Digitally: My Web Blog
I bought sams teach yourself c++ in 21 days but it seems that his material is sometimes cryptic and I do not understand. Could anyone tell me an easier way to learn c++. Any noob tutorial will do.
I am determine to learn and is willing to put time even if its hard.
I am determine to learn and is willing to put time even if its hard.
I bought sams teach yourself c++ in 21 days but it seems that his material is sometimes cryptic and I do not understand. Could anyone tell me an easier way to learn c++. Any noob tutorial will do.
I am determine to learn and is willing to put time even if its hard.
I am determine to learn and is willing to put time even if its hard.
ESC,
Many people will argue this for years to come but maybe a good stepping stone is to learn C first. Or maybe even python or perl before going object oriented.
C++ uses/can use all of the commands from C. C++, as you probably already know, is a superset of C (and so much more!). I applaud your effort to learn C++. Do not, however, confuse C++ with Visual C++ as it pertains to Microsoft Windows(et al: MFC, WIN32 API).
C++ is a programming language. Visual C++ for MS Windows is basically a development system for Windows.
If you''re still adamant about learning C++ first, then learn C++ FIRST and ditch learning Visual C++ until such time as you have the concepts of C++ ''down pat.'' Visual C++ gets into virtual classes pretty quick. Then there''s the pure virtual stuff! If you don''t know what those things are yet then I suggest you pick up a good book (from the references section of this website) to learn it.
Great luck be with you!
- Advice, eh? Well, besides working on your swing...you know, besides that...I''d have to think.
Many people will argue this for years to come but maybe a good stepping stone is to learn C first. Or maybe even python or perl before going object oriented.
C++ uses/can use all of the commands from C. C++, as you probably already know, is a superset of C (and so much more!). I applaud your effort to learn C++. Do not, however, confuse C++ with Visual C++ as it pertains to Microsoft Windows(et al: MFC, WIN32 API).
C++ is a programming language. Visual C++ for MS Windows is basically a development system for Windows.
If you''re still adamant about learning C++ first, then learn C++ FIRST and ditch learning Visual C++ until such time as you have the concepts of C++ ''down pat.'' Visual C++ gets into virtual classes pretty quick. Then there''s the pure virtual stuff! If you don''t know what those things are yet then I suggest you pick up a good book (from the references section of this website) to learn it.
Great luck be with you!
- Advice, eh? Well, besides working on your swing...you know, besides that...I''d have to think.
- Advice, eh? Well, besides working on your swing...you know, besides that...I'd have to think.
That book is as simple as it gets, believe me. C++ is NOT an easy language to learn. No matter what you use to learn, it may very well take you 6 months or more to get to an intermediate skill level. Stick to Sam''s and try to do some things of your own, then once you know that book well enough, get a book on win32 programming.
~Vendayan
~Vendayan
"Never have a battle of wits with an unarmed man. He will surely attempt to disarm you as well"~Vendayan
go through the earlier chapters of the book again, and only move onto the next chapters when you are sure you fully understand everything in the previous chapters, i made the mistake of moving on too fast a few times, and its very hard to learn new things if you are still confused about old things, in many cases chapters build upon concepts from previous chapters.
also i think its very important to just play around with new concepts etc. much easier to remember than if youre just typing out the examples, then moving onto the next chapter.
also do all the exercises, and think of simple programs that you can do that use things you have learned.
ignore the books title.
also i think its very important to just play around with new concepts etc. much easier to remember than if youre just typing out the examples, then moving onto the next chapter.
also do all the exercises, and think of simple programs that you can do that use things you have learned.
ignore the books title.
Yea, ignore the title... lol. I found that SAMs book to be very useful. Whoever posted above is right, it doesn''t get a whole lot easier. C++ is one of those things you can''t just read about. At least for newbies (like myself :D) you need to actually WRITE the code that you''re learning about; if you just try and read it you probably won''t get anything out of it. Something about how doing it yourself makes you retain more, I dunno
Peon
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement