Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   C++ (http://www.velocityreviews.com/forums/f39-c.html)
-   -   can't seem to find the errors? (http://www.velocityreviews.com/forums/t954242-cant-seem-to-find-the-errors.html)

galerecon 11-06-2012 06:32 AM

can't seem to find the errors?
 
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?


All times are GMT. The time now is 12:01 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.