Does anyone know file handling using GTK. I need to open a file in "w+" mode and write to it. I dont know if file handling exists in GTK. Below is a sample 'C' program that I need in GTK format.
#include <stdio.h> int main(int argc, char *argv[]) { int a = 5; float b = 3.14; FILE *fp; fp = fopen( "test.txt", "w+" ); fprintf( fp, " %d %f", a, b ); fwrite(----); fclose( fp ); }