Jump to content

View more

Image of the Day

The beast has a mighty searchlight of evil! #screenshotsaturday https://t.co/bzKepOojDL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Transferring from java to c++

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
3 replies to this topic

#1 vaironl   Members   

128
Like
0Likes
Like

Posted 07 December 2012 - 11:00 PM

Hello everyone,

I'm deciding to learn c++, more indepth than I do at the moment.

I have 2 OpenGL programming books in c++ and would definitely like to read them, though, I'm concussed on wether I should start with SDL and making normal windows applications. Any advise?

Thanks, for any help.

#2 Trienco   Members   

2555
Like
2Likes
Like

Posted 08 December 2012 - 12:26 AM

Neither is going to help you learn C++, especially since both are pure C APIs. You might be better off trying to use C++11 features or boost. While it's not a big difference, SFML might be a better choice than SDL in that regard as well.
f@dzhttp://festini.device-zero.de

#3 Cornstalks   Members   

7030
Like
1Likes
Like

Posted 08 December 2012 - 02:31 AM

In addition to what Trienco said (he's very right about the difficulty in learning C++ when using C libraries), C++ itself has no understanding of graphics or windows. I'd actually suggest you take a step back and work on a few console-only programs first with pure C++. Focus on learning C++. Then focus on learning different libraries and APIs. You'll find it quite difficult to learn how to use SDL or anything else if you don't yet understand the language you're using it in.
[ I was ninja'd 71 times before I stopped counting a long time ago ] [ f.k.a. MikeTacular ] [ My Blog ] [ SWFer: Gaplessly looped MP3s in your Flash games ]

#4 vaironl   Members   

128
Like
0Likes
Like

Posted 08 December 2012 - 11:03 AM

Neither is going to help you learn C++, especially since both are pure C APIs. You might be better off trying to use C++11 features or boost. While it's not a big difference, SFML might be a better choice than SDL in that regard as well.

In addition to what Trienco said (he's very right about the difficulty in learning C++ when using C libraries), C++ itself has no understanding of graphics or windows. I'd actually suggest you take a step back and work on a few console-only programs first with pure C++. Focus on learning C++. Then focus on learning different libraries and APIs. You'll find it quite difficult to learn how to use SDL or anything else if you don't yet understand the language you're using it in.


Thanks, to you both.
I actually have a book for learning c++ from the maker of c++ himself. I'll put that to good use as well.




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.