error's definicion

Hey! I have a problem. I learn C++ since 2 days, and i use Visual 2010. I want to use function 'error' but i can't ' cause : "error C3861: 'error': identifier not found". so I want to know if somone can help me to define the error function. hm I don't use header files just :
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <cmath>
using namespace std;
inline void keep_window_open() { char ch; cin>>ch; }.
Thank you in advance for your reply.
( i hope that my question is understandable and not so stupid)
Do You want the error to be printed out in visual studio´s error box or do You want to write your own error function?... ( use the #error -directive)

Did You 'code' it already?...




(put your code into the code tags, please ->)
Topic archived. No new replies allowed.