I have created a txt file in order to pull information for this program.
This is the error code I am getting:
c:\documents and settings\administrator\my documents\visual studio 2005\projects\payroll47\test1.cpp(63) : error C2660: 'fopen_s' : function does not take 2 arguments
Generating Code...
Build log was saved at "file://c:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\payroll47\Debug\BuildLog.htm"
payroll47 - 2 error(s), 0 warning(s)
==
This is the code lines before 63 and after 63 please help:
Code://Statements printf("Employee files and payroll register\n"); //Line 63----------------------------------------------------------------------below if ((spEmployeeData =fopen_s "EmployeeDataFile.txt", "a"))== NULL) { printf("\aError opening EmployeeDataFile\n"); return 100; } // if open input



LinkBack URL
About LinkBacks



