Pro*c compilation problem in linux

siraj.accet@gmail.com siraj.accet@gmail.com
Wed Jul 23 05:43:00 GMT 2014


Hi,
 
We couldnt able to convert .pc file to .c file.Linux is showing 

Syntax error at line 390, column 44, file stdio.h:
 Error at line 390, column 44 in file stdio.h
 

code:
 
exec sql begin declare section;
 char *name="TRAUSER",*pwd="info2014";
 exec sql end declare section;
 exec sql include sqlca.h;
 #include<stdio.h>
 void main()
 {
 exec sql connect :name identified by :pwd;
 printf("success");
 }

Regards
Siraj.j

--
Sent by http://webuzz.im/mail/ web mail client



More information about the Gcc-help mailing list