Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

(no subject)

From: John D. <lists(at)webcrunchers.com>
Date: Sat Dec 07 2002 - 19:08:05 EST


//What am I doing wrong???
//Compile command: "gcc a.c b.c -o a.c"

/***************contents of "a.c"*****************/

#include <stdio.h>

FILE *f;
int main(void) {

	f=fopen("/var/file","w");
	module();
	fclose(f);

}
/***************contents of "b.c"*****************/

#include "b.h"

void module(void) {

        fprintf(f,"data");
}

/***************contents of "b.h"*****************/
void module();
extern f; Received on Sat Dec 7 19:09:40 2002

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:31:54 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library