Showing results 1 to 22 of 22
Search took 0.01 seconds.
Posts Made By: NickyU
Forum: C++ Aug 6th, 2008
Replies: 3
Views: 443
Posted By NickyU
Re: BMP reading

the article about the .bmp file format was useful enough. Thanks!
Forum: C++ Aug 6th, 2008
Replies: 18
Views: 744
Posted By NickyU
Re: enum warnings

it is some work to write (bool) in front, but al least no errors :)
Forum: C++ Aug 5th, 2008
Replies: 18
Views: 744
Posted By NickyU
Re: enum warnings

i cant type cast with this compiler
Forum: C++ Aug 5th, 2008
Replies: 3
Views: 443
Posted By NickyU
BMP reading

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
Views: 744
Posted By NickyU
Re: enum warnings

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
Views: 744
Posted By NickyU
Re: enum warnings

you didn't understand, i said that i made my custom bool type
Forum: C++ Aug 4th, 2008
Replies: 18
Views: 744
Posted By NickyU
enum warnings

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 comparisons or...
Forum: C++ Aug 3rd, 2008
Replies: 15
Views: 2,697
Posted By NickyU
Re: program to generate random numbers for a given range

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 ) ) + limi;
}
Forum: C++ Aug 3rd, 2008
Replies: 1
Views: 253
Posted By NickyU
enum question

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: 378
Posted By NickyU
Re: graphic design program

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: 49
Views: 2,221
Posted By NickyU
Re: The Forbidden: 'yes', 'no' & 'sometimes' game

i also know to prove that 1 = 2. it's true
Forum: Posting Games Jul 28th, 2008
Replies: 1,240
Views: 53,006
Posted By NickyU
Re: Yes or No

Yes

Did you ever punch your PC ?
Forum: Posting Games Jul 28th, 2008
Replies: 3,185
Views: 189,144
Posted By NickyU
Re: 3 word story

three word game
Forum: Posting Games Jul 28th, 2008
Replies: 49
Views: 2,221
Posted By NickyU
Forum: C++ Jul 28th, 2008
Replies: 8
Views: 1,097
Posted By NickyU
Re: BMP C++

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: 290
Views: 14,679
Posted By NickyU
Forum: Posting Games Jul 28th, 2008
Replies: 276
Views: 23,384
Posted By NickyU
Re: the "or" game

Sony Ericsson

sports car or motorcycle
Forum: Posting Games Jul 28th, 2008
Replies: 2,038
Views: 109,829
Posted By NickyU
Re: Word Change Game

Unhappy beaver's with their offspring stopped spanking New Zealand polices and failed to annex Australia.
Forum: C++ Jul 28th, 2008
Replies: 8
Views: 1,097
Posted By NickyU
Re: BMP C++

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: 434
Posted By NickyU
Re: while loop and getline

u should try this:

cin.getline( toolName, 20, '\n' )
Forum: C++ Jul 28th, 2008
Replies: 8
Views: 1,097
Posted By NickyU
Re: BMP C++

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: 8
Views: 1,097
Posted By NickyU
BMP C++

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

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 3:50 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC