And I'm sorry if you guess it as a homework. Because that's not a homework
Type: Posts; User: Uli
And I'm sorry if you guess it as a homework. Because that's not a homework
yes. actually I got it to show the contents of a file from the last char. But I did it with string. And the question is, can I read the contents from last char with fgetc() ?
Okay thank you guys...
LOL
Yes, but if we read it as a string, of course we read it from the first char. I mean I have to read it from the last char.
It's about my project
Excuse me,
How can I read contents of a file from the last character?
Can I use a loop?
I got it with while statement.
It still working even if you use fgets function.
But you have to open the file input and the file output together.
Then you can declare fprintf in while statement.
I think it is better if you initialize your variable name and type very first (before other statement). And you have to put your int i on the top (not in for stucture).
oh, I see...
Thank you very much.
So, to declare a constraint, we can use constant?
Can somebody help me using constraint in linked list?
Actually I don't know about constraint. May be you can tell me clearly.
Thank you
Thanks FYI. Finally i found the trouble.
#include<stdio.h>
main()
{
int i, j, k, r, s, t;
int X[100][100], A[100][100], B[100][100];
Can you help me please??
Why the output failed?
#include<stdio.h>
main()
{
int i, j, k, r, s, t;