gcc does not string as a type
Asked by
FRU
Good day All.
I have installed Ubuntu 9.04 and the necessar packages for compilation.
However, when I try to compile a simple program that has string type declaration, a compiler error is pasted:
=======
trout.c:7: error: ‘string’ undeclared (first use in this function)
=======
What is the package I need to install to compile easily. I know an option is to declare char * instead. But I want to have to handle simple types without bothering about buffer overflows.
What other thing can I do to compile easily.
Thanks for all the advise you can provide.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask FRU for more information if necessary.
To post a message you must log in.