I'm a biginner c++ programmer that needs help. Here is my code:

int main()
CInternetSession mySession;
return 0;


This program compiles fine but ouputs the following output error:
"Debug Assertion Failed!
Program: C:\WebSearcher\Debug\play_around1.exe
File: afxwin1.inl
Line: 27

When I take a look at afxwin1.inl, the problem originates from the
following lines:

// Inlines for AFXWIN.H (part 1)
// Global helper functions
{ ASSERT(afxCurrentAppName != NULL); return afxCurrentAppName;


So two question: What IS an assertion error , and why am I
getting this error?