Re: using a list in VC++ v6
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
sorry forgot about the std:: prefix.
"Angus" <nospam@xxxxxxxxx> wrote in message
news:#74mDMbjHHA.392@xxxxxxxxxxxxxxxxxxxxxxx
Hello
I have this sample program
#include <list>
int main()
{
list<int> mylist;
return 0;
}
Which doesn't compile. Get C2065 list undeclared. vector and other stl
containers work - just not list. I have applied the latest vc++ v6
service
pack. Anyone got any ideas?
Angus
.
Relevant Pages
- Printing variables inside IDB
... I'm new to IDB and can't seem to figure out how to print local ... For example, in the following sample program, if I set a break point at ... int main{ ... When I compile the code, ... (comp.sys.intel) - Re: DeleteFile shows as DeleteFileA
... the code to NOT COMPILE! ... total design failure of BSTR. ... For example, both BSTR and LPWSTR are wchar_t*, and the following code would ... Using a proper prefix convention helps identifying the problem (especially ... (microsoft.public.vc.mfc) - Re: GCC difference in size of long int on Suse SLES9 / Suse Professional 10.0
... The kernel uses printf() with 'long int', ... I can't compile 'on-the-fly'. ... clashing with the hardware and any libs that you interact with. ... platform types build up their own int types. ... (comp.os.linux.development.apps) - Re: Im a C++ programmer, and Relfs X.CPP is good.
... >> and it doesn't compile either. ... home.cpp:93: implicit declaration of function `int fclose' ... You cannot change to your home directory through an external ... (comp.lang.lisp) - Re: Im a C++ programmer, and Relfs X.CPP is good.
... >> and it doesn't compile either. ... home.cpp:93: implicit declaration of function `int fclose' ... You cannot change to your home directory through an external ... (comp.unix.programmer) |
|