Message Board


Message Board > C/C++ > Soooooooo....

November 7, 2005, 00:38
Frimkron
Frustrated Megalomaniac
703 posts

Just wondering what everyones' experiences with C++ are... generally.
____________
#
November 7, 2005, 10:46
PEader
お前はもう死んでいる
1486 posts

I'm awesome with it. I'm not too strong on the STL but in general I'm fully down with its polymorphistic multiple inheritance jingoism! So my experiences are good it has never treated me badly. I'm better at C, but that is because I'm elite.
____________
I see 57,005 people.
#
November 7, 2005, 15:02
Rincewind
programmer
1545 posts

I'm weak with it. I can do some basic stuff but never moved on. Not that I need to - fenix suits me fine for game programming, I only started to use C++ in the first place because I needed speeeeed for some calculations (unrelated to game development). Oh yeah and I've used it for fenix dll's.
____________
Personal website: http://www.loijson.com
#
November 7, 2005, 15:30
Frimkron
Frustrated Megalomaniac
703 posts

I'm told Allegro is where its at for 2D games. Has anyone tried using Direct3D for 2D like people keep raving about (because they're being paid by microsoft) ?
____________
#
November 7, 2005, 16:03
DTM
Earthling!
821 posts

C++ makes me happy.
____________
:o
#
November 7, 2005, 16:48
Sandman
F3n!x0r
1194 posts

I'm using it for Fenix DLL's and I used to follow some tutorials. I like C/C++.
____________
BennuWiki
Yes, my avatar has grey borders in IE (so get a decent browser)
ROOFLEZ ROOFLEZ
#
November 7, 2005, 17:02
PEader
お前はもう死んでいる
1486 posts

Quoting Frimkron:
I'm told Allegro is where its at for 2D games. Has anyone tried using Direct3D for 2D like people keep raving about (because they're being paid by microsoft) ?

If you've got VC++ or #NEt then there is no harm in using DirectX. I never had the chance to try out DirectX but I guess it's just a bit more bloated then allegro the same way Win32 API is bloated.
____________
I see 57,005 people.
#
November 7, 2005, 19:49
Deadmaster
Where is Johnny?
458 posts
I've only ever used pure C++ - malloc, structs, input/output, arrays and file management. It was fun to go through the tutorial, but I don't know it off by heart. While on the topic - what's good for a first API? :p
____________
My site still needs updating and redesigning. My last.fm page.

GO TO TEXTUAL ANARCHY II YOU FISHDOG YOU
#
November 7, 2005, 22:50
PEader
お前はもう死んでいる
1486 posts

Quoting Deadmaster:
I've only ever used pure C++ - malloc, structs, input/output, arrays and file management. It was fun to go through the tutorial, but I don't know it off by heart. While on the topic - what's good for a first API? :p

malloc and structs aren't C++ you fucking newbie. Don't step up to my skillorz you can't ha><orz it.
____________
I see 57,005 people.
#
November 8, 2005, 02:43
Fiona
games are terrible
-9616558 posts

Hehe. And yes Allegro is the shit.

That's good by the way.
____________
laffo
#
November 9, 2005, 21:43
Eckolin
Quite Whiskered
388 posts

Malloc and struct are C,
new is c++;
____________
Maker of Games...
Wisdom is supreme; therefore get wisdom.
Need help with coding? I probably wrote something similar.
#
November 9, 2005, 23:48
PEader
お前はもう死んでいる
1486 posts

Quoting Eckolin:
Malloc and struct are C,
new is c++;

Someone is going to pwn you one day.
____________
I see 57,005 people.
#
November 10, 2005, 11:47
Eckolin
Quite Whiskered
388 posts

Happens all the time...
____________
Maker of Games...
Wisdom is supreme; therefore get wisdom.
Need help with coding? I probably wrote something similar.
#
November 10, 2005, 12:05
PEader
お前はもう死んでいる
1486 posts

IS Frimkron going to tell us his experiences with C++?
____________
I see 57,005 people.
#
November 10, 2005, 13:03
PB
Defender of the faith
630 posts

I've written some group projects in C++, but it's a while ago, so I'll need to get back in to it now...
____________
#
November 10, 2005, 13:40
Rincewind
programmer
1545 posts

Quoting Eckolin:
Happens all the time...

Let's take for example yesterday when he was owned by giant ants. :P
____________
Personal website: http://www.loijson.com
#
November 11, 2005, 21:12
Eckolin
Quite Whiskered
388 posts

Those are tough ants!

Against all odds, I've finished that campaign now :)

[Edited on November 11, 2005 by Eckolin]
____________
Maker of Games...
Wisdom is supreme; therefore get wisdom.
Need help with coding? I probably wrote something similar.
#
November 11, 2005, 22:41
Frimkron
Frustrated Megalomaniac
703 posts

Quoting PEader:
IS Frimkron going to tell us his experiences with C++?


Well so far, I've tried putting a game function library together - with graphics sound and input using DirectX - but the book I was learning from was out of date when I got it, really. It was using DirectDraw in 8bit colour mode. I wasn't all that impressed with the speed of the sprite scaling and rotation (probably spoilt by DIV), and I was a bit rubbish at writing classes properly.

So then I got a different book and started again from scratch, this time using DirectX 8 which was the latest at the time. Directdraw doesn't exist any more in dx8, and although its still backwards compatible I was attracted by the amazing hardware-accellerated drawing speed I was promised using the Direct3D pipeline to draw 2D graphics. So I put together a slightly better function library. The thing with using Direct3d for 2D though, is that all your graphics are now textures - which have to be 2^n in size. And some graphics cards dont support textures over 512x512. Some don't even support rectangular textures. So how would you do a scrolling background? DirectX8 has surfaces - but they can't be scaled, rotated, blended, colour keyed or anything. Alright for splash screens I suppose but not much else.

I guess the answer there is to combine D3D and DirectDraw. I might get round to trying that some time. Or I might try Allegro which sounds easy ;)
____________
#
January 20, 2006, 00:19
Stuckie
Code Munkee
21 posts
Allegro is good.. used that for my C coursework last year :)

SDL is pretty nice too, and ports to more things if that's what you're after, though some of the plugin libraries are a bit mangled at times (least, I had trouble sometimes with SDL_TTF and some other things)

Never used DirectX so can't comment on it.. OpenGL is nice though and if you combine it with SDL, you basically have the equivilent of DirectX, but not as bloated, and not tied to Microfart's systems.
____________
#
February 10, 2006, 18:49
Deadmaster
Where is Johnny?
458 posts
Thanks for that, PEader. I hope you get cancer. I was of course reffering to C, as you could have guessed, as my C++ compiler comes with a C ebook.

(and if they aren't C, then I don't know what the fuck they are, because they compiled fine with the C++ compiler I was using.)

[Edited on February 11, 2006 by Deadmaster]
____________
My site still needs updating and redesigning. My last.fm page.

GO TO TEXTUAL ANARCHY II YOU FISHDOG YOU
#
February 10, 2006, 18:59
Frimkron
Frustrated Megalomaniac
703 posts

Actually I would have thought all the C syntax would be described as a subset of the C++ syntax anyway =/
____________
#
February 10, 2006, 20:09
PEader
お前はもう死んでいる
1486 posts

Quoting Frimkron:
Actually I would have thought all the C syntax would be described as a subset of the C++ syntax anyway =/

The syntax would but the functions are C not C++ n'est pas?
____________
I see 57,005 people.
#
February 10, 2006, 22:03
Eckolin
Quite Whiskered
388 posts

My latest experience with C++ would be someone asking me to help them with their code, but instead of mailing the .cpp:
- Printed the source.
- Took the pages home.
- Typed it over in a word document.
and then sent the .doc instead.

Thus I discovered that dev-cpp is not quite lenient towards 'intelligently' added capitals.
____________
Maker of Games...
Wisdom is supreme; therefore get wisdom.
Need help with coding? I probably wrote something similar.
#

Message Board > C/C++ > Soooooooo....

Quick reply


You must log in or register to post.
Copyright © 2005 Booleansoup.com
Questions? Comments? Bug reports? Contact us!