can't seem to find the errors?

Joined
Nov 6, 2012
Messages
1
Reaction score
0
All I am trying to do is write to file. But I keep getting these errors:
1>c:\...\lab1.cpp(7): error C2065: 'ofstream' : undeclared identifier
1>c:\...\lab1.cpp(7): error C2065: 'myWriteFile' : undeclared identifier
1>c:\...\lab1.cpp(7): error C2182: 'process_payroll' : illegal use of type 'void'
1>c:\...\lab1.cpp(7): fatal error C1903: unable to recover from previous error(s); stopping compilation

here is my code:
pastebin.com/vvUbM1GW

Can anyone figure out what is wrong with it?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top