Advertisement
Dawid_PAr

Untitled

Aug 7th, 2019
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. ||=== Build: Debug in STRUKTURY (compiler: GNU GCC Compiler) ===|
  2. C:\Users\dawid\Documents\STRUKTURY\main.cpp||In function 'void plik(std::__cxx11::string)':|
  3. C:\Users\dawid\Documents\STRUKTURY\main.cpp|11|error: no matching function for call to 'std::basic_ifstream<char>::open(std::__cxx11::string&)'|
  4. C:\Program Files (x86)\CodeBlocks\MinGW\lib\gcc\mingw32\5.1.0\include\c++\fstream|595|note: candidate: void std::basic_ifstream<_CharT, _Traits>::open(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]|
  5. C:\Program Files (x86)\CodeBlocks\MinGW\lib\gcc\mingw32\5.1.0\include\c++\fstream|595|note: no known conversion for argument 1 from 'std::__cxx11::string {aka std::__cxx11::basic_string<char>}' to 'const char*'|
  6. ||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement