Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 02-08-2005, 09:41 PM   #1 (permalink)
FlameLover
Registered User
 
Join Date: Feb 2005
Posts: 3
FlameLover is on a distinguished road
Question I'm new to C/C++ and need help

I understand the basics OK, what I really need to know is, how do you draw graphics onto the screen, and how do you play sounds through the speakers? I have looked and looked, but I just don't get it...
FlameLover is offline   Reply With Quote
Old 02-09-2005, 09:01 PM   #2 (permalink)
Rotkiv
Code Monkey
 
Rotkiv's Avatar
 
Join Date: Apr 2004
Location: Silicon Valley, CA
Posts: 59
Rotkiv is on a distinguished road
Send a message via AIM to Rotkiv Send a message via MSN to Rotkiv
first what you should do is learn standard c++; syntax, standard functions and stuff, and then, you can go and look up openGL (open Graphics Library), openAL (open Audio Library), and DirectX (consists of direct3d, direct Input, and direct sound/audio whatever). those will alow you to do the stuff you want, but they'll be worthless without understanding standard c++ fairly well.
Rotkiv is offline   Reply With Quote
Old 02-09-2005, 09:09 PM   #3 (permalink)
FlameLover
Registered User
 
Join Date: Feb 2005
Posts: 3
FlameLover is on a distinguished road
The only thing in C I don't fully understand is pointers (although I know you can pass them to functions to edit variables out-side there scope) I am learning to use DarkBasic currently, and from their I'll pick up the DarkBasic SDK, so I have to power of DarkBasic and the power of C/C++ all in one. Thanks though, because I still need to get the basics down I guess.

EDIT

Btw, what compiler do you use? Mine seems rubbish... I doesn't compile anything given in tutorials etc.
FlameLover is offline   Reply With Quote
Old 02-09-2005, 09:42 PM   #4 (permalink)
fp_unit
mike
 
Join Date: Jan 2005
Location: Ottawa, ON
Posts: 79
fp_unit is on a distinguished road
I use g++ (or gcc for C code) in linux, or Visual C++ 6.0 Introductory Edition on Windows to compile. I dont write much (any) C.

BTW I tried OpenGL before I really knew programming and it was a waste of time. Your better mastering C OR C++ first (dont try to master both at once) before moving on to API's. Just my $0.02
fp_unit is offline   Reply With Quote
Old 02-09-2005, 09:47 PM   #5 (permalink)
FlameLover
Registered User
 
Join Date: Feb 2005
Posts: 3
FlameLover is on a distinguished road
I'll try. Just It's hard trying to learn C, because making DOS programs is uninspiring for me. But I am learning the language, and hope to by the end of the year make something worth presenting. Thanks for your help.
FlameLover is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 07:35 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting