Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Pro*C Nothing gets printed

Re: Pro*C Nothing gets printed

From: SR <srng_at_goawaynms-sys-ltd.demon.co.uk>
Date: Sun, 10 Sep 2006 17:31:40 +0100
Message-ID: <ee1el9$b4e$1$8300dec7@news.demon.co.uk>


Dave wrote:

> shihab wrote:

>> Hi,
>> I am learning Pro* C .
>> I wrote a simple program, compiled using the make file
>> $ORACLE_HOME/precomp/demo/proc/demo_proc.mk build EXE=test OBJS=test.o
>>
>> and it created the exe test, but when i executed it nothing is
>> getting printed.. Infact I had put some printf also.. even that is not
>> getting printed..
>>
>> did i miss anything ?
>>
>> Regards
>> Shihab
>>
> 
> Do the sample programs work ok, e.g.
> make -f demo_proc.mk sample1
> ./sample1
> 

Looks from the command that you're doing this on UNIX.

There is a shell builtin command called "test". I think you will may be in fact executing the built "test". Try running the exe as "./test", or better still rename it and try it using the same name. Received on Sun Sep 10 2006 - 11:31:40 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US