No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
i tried the following coding .it compiled without errors but gave absurd results during runtime. can u pls help me with it? [code=cplusplus] #include<iostream.h> #include<stdlib.h> int main() { int i; cout<<"ten random numbers for the range 0 to 50"<<endl; for(i=0;i<10;i++) { cout<<rand()<<endl; return 0; } }[/code] |
|
Re:
Ok everyone the object of this game is to simply - answer the post above without saying "yes", "no", or "sometimes" or any variation of them. For example: Do you like rock music? Wrong Answer: "yes or yep, yeah, etc. Correct Answer: "I love rock music, i think it is … |
|
Re:
the idea of the game, as the name implies, is for the first reply to change one letter of the word creating a new word. the next reply should then change one letter of the new word creating another new word and so on. the purpose is to see how … |
|
Re:
Ok this is a game I juast thought of and don't know if its been done before or if it will work well but bare with me. Ok I start by stating a sentence. The next person will change [B]one[/B] word and repost the sentence. The new sentence has to … |
|
Re:
ask a question that is answerable by yes/no, then the next poster will then ask another question. Are you sleepy right now?:?: |
|
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. :) |
|
Re:
okay here is how you play.... example--- i say "cat or dog" then you reply with "dog smile or grin" get it?:p |
|
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] |
|
Re:
If you were creating a graphic design drawing program for creating small images like 32x32 pixels but the windows was like 600x400. How would you create it so it could have more of a zoomed in vision of the 32x32 image so you could draw on it pixel by pixel … |
|
Re:
I am having 2 main issues with this function: 1) For some reason my while loop is working but not correctly. If the user enters 0 rather than the while loop terminating and proceeding to the next line of code in the main function, the program begins to repeat infinite … |