i dont really understand the logic behind this... im still thinking how to change my code
Type: Posts; User: nagu
i dont really understand the logic behind this... im still thinking how to change my code
do anyone have an alternate code for this?
yeah i ve corrected it still its not working.... :(
i havent got the solution yet someone solve this out for me
is this the only problem?
im getting a dump error
#include<stdio.h>
int main(int argc,char **argv)
{
FILe *fp1;
char c;
int n;
char a[];
int g;
fp1=fopen(argv[1],"wc");
n=0;
i think its right.....
i have to search for a word say printf in the file got as input through command line arguement
whether printf comes i have to replace it with sprintf
i have to search for a word say printf in the file got as input through command line arguement
whether if printf appears i have to replace it with sprintf
please help me out with this coding