•
•
•
•
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
![]() |
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++.
•
•
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 10,694
Reputation:
Rep Power: 36
Solved Threads: 878
>>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).
: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.
•
•
Join Date: May 2006
Location: Bellevue, WA
Posts: 1,548
Reputation:
Rep Power: 8
Solved Threads: 51
•
•
•
•
Originally Posted by LieAfterLie
Okay, I've finished learning C++.
•
•
•
•
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.
•
•
•
•
What exactly is an API? What does it do, how is it different from other things? Does it just let you access hardware abilities?
•
•
•
•
I've heard of GUI programming, what is it (beyond what it stands for :rolleyes: )?
Last edited by Infarction : Sep 30th, 2006 at 3:09 pm.
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.
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
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.
•
•
Join Date: Oct 2004
Location: Mojave Desert
Posts: 2,425
Reputation:
Rep Power: 9
Solved Threads: 173
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
http://www.daniweb.com/code/snippet217.html
Last edited by vegaseat : Oct 1st, 2006 at 12:02 am.
May 'the Google' be with you!
•
•
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,889
Reputation:
Rep Power: 32
Solved Threads: 109
... at where?
Dani the Computer Science Gal
Do you run a computer-related website? Feature it in our niche link directory!
Do you run a computer-related website? Feature it in our niche link directory!
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."
"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."
![]() |
•
•
•
•
•
•
•
•
DaniWeb C++ Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Other Threads in the C++ Forum
- Previous Thread: 2 D array question
- Next Thread: Pause the Program



Linear Mode