|
|
assn4.cpp: In function 'bool openAndVerify(std::ifstream, std::string&)': assn4.cpp:61: error: no matching function for call to 'std::basic_ifstream<char, std::char_traits<char> >::open(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)' /auto/usc/gnu/gcc/4.2.1/bin/../lib/gcc/sparc-sun-solaris2.10/4.2.1/../../../../include/c++/4.2.1/fstream:517: note: candidates are: void std::basic_ifstream<_CharT, _Traits>::open(const char*, std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>] assn4.cpp: In function 'double averageCalc(std::ifstream&, std::string&)': assn4.cpp:86: error: no matching function for call to 'std::basic_ifstream<char, std::char_traits<char> >::open(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)' /auto/usc/gnu/gcc/4.2.1/bin/../lib/gcc/sparc-sun-solaris2.10/4.2.1/../../../../include/c++/4.2.1/fstream:517: note: candidates are: void std::basic_ifstream<_CharT, _Traits>::open(const char*, std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>] assn4.cpp: In function 'double stndrdDevCalc(std::ifstream, std::string, double)': assn4.cpp:112: error: no matching function for call to 'std::basic_ifstream<char, std::char_traits<char> >::open(std::string&)' /auto/usc/gnu/gcc/4.2.1/bin/../lib/gcc/sparc-sun-solaris2.10/4.2.1/../../../../include/c++/4.2.1/fstream:517: note: candidates are: void std::basic_ifstream<_CharT, _Traits>::open(const char*, std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>] assn4.cpp: In function 'std::string getBankName(std::ifstream, std::string)': assn4.cpp:146: error: no matching function for call to 'std::basic_ifstream<char, std::char_traits<char> >::open(std::string&)' /auto/usc/gnu/gcc/4.2.1/bin/../lib/gcc/sparc-sun-solaris2.10/4.2.1/../../../../include/c++/4.2.1/fstream:517: note: candidates are: void std::basic_ifstream<_CharT, _Traits>::open(const char*, std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>] |
inputFile.open(fileName);
Undefined first referenced symbol in file getBankName(std::basic_ifstream<char, std::char_traits<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)/var/tmp//ccDFTpxe.o stndrdDevCalc(std::basic_ifstream<char, std::char_traits<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, double)/var/tmp//ccDFTpxe.o openAndVerify(std::basic_ifstream<char, std::char_traits<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)/var/tmp//ccDFTpxe.o ld: fatal: Symbol referencing errors. No output written to a.out collect2: ld returned 1 exit status |
|
|
Greetings! Enter number of banks would you like to analyze: 2 Please enter file name: alpha_bank.txt Please enter file name: alpha_bank.txt Error. Bad file name. Try again. Please enter file name: |
|
|
|
|
Greetings! Enter number of banks would you like to analyze: 2 Please enter file name: alpha_bank.txt |
|
|
Greetings! Enter number of banks would you like to analyze: 2 Please enter file name: alpha_bank.txt |