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 / Woot, DX9 in C++

Author
Message
Image All
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: Home
Posted: 30th Jul 2006 18:03
Finally compiled my first C++ program to use DX9 It does what this could do:


Call me a noob




No. Realy. Call me a noob.



FunkyStickmen: Battle of the Races (1%)

Attachments

Login to view attachments
EddieB
20
Years of Service
User Offline
Joined: 29th Sep 2004
Location: United Kingdom
Posted: 30th Jul 2006 18:06
You have just complied the first example from the sdk...
Image All
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: Home
Posted: 30th Jul 2006 20:21
=.=

May I bring to attention the word "my" in the above post?
Besides, it wasn't from the SDK...it was from a book. And it's the 2nd example, mind you.

FunkyStickmen: Battle of the Races (1%)
Jeku
Moderator
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 30th Jul 2006 21:24
Sorry, but that's not C++ You must be mistaken....


"I understand creative people. After all, I worked with towel designers." - Ray Kassar, former head of Atari
Image All
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: Home
Posted: 30th Jul 2006 22:34 Edited at: 30th Jul 2006 22:38
If you're reffering to the little code snippet, I said "It (reffering to my C++ program) does what this can do:"

The real code is right here

made in MSVC++ 2005 Express edition

But this is more updated cuz it's now in full skreen ^

BTW the code looks almost exactly like in the book cause I just typed what it told me to I think I'll understand the datatypes more after I get farther through the book...or atleast memorize the functions and their parameters well o.O
/me should learn windoze programming after teh skinny book is done

FunkyStickmen: Battle of the Races (1%)
Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 30th Jul 2006 23:51 Edited at: 30th Jul 2006 23:52
Thats one of the things I dont like about C++, the entire page of code to do basically nothing.

One of the things I DO like about C++ is it makes the complicated stuff pretty easy.

EDIT: Or should I say EASIER...

[center]
Jeku
Moderator
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 31st Jul 2006 01:10
@Nicholas - How is that a slam for C++? Obviously an experienced programmer would have these in a library and call it up with a single command. You don't need to always type up hundreds of commands for little things


"I understand creative people. After all, I worked with towel designers." - Ray Kassar, former head of Atari
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 31st Jul 2006 10:49
Quote: "Thats one of the things I dont like about C++, the entire page of code to do basically nothing."

So exactly what language do you like? Oh I bet you like something like Java for its lightning speed.

Tempest - P2P UDP Multiplayer Plugin (DBP/DBCe) - 71%
Download the free version
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 31st Jul 2006 17:11
Benny, don't turn this into a shit-fight, please.

Image,
Good work on learning C++ and DX - at least by doing this you're showing a positive step forward to a job in the industry (if that is what you want to do!).

Nick,
Yeah, Jeku's right... Once you start fully utilizing classes and what-not, your library builds quite fast!

Nintendo DS & Dominos :: DS Dominos
http://jt0.org
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 1st Aug 2006 10:34 Edited at: 1st Aug 2006 10:34
Quote: "Benny, don't turn this into a *hit-fight, please."

I beg your pardon?

Tempest - P2P UDP Multiplayer Plugin (DBP/DBCe) - 71%
Download the free version
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 2nd Aug 2006 06:40
Quote: "Thats one of the things I dont like about C++, the entire page of code to do basically nothing."

O rly? Here's what I do with an entire page of C++ code:

^_^

ionstream
20
Years of Service
User Offline
Joined: 4th Jul 2004
Location: Overweb
Posted: 2nd Aug 2006 06:53
Yes, but you also coded the library which is much more than a page.

Jeku
Moderator
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 2nd Aug 2006 08:57
Well that's the same as DBP--- you're just using Lee's DX libraries, aren't you?


"I understand creative people. After all, I worked with towel designers." - Ray Kassar, former head of Atari
BiggAdd
Retired Moderator
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: != null
Posted: 2nd Aug 2006 09:33 Edited at: 2nd Aug 2006 09:33
Quote: "Astounding! Amazing! Riveting! You could totally sell this and make hella bank."


If he was Jordon Stories Games he would flog it for £10,000.

(For people who dont know who he is... he is a person who tries to sell Print Commands)

Redmotion
21
Years of Service
User Offline
Joined: 16th Jan 2003
Location: Mmm mmm.. Marmite
Posted: 2nd Aug 2006 12:05
There is no doubt that C++ is a real pain to get going with.

Quote: "Obviously an experienced programmer would have these in a library and call it up with a single command. You don't need to always type up hundreds of commands for little things"


Totally true, but ultimately tedious and long winded. That could be why people like DBPro - all THAT's been done for you!

BLACKMESA:SOURCE - mod for HL2 - Texture Artist
BIRTHSTAR:FRONTLINE - Texture & Environment Artist
Jeku
Moderator
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 2nd Aug 2006 21:29
Quote: "That could be why people like DBPro - all THAT's been done for you!"


DBP is exactly the same thing! It's libraries built on top of C++ that you call with BASIC commands.


"I understand creative people. After all, I worked with towel designers." - Ray Kassar, former head of Atari

Login to post a reply

Server time is: 2024-11-17 10:56:12
Your offset time is: 2024-11-17 10:56:12