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

Similar Threads

Problem with codewars. 5
what's wrong with my codes? 0
Linking errors with IAR 0
LinkedList 1
Compiler errors 11
Weird C++ Compiler Ignores Errors 11
Upgrade to VC2010 2
passing vector by reference huge problems 0

Members online

No members online now.

Forum statistics

Threads
473,913
Messages
2,570,027
Members
46,419
Latest member
businessfunding

Latest Threads

Top