View Single Post
Old 30-04-2005, 11:31 PM   #37
Ioncannon
Abandonia Homie

 
Join Date: Mar 2004
Location: Mississauga, Canada
Posts: 558
Send a message via MSN to Ioncannon
Default

K I am gonna try at doing these exams. I am to lazy to put the exes on angelfire so I will right em here... (C++ btw)

1.

Code:
#include <iostream>
#include <string>
#include <conio.h>
using namespace std;

int main()
{
 * * *string enter;
 * * *cout << "Enter a number\n=>";
 * * *cin >> enter;
 * * *cout << "\nYou entered:\n" << enter;
 * * *cout << "\nPress any key to exit";
 * * *getch();
 * * *return 0;
}
I will do more later. I only looked over the code once, but I think it should compile...
Ioncannon is offline                         Send a private message to Ioncannon
Reply With Quote