[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] G++
On Thu, 13 Jul 2000, Sammy Redshaw wrote:
> Help i am beginner to c++ i am currently learning PASCALfrom A level
> computing bought a book by tom swan called GNU C++ for linux I am
> running mandrake 7 and g++ version 2.95.2 is installed.
> I am have trouble trying to compile a simple progam i am have problem
> with g++ trying to find the "#include <xxxx.h>" header file, and i am
> running from root. There is an /usr/include file but I cannot figure
> out how to get it to point to it. Any help would be greatly appreciated
have you just put the name of the include file in? something like....
#include <math.h>
should work.
BUT you shouoldn't really be doing this stuff as root. Create yourself a user
account - login as that user and do your programming. As root you can create
chaos on your system. Use root only to do essential system maintenance.
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.