write to a file using g_print
- From: Rudra Banerjee <bnrj rudra yahoo com>
- To: gtk devel <gtk-app-devel-list gnome org>
- Subject: write to a file using g_print
- Date: Tue, 21 Aug 2012 23:42:53 +0100
Is it possible to write to a file using g_print?
I was trying something like:
FILE *fop = g_open("bib2.bib","w");
g_print ("%s%s",strcombo,strkey, fop);
but its not working.
Even fprintf is giving warning and not writing.
mkbib.c:114:15: warning: initialization makes pointer from integer
without a cast [enabled by default]
mkbib.c:115:3: warning: passing argument 1 of âfprintfâ from
incompatible pointer type [enabled by default]
Any solution?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]