User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 401,953 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,266 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Views: 2246 | Replies: 13
Reply
Join Date: May 2006
Location: USA
Posts: 38
Reputation: LieAfterLie is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
LieAfterLie's Avatar
LieAfterLie LieAfterLie is offline Offline
Light Poster

Question Got the C++, what now?

  #1  
Sep 30th, 2006
Okay, Iv'e finished learning C++. What can I do with it? Specifically, I want to do some graphics stuff, anything beyond iostream and fstream. What comes after C++? I know it does more than this. If I could just have a function to set a pixel, I could make my own functions for lines and circles and even 3d and whatever else. I've heard of OpenGL and Direct3D, and I know they're API's. What exactly is an API? What does it do, how is it different from other things? Does it just let you access hardware abilities? For now, I just want the simplest, most basic, easy-to-use method for outputting a pixel. I've heard of GUI programming, what is it (beyond what it stands for :rolleyes: ) ? And if I were to learn an API or different, complicated graphics thingy, what's the difference between them? I know D3D is for Windows and OpenGL is portable and entirely high-level, i've read some articles and stuff trying to find something fun to do with C++, but nothing is very specific. Any information would be helpful, I would like to know every practical option available. I use Windows XP and Dev-C++.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 10,694
Reputation: Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of 
Rep Power: 36
Solved Threads: 878
Moderator
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is online now Online
Most Valuable Poster

Re: Got the C++, what now?

  #2  
Sep 30th, 2006
>>Okay, Iv'e finished learning C++.

:cheesy: :cheesy: :cheesy: :cheesy: :cheesy: :cheesy: you will NEVER be finished learning c++. That is a life-long task.

If you want to learn MS-Windows GUI programming here is a good introduction. Its c instead of c++ but then so is all the win32 api functions (not one of them are c++ because they can be called from many different programming languages).
Last edited by Ancient Dragon : Sep 30th, 2006 at 3:08 pm.
Reply With Quote  
Join Date: May 2006
Location: Bellevue, WA
Posts: 1,548
Reputation: Infarction has a spectacular aura about Infarction has a spectacular aura about Infarction has a spectacular aura about 
Rep Power: 8
Solved Threads: 51
Sponsor
Infarction's Avatar
Infarction Infarction is offline Offline
Battle Programmer

Re: Got the C++, what now?

  #3  
Sep 30th, 2006
Originally Posted by LieAfterLie
Okay, I've finished learning C++.
HAHAHA:lol:
Originally Posted by LieAfterLie
What can I do with it? Specifically, I want to do some graphics stuff, anything beyond iostream and fstream. What comes after C++? I know it does more than this.
Come up with a project. Once you know what you want to write, either start writing a library for it (if one is needed), or find a library someone else has written and use that.
What exactly is an API? What does it do, how is it different from other things? Does it just let you access hardware abilities?
An API is an interface for (typically) a library. It provides certain functions for you to use, and then it does the nitty-gritty behind the scenes. You don't need to know how the nitty-gritty gets done, and the API won't tell you. It'll just do it.

I've heard of GUI programming, what is it (beyond what it stands for :rolleyes: )?
It's just like it sounds, making graphical user interfaces for your programs.
Last edited by Infarction : Sep 30th, 2006 at 3:09 pm.
Reply With Quote  
Join Date: May 2006
Location: USA
Posts: 38
Reputation: LieAfterLie is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
LieAfterLie's Avatar
LieAfterLie LieAfterLie is offline Offline
Light Poster

Re: Got the C++, what now?

  #4  
Sep 30th, 2006
Yay, Wikipedia! Oddly enough, I never tried API in Wikipedia, although I've put almost everything else i could think of in it. And also oddly enough, I have that exact link already in favorites waiting for me to wade through it. (Dragon's tutorial, that is.) I know you never really finish learning C++, I just meant like I finished learning the basic language and enough to understand most of the concepts and techniques, even if not the applications, tricks, uses of the individual techniques and infinite things it can do. This coming from one who just previously knew almost nothing of programming beyond idle BASIC-like programs made on my school-issued TI calculator during, yes, school. I want to know everything I can learn to do right now (that can be integrated and used with C++, as it's my current and only base to work from), and more advice from the awesome people in DaniWeb. Is the Win32 API where I should start now? Anything else I should/might be interested in at this early stage?
Last edited by LieAfterLie : Sep 30th, 2006 at 4:20 pm.
Reply With Quote  
Join Date: Oct 2005
Posts: 20
Reputation: ToySoldier is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
ToySoldier's Avatar
ToySoldier ToySoldier is offline Offline
Newbie Poster

Re: Got the C++, what now?

  #5  
Sep 30th, 2006
I dont know how good the book is...I'm sure you can read reviews on Amazon.com but maybe this is a good start?

Beginning Game Programming
Price: $23.09

Book description from publisher's homepage:

If you are hooked on video games and have a basic knowledge of C++ and visual programming, you will be hooked on Beginning Game Programming. Clear, practical lessons based on C++ programming are the basis of this book's lessons. By focusing on the Windows API to construct games, you will learn game theory in double-buffered graphics, sprite animation, digitized sound effects and music. A fully functional game engine provided on CD, along with tools, code and graphics, will give you the ability to create your own games in the future. Learn the art and science of game programming with help from Beginning Game Programming.

I found another link that answers what your asking as well:
http://www.toymaker.info/Games/html/beginners.html
Last edited by ToySoldier : Sep 30th, 2006 at 10:41 pm.
Reply With Quote  
Join Date: Oct 2004
Location: Mojave Desert
Posts: 2,425
Reputation: vegaseat will become famous soon enough vegaseat will become famous soon enough 
Rep Power: 9
Solved Threads: 173
Moderator
vegaseat's Avatar
vegaseat vegaseat is offline Offline
Kickbutt Moderator

Re: Got the C++, what now?

  #6  
Sep 30th, 2006
Hidden in the DaniWeb C++ code snippets is an example of using WinAPI SetPixel() that allows you to put a pixel at the specified x,y coordinates, and also uses the color you give it. The example shows a sine wave, but as long as your mathematics holds out, you can draw a large wealth of things. Take a look at the snippet at:
http://www.daniweb.com/code/snippet217.html
Last edited by vegaseat : Oct 1st, 2006 at 12:02 am.
May 'the Google' be with you!
Reply With Quote  
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,889
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 32
Solved Threads: 109
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re: Got the C++, what now?

  #7  
Sep 30th, 2006
... at where?
Reply With Quote  
Join Date: May 2006
Location: USA
Posts: 38
Reputation: LieAfterLie is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
LieAfterLie's Avatar
LieAfterLie LieAfterLie is offline Offline
Light Poster

Re: Got the C++, what now?

  #8  
Oct 1st, 2006
Wow thanks awesomeness. Visited by the almighty cscgal too. And WinAPI is the same as the Win32 API right?
Last edited by LieAfterLie : Oct 1st, 2006 at 4:53 pm.
Reply With Quote  
Join Date: Jun 2006
Location: India
Posts: 6,811
Reputation: ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold 
Rep Power: 23
Solved Threads: 339
Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Rebellion Revamped

Re: Got the C++, what now?

  #9  
Oct 1st, 2006
Yes if your OS is 32 bit windows OS and if it is 64 bit OS then just call it Win64 API
"I don't accept change. I don't deserve to live."

"Working a real job is a win if you're lazy, greedy, or unmotivated. If you're average, you fit right in. And if you're above average, the basic terms of employment and premise of the arrangement is against your interests."
Reply With Quote  
Join Date: May 2006
Location: USA
Posts: 38
Reputation: LieAfterLie is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
LieAfterLie's Avatar
LieAfterLie LieAfterLie is offline Offline
Light Poster

Re: Got the C++, what now?

  #10  
Oct 1st, 2006
How would i specify a Win32 project in Dev-C++? All that's listed is console, windows app, static library (.a), DLL and empty project.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb C++ Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Other Threads in the C++ Forum

All times are GMT -4. The time now is 5:40 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC