I am not sure how it works with fscanf, because the length of the string which is to be read, is not specified.
One way is use fgetc(file pointer) and read each character, and when you find a ';',...
Type: Posts; User: spveer
I am not sure how it works with fscanf, because the length of the string which is to be read, is not specified.
One way is use fgetc(file pointer) and read each character, and when you find a ';',...
While reading a text file,
Is there a way to directly reach the end of line in a text file....? using fseek or some other function ?
Is '\n' a standard to look for the end of the line?
Are the...
sorry, i thought this would be a common problem,
anyway here is the code.
And please tell me, if possible, if i can improve the code with any other special library functions!
Thanks
My program is running properly if I use the "F7" option in turbo C compiler and execute the code step wise.
But when I use the "RUN" option of turbo C compiler, it keeps running for ever.
Why...
now i get it, thanks. Yes the array is full!!
Sorry,
I mean, when I run the program with a large text file to be searched, it doesnt work out.
But I am able to run the program for small text files to be searched.
Hello
I am trying to find a string in a text file.
The program is working fine when I search small text files.
But the turbo C compiler is just disappearing when the text file to be searched...
2nd doubt:
Why am I not able to identify "#" in a string?
if "one" is a string,
while(ch=getc(one))!='#'), is never being satisfied, whereas I have "#" in the "one" string
I know an element in an array, say file1[10][10].
I know a pointer to one of the character in file1[10][10]
*****************
say if I have file1[10][10]="whereiam"
and I know a pointer to...
i dont know th file name, i just know it is *.mp3 file and i want to list all the mp3 files in the HTML document
Hello,
I want to search for a *.mp3 file after the <body> tag in a html file.
I am trying to do this using C.
What is the best way to do this?
Can somebody help me out?
Thank you
Hi all,
I am working to find an implementation strategy(in C for some application) for an embedded system with 24KB RAM.
I am trying to understand how the execution of code written in C is...
hi guys,
does anyone of you know if it is possible to tag mp3 file(at various points in the file data), so that I can make a jump to any point in the audio file. I should write the program in C.
...