i want to read a text file(notepad) file in c++(open it) and then print the content of it.what should i do?i mean where should i place the text file and which syntaxes should i use for that
Error: noname01.cpp(14,21):Could not find a match for 'std::getline(istream_withassign,std::basic_string<char,std::string_char_traits<char>,std::allocator<char>>)'
Error: noname01.cpp(24,26):Undefined symbol 'istreambuf_iterator'
Error: noname01.cpp(24,32):Expression syntax