Hi Franki. Does your book mention anything about the Standard C++ Library?
It's a cross-platform standard for i/o routines and abstract data types.
Many compilers have support for it now, including gcc on linux.

Here is a short example:

http://guymcarthur.com/resources/code/c++/guess/

As you can see, the differences are

1. leave off the dot h to get the standard c++ library headers:
#include <iostream>
#include <string>

and

2. use the std:: namespace specifier to use things from those headers,

e.g.

std::string str = "a new string";

and

std::cout << str << std::endl;

--
Guy McArthur * email{[EMAIL PROTECTED]} http{guymcarthur.com}


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to