Learning C++
But now i want to get more serious with C++.
I havent done much Win32 application stuff, only little things like change the name of the buttons at the top like 'File' which is basic, but ive done some Win32 console stuff.
So can anyone point me in the right direction for tutorials and just helping me in general.
Should i set out a task to complete?
(just for example)
Make a program that has a small box on the side of desktop, and when mouse hovers over it an alphed box slides out that says 'Hello' ??
just to let Everyone know ive done alot of Flash Actionscripting, but i wanted to do something that can branch out into more things, so can any of thoughs skills be transfered to C++? o_0
So anyone that can give me some advise or help me out, thx.
Plus he said he wanted to make slide out menu's and after a week will be able to do that and probably more.
for real though, all DX10 cards are backwards compatible with DX9L. SDL is pretty much compatible with everything your heart will ever want.
but i dont have any of the help files :( lol
but ill give looking at the coding of a precoded Win32 app a go.
otherwise more hard work to find things out. :(
peace out.
Make sure you know the STL completely. This means, std::vector, std::list, and std::map kind of stuff. I'd recommend learning the OOP paradigm since it helps a lot.
http://gpwiki.org/index.php/C_plus_plus:Modern_C_plus_plus:Vectors
Learn how to set up object class with an x and y pos and then create a manager class that allows you to insert them into a list or vector container. Then add maybe a velocity into the object class and see if you can iterate the group of points and move them with their velocities. (by the way I'm describing a particle engine.
Other things to make sure is to use std::string and not char so much.
Templates are good to learn later once you find what they are used for.
"Older versions used DirectX 5, but SDL 1.2 (the current stable release) requires DirectX 7 by default"
what does this mean? does that mean my computer needs to be down-graded to DirectX 7?
Or of what i was thinking, that SDL can only "wrap" its self around DirectX 7, and if you wanted to use a higher DirectX you dont have SDL to help?
He will? Why?
Again, that's got nothing to do with the desire to learn Win32.
And so can using the WPF in .NET, but how does that help with learning Win32?
Sorry for going a little off topic... I just was showing him some things related to Win32, like if I showed him MFC or COM.
Anywho, Win32 is a pretty cool API. One thing I'd recommend is Visual Studio's help files, or just creating a project in visual studio where the Win32 code is written in automatically, and then studying that code.
If you're not using Visual Studio, a highly recommend you use it as a compiler. There is a scaled down free version.
http://en.wikipedia.org/wiki/Simple_DirectMedia_Layer
Maybe as your learning you could write up some very simple step by step tutorials for beginning the use of SDL.
Whats with all the gay tutorials???
all of them basically say "copy and paste this, ill tell you what it is later" and then not go indepth on all of the code.
i think ill look at that IMHO stuff :S
^Don't lie to him. Spyrl your going to need to remove your current DX9 card or DX10 card and put in a DX7 when your testing. lol i wasnt thinking at the time and only reliesed what i said later. (lol silly me)
and btw i was using that slide out menu as an example.
http://en.wikipedia.org/wiki/Simple_DirectMedia_Layer
Whoa! The guy says he wants to learn Win32 and you point him at SDL? Interesting! :)
Everything that you want to do can be achieved without touching DirectX or OpenGL (and hence SDL), and using them will only confuse you if you're looking to learn to write Windows code.
I'd recommend attempting your problem using nothing but Win32 and the core C++ functionality - IMHO, you should avoid muddying the waters with other APIs.
Just my $0.02.
OJ
i got the SDL library etc now, and im on my way to getting started :P
w00t!!!
this pixel drawing is a bit crazy though lol.
I never said it was. What I am saying is that it's off topic considering what he wants to achieve.
And he will have to learn it at one time or another, and why limit a program to one OS.
He will? Why?
DirectX/OpenGL can be used in a windowed environment
Again, that's got nothing to do with the desire to learn Win32.
so even if you just want to do Win32 stuff DirectX can enhance it.
And so can using the WPF in .NET, but how does that help with learning Win32?
#If you have any other info about this subject , Please add it free.# |
March 12th, 2010 at March 12, 2010 | | Permalink