From: <Sen...@ao...> - 2001-04-03 22:54:16
|
I'm trying to compile the following code, and it gives me an error saying "error C2143: syntax error : missing ';' before 'PCH creation point'" #include <iostream> //for user I/O #include "ticket.h" //stores ticket class and associated functions using namespace std; int main() { int in1, in2, in3, in4, in5; cout << "enter five numbers"; cin >> in1 >> in2 >> in3 >> in4 >> in5; Ticket myTicket(in1, in2, in3, in4, in5); myTicket.PrintTicket(); return 0; } any ideas??? ~Benjamin |