C Board  

Go Back   C Board > General Programming Boards > Game Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 07-09-2005, 07:12 PM   #1
C++ and openGL
 
Raeliean's Avatar
 
Join Date: Jul 2005
Posts: 28
Should I learn a FULL language first?

I'm learning c++ and plan to do openGL. Would it hurt to learn openGL at the sametime as c++ or should I focus on c++ until I've learned it all then start with openGL?
__________________
Be inspired.
Raeliean is offline   Reply With Quote
Old 07-09-2005, 07:15 PM   #2
Super Moderator
 
Join Date: Sep 2001
Posts: 4,746
Learn most of C++. Certainly you need to have a good grasp on object-oriented programming, you need to familiar with all of the commonly used constructs, and a fair amount of experience under your belt so you can deal with debugging, etc... If you're asking questions about the purpose of pointers, my guess is that you probably shouldn't be learning third-party libraries or doing anything that would require OpenGL yet.
sean is offline   Reply With Quote
Old 07-09-2005, 10:29 PM   #3
Dae
Deprecated
 
Dae's Avatar
 
Join Date: Oct 2004
Location: Canada
Posts: 1,032
You should probably learn most of C++ first. See the list of topics on this C++ eBook: http://newdata.box.sk/bx/c/

Day 1 Getting Started
Day 2 The Parts of a C++ Program
Day 3 Variables and Constants
Day 4 Expressions and Statements
Day 5 Functions
Day 6 Basic Classes
Day 7 More Program Flow
Day 8 Pointers
Day 9 References
Day 10 Advanced Functions
Day 11 Arrays
Day 12 Inheritance
Day 13 Polymorphism
Day 14 Special Classes and Functions
Day 15 Advanced Inheritance
Day 16 Streams
Day 17 The Preprocessor
Day 18 Object-Oriented Analysis and Design
Day 19 Templates
Day 20 Exceptions and Error Handling
Day 21 Whats Next

on Day 21, whats next? openGL programming.
__________________
Warning: Have doubt in anything I post.

GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101
Dae is offline   Reply With Quote
Old 07-10-2005, 12:41 AM   #4
and the hat of Jobseeking
 
Salem's Avatar
 
Join Date: Aug 2001
Location: The edge of the known universe
Posts: 21,671
> See the list of topics on this C++ eBook:
Do you know for sure that that's a legitimate electronic copy of a copyrighted book?

Why recommend something dubious (and out of date) when there are better things which are both legit and current
http://www.mindview.net/Books/TICPP/...ngInCPP2e.html
__________________
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.

Salem is offline   Reply With Quote
Old 07-11-2005, 04:49 PM   #5
Registered User
 
Frobozz's Avatar
 
Join Date: Dec 2002
Posts: 546
I'm going to guess that the site is hosting the ebooks illegally. My assumption is based on the fact that the books are ones that are typically sold - the C++ book is a SAMS books for example. If you go up one directory, to http://newdata.box.sk/bx, you will notice three other books on the site. Two of them are from SAMS and the other I'm not really sure on.

Last edited by Frobozz; 07-11-2005 at 04:57 PM.
Frobozz is offline   Reply With Quote
Old 07-11-2005, 05:18 PM   #6
Dae
Deprecated
 
Dae's Avatar
 
Join Date: Oct 2004
Location: Canada
Posts: 1,032
I wasnt recommending the book, merely showing which topics should probably be learned before moving on to OpenGL.

The book got a nice review, being good for pure beginners but not much coverage on advanced topics. I'm not sure if that sites putting that ebook up there illegally, I just have the link because someone else posted it. Oh yeah and it isnt out of date, Ive read it.. the only outdated part is the author for some odd reason uses iostream with a .h

There are a few free ebooks though. Thinking in C++, C++ in Action, etc: http://www.freeprogrammingresources.com/cppbooks.html
__________________
Warning: Have doubt in anything I post.

GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101
Dae is offline   Reply With Quote
Old 07-11-2005, 07:01 PM   #7
Super Moderator
 
Join Date: Sep 2001
Posts: 4,746
Quote:
I wasnt recommending the book
Recommending or not, you'd still be posting illegal material. Please check on the legality of links you post - that Teach Yourself C++ in 21 Days book sounds awfully commercial.

Quote:
the author for some odd reason uses iostream with a .h
The "odd reason" you refer to is that the book was probably written for a standard other than the most recent one.
sean is offline   Reply With Quote
Old 07-16-2005, 01:58 PM   #8
x4000
 
Ruski's Avatar
 
Join Date: Jun 2002
Location: Outer Space!
Posts: 542
Quote:
Originally Posted by Raeliean
I'm learning c++ and plan to do openGL. Would it hurt to learn openGL at the sametime as c++ or should I focus on c++ until I've learned it all then start with openGL?
I don't think that it's possible to learn all C++ (but I maybe wrong)
__________________
what does signature stand for?
Ruski is offline   Reply With Quote
Old 07-16-2005, 06:59 PM   #9
Dae
Deprecated
 
Dae's Avatar
 
Join Date: Oct 2004
Location: Canada
Posts: 1,032
Quote:
Originally Posted by sean_mackrory
Recommending or not, you'd still be posting illegal material. Please check on the legality of links you post - that Teach Yourself C++ in 21 Days book sounds awfully commercial.



The "odd reason" you refer to is that the book was probably written for a standard other than the most recent one.
You're right. I looked the book up and its by Sams, published in 1998 (I believe the standard was removing the .h was in 1997? but I guess it took time to spread word). I wasnt worried if its commercial, there are a few companies/people that publish commercial books but also believe in sharing the information over the internet and put them on the book's site. It was hard to tell if it was legit or not, to a lot of people.. this link is highly rated and you'll find its recommended over tons of C++ boards, and therfor highly rated on google too. I did a "site:newdata.box.sk" search and you're right. Its an illegal ebook, and they also have tons of other ebooks and documents hosted on that site. It seems like the site is dead but the domain still exists, I read a few pages that were written by the actual site owner, 5 years ago, and its all a bunch of misc pages about phreaking, cracking, crashing computers, hacking, assembly, etc. :-/

Well.. mystery solved, though it wont help.. while searching I found more than 25 c++ boards listing the site being recommended by posters, and 5 sites with C++ links listing it, as well as other misc "free books" sites listing it. But I'll be going around and editting out my links.

The funny thing is that most of the people on the boards recommend that its a good book/first learned, etc. Yet on amazon.com its gotten the worst ratings.
__________________
Warning: Have doubt in anything I post.

GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101
Dae is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Which language to start with slats General Discussions 51 05-16-2008 06:32 AM
Language for text. virgoman57 C Programming 3 05-12-2008 02:31 AM
Wanting to learn a new programming language insutama C++ Programming 9 03-04-2008 03:38 AM
What language did they make Java in? jverkoey General Discussions 17 07-03-2005 04:18 PM
Strange loop D@rk_force C++ Programming 22 12-18-2004 02:40 PM


All times are GMT -6. The time now is 11:39 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22