Mail Archives: djgpp/1997/12/29/09:46:44
Stritt wrote:
> Hello!
>
> as the definition C++ says, i can use the type "string", after binding the includefile
> "<list.h>".
>
You also need (AFAIK, always) to include string.
You should be able to use strings as in your example by simply doing this:
#include <string>
#include <iostream.h>
int main()
{
string test("Hello World!\n"0;
cout << test;
}
--
Charles Krug, Jr.
Application Engineer
Pentek Corp
1 Park Way
Upper Saddle River, NJ 07458
- Raw text -