Error when including vector.h and iostream.h

Hi all,
I’m a newbie of QNX programming and that is mine first QNX program. Watching to the other forum threads regarding serial communications, I have found that the needed libraries are:
and for my use vector.h
I use the following code for do this:
#include <vector.h>
#include <iostream.h>
#include <string.h>

like a normal C program. When I try to compile that code, I got the following error code:

Cannot find vetor.h
Cannot find iostream.h
Cannot find string.h

:smiling_imp: But if i go to the Outiline Tab of Momentics IDE I can access to that files by clicking on their names. They are located under a directory g+±3…

how i can resolve that problem?

thank you, any help would be appreciated!


how are you compiling it.

I’m using the default compiler gcc 2.95.3 for with a x86 target machine.

If I try to compile other things like simple hello world programs everything works well! :open_mouth:

Sorry, I’ve resolved my problem!!

I was a bit stupid…

I have began a QNX C project instead a C++ one…sorry!!!