This is my code that I'm using:
void create_project_go()
{
FILE *fp;
FILE *fopen("/usr/lib/htmlexamples/default.html", "r");
};
and i get this error:
/home/miguel/Documents/packing/create_project.c||In function ‘create_project_go’:|
/home/miguel/Documents/packing/create_project.c|40|error: expected declaration specifiers or ‘...’ before string constant|
/home/miguel/Documents/packing/create_project.c|40|error: expected declaration specifiers or ‘...’ before string constant|
/home/miguel/Documents/packing/create_project.c|39|warning: unused variable ‘fp’|
/home/miguel/Documents/packing/create_project.c||In function ‘get_project_info’:|
/home/miguel/Documents/packing/create_project.c|46|warning: passing argument 1 of ‘gtk_entry_get_text’ from incompatible pointer type|
/home/miguel/Documents/packing/create_project.c|47|warning: format not a string literal and no format arguments|
/home/miguel/Documents/packing/create_project.c||In function ‘enter_project_info’:|
/home/miguel/Documents/packing/create_project.c|92|warning: passing argument 1 of ‘gtk_entry_get_text’ from incompatible pointer type|
/home/miguel/Documents/packing/create_project.c|100|warning: passing argument 1 of ‘gtk_box_pack_start’ from incompatible pointer type|
/home/miguel/Documents/packing/create_project.c|101|warning: passing argument 1 of ‘gtk_box_pack_start’ from incompatible pointer type|
/home/miguel/Documents/packing/create_project.c|102|warning: passing argument 1 of ‘gtk_box_pack_end’ from incompatible pointer type|
/home/miguel/Documents/packing/create_project.c|92|warning: unused variable ‘str’|
||=== Build finished: 2 errors, 8 warnings ===|
any help??? i've checked to make sure everything exists and stuff
thanks
~ mike