f



link problems with cvi.lib symbols? Does cvi have a complet lib.c implementation ?

If anyone knows how to get this to link please let me know ?
thanks in advance,
art 
email - art_a_morel@raytheon.com

#include "stdio.h"
#include <ansi_c.h>


//#define FILBUF_LINK_ERROR
//#define IOB_LINK_ERROR

main(){
 int ch;
 FILE *fp;

#if  defined (FILBUF_LINK_ERROR)
	ch = fgetc(fp); // Wont link
	ch = getc(fp); // Wont link
	ch=getchar(); // Wont link
//ch=getc(stdin);  // Wont link and get both __iob and __filbuf link errors
#endif

#if  defined (IOB_LINK_ERROR)
	ch = fread((void*) 0, (size_t) 1, (size_t) 1, stdin);	// Wont link	
	ch = fread((void*) 0, (size_t) 1, (size_t) 1, fp); // Links			
#endif

//	fp=stdin; // Wont link

}
0
art675 (30)
1/19/2004 7:45:49 PM
comp.lang.labview 35213 articles. 1 followers. vasusachin24 (1) is leader. Post Follow

0 Replies
382 Views

Similar Articles

[PageSpeed] 27

Reply: