Re: [PLUG] C Query

2005-04-04 Thread Svaksh
On Apr 4, 2005 2:48 AM, amey modak <[EMAIL PROTECTED]> wrote: > Hello all, > I have query in C. I am sorry as this may not be the right place to post > query on C. If you use GCC, post it at <[EMAIL PROTECTED]> , before which you need to subscribe to the list. -- _svaksh_ -- _

Re: [PLUG] C Query

2005-04-04 Thread Vishal Rao
On Apr 4, 2005 12:18 PM, amey modak <[EMAIL PROTECTED]> wrote: > I have query in C. I am sorry as this may not be the right place to post > query on C. Sorry, long time no C (for me), but does the fscanf() format string take REs (regexes)? -- "Thou shalt not follow the null pointer for at it's e

[PLUG] C Query

2005-04-04 Thread amey modak
Hello all, I have query in C. I am sorry as this may not be the right place to post query on C. The query is as follows.. 1) I have written following code... main() { FILE *fp = 0; char c1[100] = {0},c2[100] = {0}; int retval = 0; fp = fopen("test.s","r"); if (!fp) { exit(1); } retval = fscanf(