Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Visual c++

Author
Message
PAGAN_old
18
Years of Service
User Offline
Joined: 28th Jan 2006
Location: Capital of the Evil Empire
Posted: 20th Sep 2006 02:54
after a few friends persuaded me into trying c++ (a few other friends warned e against it)

i decided to give it a try. i worked with visual basic a little so i know about text boxes and labels and stuff.

i know i am being suisiadal with my lack of skills but, how can i start on something simple and fun to do. like simple 2d stuff, moving /altering a 2d image (if thats simple)

any good tutorials for this out there?

dont hate people who rip you off,cheat and get away with it, learn from them
PAGAN_old
18
Years of Service
User Offline
Joined: 28th Jan 2006
Location: Capital of the Evil Empire
Posted: 20th Sep 2006 03:12
i am looking at google right now

dont hate people who rip you off,cheat and get away with it, learn from them
jinzai
18
Years of Service
User Offline
Joined: 19th Aug 2006
Location: USA
Posted: 20th Sep 2006 03:40
WOW...you are a masochist, right? Nothing like learning two really complex things at once...you sound like me.

Seriously..."C++ Primer Plus" is a great book to learn from, or defend yourself with...plus...O'Reilly books are XLNT.
PAGAN_old
18
Years of Service
User Offline
Joined: 28th Jan 2006
Location: Capital of the Evil Empire
Posted: 20th Sep 2006 03:57
well, doing 2d stuff cant really be all that hard.

i just need to start off with something simple and fun and ill learn my way from there by doing it.making it more complex as i go along. thats how i learnd most things.

btw, some of the people in my programming class say that c++ can easily destroy your os or fry your computer if you dont know what you are doing. (but i dont think you are able do anything including frying a computer if you dont know what you are doing)

my other friends say you need to know the way c++ interacts with hardware and be a complete dumbass to do that.

he also told me the only way to do that is to have c++ screw with the hardware (which i shouldnt do)

dont hate people who rip you off,cheat and get away with it, learn from them
jinzai
18
Years of Service
User Offline
Joined: 19th Aug 2006
Location: USA
Posted: 20th Sep 2006 06:49 Edited at: 20th Sep 2006 07:05
some folks say cucumbers taste better pickled.

No...C++ does not "interact with hardware". In a Windows system...hardware access is restricted to the type of application, not the language it is written in. This is a misconception of people that do not have an in-depth knowledge of computers and computer languages.

You must be very diligent in setting up a project for direct access to hardware....you cannot really do it "accidentally". It is possible in 16 bit Windows....using C inp and outp access hardware directly. (So you know where the myth comes from.)

BTW, you can also damage your system with a hammer, if you misuse it.
Jeku
Moderator
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 20th Sep 2006 07:57 Edited at: 20th Sep 2006 07:57
Quote: "well, doing 2d stuff cant really be all that hard."


Um, 2D stuff is difficult to do if you don't know C++ at all

Giles Papworth
21
Years of Service
User Offline
Joined: 7th Feb 2003
Location: In my own little reality
Posted: 20th Sep 2006 10:32
You shouldn't just jump in at the deep end of c++. C++ is very different from visual basic. Start with simple stuff, learning the basics of the language and going from there.

I recommend some sort of C++ in 24 hours. Or even Beginning C++ Game Programming ISBN 1-59200-205-6. That book won't teach you 3d programming but just the basics of the language and how it can work for programming games.

Oh my god Space aliens! Don't eat me, i have a wife and kids, eat them!
jinzai
18
Years of Service
User Offline
Joined: 19th Aug 2006
Location: USA
Posted: 21st Sep 2006 02:28
The "Teach Yourself {x} in 24 Hours" was originally from Howard Sams Books out of Indianapolis. The titles threw me off at first, but I have used several of them. Sams books are great how-tos with useable examples. I have looked at the book mentioned...it looks like a good book.

I am not sure where the shallow end is...unless you use alot of C, but C++ is still pretty deep. Within the context of game programming...it would seem more natural, I would hope.
Venge
18
Years of Service
User Offline
Joined: 13th Sep 2006
Location: Iowa
Posted: 21st Sep 2006 05:44
yea man, lol ive just started 2d programming for c++...
here's the books i used (not saying you have to use these)

Teach Yourself C++ in 21 days (or 24 hours, but 21 days goes more in depth)

Beginning C++ Game Programming (a lot like 24 hour book, but more game-oriented)

Beginning Game Programming (the on i'm on now)

they have a good structure so its easy to learn step by step, but the one im reading now has a pretty steep learning curve (but i hear directx is steeper?)

learn the basics first lol, it takes a lot longer than dark basic.

joke of the day:
How do crazy people get through the forest?
They take the psychopath.
PAGAN_old
18
Years of Service
User Offline
Joined: 28th Jan 2006
Location: Capital of the Evil Empire
Posted: 22nd Sep 2006 06:02
well the reason i want to start off with games is because game programming is fun unlike a lot of other programming.

if i want to learn a language i want it t be fun otherwise i loose interest in programming.

but yes, i relly should learn a lot of basic stuff. i still have trouble understanding functions and variables, i am very confused with strings dont even know what booleans are (even though all of thi was explained to me multiple times)

but i really love dark basic programming. if i start doing it, i get addicted.

this year i started visual basic which is REALLY awsome. and its much easier to code but i am still not used to coding in VB.

When i think about the program i sometimes an visualise the code very well, but when i get to the coding part i am blanked out and dont know what to do.

But thanks for the book sugestions, ill check them out.

dont hate people who rip you off,cheat and get away with it, learn from them
jinzai
18
Years of Service
User Offline
Joined: 19th Aug 2006
Location: USA
Posted: 22nd Sep 2006 06:52
booleans are switches...on and off. like a light.

Visualization is a great technique for just about anything.

Yes, you are motivated, and that helps. I learned programming within the context of electronics, data aquisition, and astronomy. I only took trig in high school. That was 25 years ago, and how was I expected to learn trig with Kathy Henry sitting right in front of me?

Okay then, have at it!

Login to post a reply

Server time is: 2024-11-17 15:58:57
Your offset time is: 2024-11-17 15:58:57