No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
13 Posted Topics
here is a function to do this [code] //limi is the inferior limit of the range //lims is the superior limit of the range int random( int limi, int lims ) { return ( rand() % ( lims - limi ) ) + limi; } [/code]
no Does 1 + 1 equal 2 ? :D
Unhappy beaver's with their offspring [B]stopped[/B] spanking New Zealand polices and failed to annex Australia.
I 'm making a game in C++ and I need some help, I want to display a bmp image. I want to read a a bmp file and save the color ids in a matrix. Could you please help me. :)
I start a new thread about this. I need just a piece of code that reads a bmp file. I [B]NEED[/B] this. Every program i made used custom graphic files, and a very unpractical graphic editor made by me . It would be more comfortable to use paint to make …
i use an older compiler, borland c++ 3.1 and it doesn't have the bool variable type so i made my own bool type [code] enum bool { false = 0, true }; [/code] but always when i try to make comparisons or other thing i get the warning ASSIGNING INT …
can more variables have the same value in an enum ? eg. [code] enum boolean { true = 1, false = 0, TRUE = 1, FALSE = 0 }; [/code]
for each step display each pixel as a a square made out of pixels that grows with each step let me explain : R = red B = blue Y = yellow G = green step 0: RB YG step 1: RRBB RRBB YYGG YYGG (a pixel has become a …
u should try this: [code] cin.getline( toolName, 20, '\n' ) [/code]
The End.