View topic - Unable to compile a simple HelloWorld c++ program in QNX4

Unable to compile a simple HelloWorld c++ program in QNX4

For the old QNX2 and QNX4 RTOS

Unable to compile a simple HelloWorld c++ program in QNX4

Postby muthuram85 » Wed Jul 16, 2008 5:53 pm

Hi ,

I am not able to compile a simple HelloWorld program in QNX4.

I get the following Error:

jay.cpp(1): Error! E059: (col 21) unable to open 'iostream.h'
jay.cpp(5): Error! E029: (col 5) symbol 'cout' has not been declared

i use the wpp386 to compile.

Thanks,
Jay
muthuram85
New Member
 
Posts: 1
Joined: Sat Feb 09, 2008 12:04 am

RE: Unable to compile a simple HelloWorld c++ program in QNX

Postby mario » Wed Jul 16, 2008 8:47 pm

isn't it iostream and not iostream.h

Are you using cc or wpp386 directly. You'd better use cc.
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am


Return to QNX2 and QNX4

Who is online

Users browsing this forum: No registered users and 1 guest