I was just wondering, but is API better then SDL, or not?
Oh, and what is GUI? is it something i should learn as well if im building a game?
I was just wondering, but is API better then SDL, or not?
Oh, and what is GUI? is it something i should learn as well if im building a game?
Last edited by ExDHaos; 05-19-2009 at 06:20 AM.
SDL is an API, so I think you are confused about something.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
What you are asking is something like "Which is better a BMW or a CAR?" - SDL is a library that provides an application programmer with a certain functionality, through an interface. Thus it is a Application Programming Interface - API.
Presumably you would like to compare the SDL API with <some other> API.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
The C++ Standard Library.Originally Posted by ExDHaos
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
History of the graphical user interface - Wikipedia, the free encyclopedia
As to what is "best to learn", if you define "best", I can POSSIBLY answer that...
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Given that you tend to throw out things that you don't quite know what you mean by, I'd say you need to define what you mean by "interface programming"...
To be at least somewhat "complete" as a C++ programmer, you should know how to use STL, for sure. If you want to do Direct3D or OpenGL programming, then knowing how to use STL will help you achieve some of the things you may need to do - it won't solve all problems, but it will help.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
In some ways, yes, but frankly, I probably misinterpreted your question. Instead of "interface programming", talk about "user interface (programming) library" (or framework, or toolkit). If you want to be specific, mention "console" or "graphical" user interface.Originally Posted by ExDHaos
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
It sounds like you just need to get down and dirty with the very basics of programming before thinking about these things. Not to sound rude but it sounds like you just started programming and really have no idea what you are talking about Learn the basics, you know the walk before you run deal and all that.
Huh? How did you manage to read that out of my message. I said I agree that learning STL is an important part of becoming a complete C++ programmer. And IF you wish to use either of those 3D graphics API's, you will need to understand the basics of C++ first.
Are there other things you should also learn? Probably.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.