I recently switched compilers to a more up to date one (Orwell Dev-C++), and the following code no longer works, can you please help give me the code that works like the following
code cin.ignore(numeric_limits<streamsize>::max(), '\n')
assuming your using the namespace
[Error] 'numeric_limits' was not declared in this scope
[Error] expected primary-expression before '>' token
[Error] no matching function for call to 'max()'
c:\program files\dev-cpp\mingw64\lib\gcc\x86_64-w64-mingw32\4.7.1\include\c++\bits\char_traits.h In file included from c:\program files\dev-cpp\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.1/include/c++/bits/char_traits.h