Re: [LIP] Qt help
| Newsgroups | gmane.user-groups.linux.india.programmers |
|---|---|
| Message-ID | <[email protected]> |
Hi
> from hello.c:1:
> /usr/include/stdio.h:480: error: syntax error before "FILE"
> /usr/include/stdio.h:480: error: storage class specified for parameter
> `putc'
> /usr/include/stdio.h:486: error: storage class specified for parameter
> `putchar'
> /usr/include/stdio.h:500: error: syntax error before "FILE"
> /usr/include/stdio.h:500: error: storage class specified for parameter
> `fputc_unlocked'
> /usr/include/stdio.h:508: error: syntax error before "FILE"
> /usr/include/stdio.h:508: error: storage class specified for parameter
> declared here
The error is written clearly as you used C stuff in C++ which is not a good
partice. So please avoid use of null treminated char & use of stdio.h
stdlib.h & etc.
Try to use Qt classes insteed as for example QChar class will be a very good
replacement for your null terminated char.
Also if possible mail me the source code.
& About the previous version my guess is MDK 9.2 g++ compiler allows you to
compile C++ mixed with C stuff , but I am not sure.
Anirban Biswas.
--
"Never make any mistaeks."
(Anonymous, in a mail discussion about to a kernel bug report.)
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click