#include <iostream.h>
#include <ctype.h>
#include <time.h>
int main()
{
int health, counter=0, choice, scorpian, terminator, katana, x, choice1, a, b;
{
cout<<"Welcome to Fight...
Type: Posts; User: ray
#include <iostream.h>
#include <ctype.h>
#include <time.h>
int main()
{
int health, counter=0, choice, scorpian, terminator, katana, x, choice1, a, b;
{
cout<<"Welcome to Fight...
ok what i have now is this:
#include <iostream.h>
#include <ctype.h>
#include <time.h>
struct FIGHTER
wow, is there another program i can do that is simpler than this that incorporates all of the above?
sorry my Question was unclear, but hw can i incorporate
For loops
Arrays
Structs
functions
?
i just started on this and have no idea how to incorporate them
thx in advance, all ideas...
i am a TOTAL n00b at C++, i dont think i know how to use for loops rite.
this is all i have so far:
#include <iostream.h>
#include <ctype.h>
#include <time.h>
int main()
whats the code to make certain parts of a program print out like the computer is typing it out?
We have 1 1/2 weeks to make up our own program in my intro to c++ class. We have to make a program that incorporates stuff we have learned throughout the semester. stuff such as :
For loops...
How would i "name" the cards in the array using a switch statement( such as King of Hearts, 4 of Spades etc.)? How would I actually show them the cards i dealt out, this is only my 3rd week of...
heres my program code so far:
#include <iostream.h>
#include <string.h>
#include <ctype.h>
#include <iomanip.h>
struct offPlayer
{
char Oname[20];
even when i do a simple program like:
#include <iostream.h>
int main ()
{
cout<<"hello"<<endl;
return 0;
heres the top of my code:
#include <iostream.h>
#include <string.h>
#include <ctype.h>
#include <iomanip.h>
when i try and compile, it says "#include expects 'FILENAME' or <FILENAME>"
all you fresh programmers i have something that will challenge you.
I will reveal the answer by tomarrow if you cant figure it out.ONLY FOR NEW PROGRAMMERS.
lets assume tat we dont have all the...
Wher can i find a free, good compiler along the lines of Code Warrior for my windows system and which one?