![]() |
Re: Show off your finest piece of code!
Quote:
Its 10MB (zipped), but it contains all you need: Source, gfx, grabber utility, etc. CS2d\CS2d contains the source CS2d\<dir> contains what it should contain (look at the name) ow, and if you look at the source, you will laugh your ass off, seriously. http://realbot.bots-united.com/files/CS2D.ZIP (its up) |
Re: Show off your finest piece of code!
hey , dude that link's broken ...
AH and yes , would you mind if I use the code ? OF course credit will be given |
Re: Show off your finest piece of code!
fixed the link.
sure, no problem (else i would'nt have put it here anyways). |
Re: Show off your finest piece of code!
here`s my 2cents a nice little cpp doubly linked list class
Code:
CLinkedList *pLL = NULL; |
Re: Show off your finest piece of code!
hm, somehow you missed something in your c++ course ;)
remove that pLL variable ... in the methods of that class ( that are the fucntions of a class ) you can access its variables directly. your solution works fine for one instance of that class, but you'll get into trouble once you wanna have more of them PS: deleting isnt permitted in this forums :) just edit it if you like to |
Re: Show off your finest piece of code!
thanks for that aspirin;), i will upload a fixed version at about 10pm GMT
going out now. p.s what names do you guys play cs under mines -=[AK]=- Dubb because i might have been playing with you yesterday. p.p.s could one of the moderators delete the previous code thread. |
Re: Show off your finest piece of code!
I would say my vector class is good, but I am not sure whether it works properly with pointers, so I'll only post part of it.
Code:
class vector3 |
Re: Show off your finest piece of code!
ah and yes stefan , do I need to do extra stuff with Allegro or just install it ?
|
Re: Show off your finest piece of code!
Allegro is a library, you can just compile it and copy it into your MSVC folder
|
Re: Show off your finest piece of code!
I get the Windows Binary version and I do the manual installation then I think its alright since I have copied many lib files into the "LIB" directory :)
|
All times are GMT +2. The time now is 04:33. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.