// Justin C. Miller
// University of Wisconsin Oshkosh
// Made for: http://www.geocities.com/neonprimetime.geo/index.html
// Date: 2001
// Borland Builder 4.0
// typedef
#include
// defines a new type charptr which is
// the same as char * , hopefully it
// makes the coding simpler, and easier to
// understand, instead of reading it as
// character asterick, you'd read it as
// character pointer (because that is what it is)
typedef char* charptr ;
int main()
{
// char * and charptr are now the same thing
char * a = "Hello World\0" ;
charptr b = "Hello World\0" ;
cout << a << "<-same thing->" << b << endl ;
return 0 ;
}
// Output is
// Hello World<-same thing->Hello World
               (
geocities.com/neonprimetime.geo/cpp)                   (
geocities.com/neonprimetime.geo)