how do you use vectors function in vc++6.0??
#include what??
#include <vector>
gives me
c:\program files\microsoft visual studio\vc98\include\eh.h(32) : fatal error C1189: #error : "eh.h is only for C++!"
how do you use vectors function in vc++6.0??
#include what??
#include <vector>
gives me
c:\program files\microsoft visual studio\vc98\include\eh.h(32) : fatal error C1189: #error : "eh.h is only for C++!"
Perhaps you saved your code as prog.c, and not prog.cpp ?
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.