- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 5
- Posts with Downvotes
- 4
- Downvoting Members
- 4
8 Posted Topics
this game is between a player and computer can you make it between two player please ? | |
[CODE]#include <ctime> #include <cstdlib> bool winner = false; winner = true; srand((unsigned)time(NULL)); comp_choice = rand() % 3; system ("PAUSE"); return 0; } [/CODE] How to transform this idea or this codes to simple codes in IOSTREAM Library | |
can anyone explain to me : what is counter++ and ++counter and the different between them ? and static_cast <type_id> (expression) and setiosflags ( ios::fixed | ios::showpoint Thanks | |
can anyone explain why the output of this code is 110 ? [CODE]// Assignment 1-Body Mass Index Calculator #include <iostream> //allows program to output data to the screen using namespace std; //function main begins program execution int main() { int total=0; for (int number =2;number<=20;number+=2) total +=number; cout<<"Sum Is"<<total<<endl; return … | |
how to transform from double to int (rounded) ? by using basic stuff ? | |
how can i make table like this : For example: Fadi recommendattion ----- ---------------- 1212 you must at least gain :1kg if fadi>1212 you must at least gain 1 kg how to make a table like that in c++ and i want to put the result of if in recommendation … |
The End.