Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > can't seem to find the errors?

Reply
Thread Tools

can't seem to find the errors?

 
 
galerecon galerecon is offline
Junior Member
Join Date: Nov 2012
Posts: 1
 
      11-06-2012
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?
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I can't seem to find an easy way to set Net::HTTP GET params David Sainte-claire Ruby 1 11-23-2009 05:25 PM
I cannot seem to find a simple way to install eruby on a centos develbox Xeno Campanoli Ruby 2 09-13-2007 09:27 PM
cant seem to find the answer to this one Anthony Crowder Computer Support 7 03-17-2007 12:53 AM
Can't seem to find Backup Device Matthew C Rice Computer Support 1 12-23-2005 12:24 AM
OK I know it's off topic but I can't seem to find this info anywere >Shark Computer Support 3 02-18-2005 02:12 AM



Advertisments