Search Results

Showing results 1 to 22 of 22
Search took 0.01 seconds.
Search: Posts Made By: NickyU
Forum: C++ Aug 6th, 2008
Replies: 3
Views: 801
Posted By NickyU
the article about the .bmp file format was useful enough. Thanks!
Forum: C++ Aug 6th, 2008
Replies: 18
Solved: enum warnings
Views: 1,583
Posted By NickyU
it is some work to write (bool) in front, but al least no errors :)
Forum: C++ Aug 5th, 2008
Replies: 18
Solved: enum warnings
Views: 1,583
Posted By NickyU
i cant type cast with this compiler
Forum: C++ Aug 5th, 2008
Replies: 3
Views: 801
Posted By NickyU
I start a new thread about this. I need just a piece of code that reads a bmp file. I NEED this. Every program i made used custom graphic files, and a very unpractical graphic editor made by me ....
Forum: C++ Aug 5th, 2008
Replies: 18
Solved: enum warnings
Views: 1,583
Posted By NickyU
i tried just to make my code writing more efficient, i also used dev c++ a lot so i got used with bool

i understand that my compiler returns this:( x || y ) as an int type, so it automatically ...
Forum: C++ Aug 5th, 2008
Replies: 18
Solved: enum warnings
Views: 1,583
Posted By NickyU
you didn't understand, i said that i made my custom bool type
Forum: C++ Aug 4th, 2008
Replies: 18
Solved: enum warnings
Views: 1,583
Posted By NickyU
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


enum bool
{
false = 0, true
};


but always when i try to make...
Forum: C++ Aug 3rd, 2008
Replies: 15
Views: 6,432
Posted By NickyU
here is a function to do this


//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 ) ) +...
Forum: C++ Aug 3rd, 2008
Replies: 1
Solved: enum question
Views: 521
Posted By NickyU
can more variables have the same value in an enum ?

eg.



enum boolean
{
true = 1, false = 0, TRUE = 1, FALSE = 0
};
Forum: C++ Jul 29th, 2008
Replies: 8
Views: 754
Posted By NickyU
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:
Forum: Posting Games Jul 29th, 2008
Replies: 164
Views: 16,430
Posted By NickyU
i also know to prove that 1 = 2. it's true
Forum: Posting Games Jul 28th, 2008
Replies: 1,429
Views: 114,105
Posted By NickyU
Yes

Did you ever punch your PC ?
Forum: Posting Games Jul 28th, 2008
Replies: 3,185
Views: 251,966
Posted By NickyU
three word game
Forum: Posting Games Jul 28th, 2008
Replies: 164
Views: 16,430
Posted By NickyU
Forum: C++ Jul 28th, 2008
Replies: 10
Views: 3,254
Posted By NickyU
is this thread helpful ? http://www.daniweb.com/forums/thread17496.html
i tried this one


all i got were negative values.
could it work ?
Forum: Posting Games Jul 28th, 2008
Replies: 325
Views: 37,021
Posted By NickyU
Forum: Posting Games Jul 28th, 2008
Replies: 301
Views: 35,707
Posted By NickyU
Sony Ericsson

sports car or motorcycle
Forum: Posting Games Jul 28th, 2008
Replies: 2,038
Views: 145,532
Posted By NickyU
Unhappy beaver's with their offspring stopped spanking New Zealand polices and failed to annex Australia.
Forum: C++ Jul 28th, 2008
Replies: 10
Views: 3,254
Posted By NickyU
I have to mention that i use Borland 3.1 :D, it's quite old, but i use it very much, it supports pascal-like graphics. I also use Dev C++. I make the game in Borland 3.1. i would like a code for...
Forum: C++ Jul 28th, 2008
Replies: 7
Views: 823
Posted By NickyU
u should try this:

cin.getline( toolName, 20, '\n' )
Forum: C++ Jul 28th, 2008
Replies: 10
Views: 3,254
Posted By NickyU
I kinda want to do it my self , no DirectX. I want some help like a piece of code to explain, something more explicit than the Wikipedia article.
Forum: C++ Jul 27th, 2008
Replies: 10
Views: 3,254
Posted By NickyU
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. :)
Showing results 1 to 22 of 22

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC