I can't enter any value when my program runned
I wrote a program in C/Linux but as in the picture I have an issue. How can I solve this?
Thanks for helps. The picture is: http://www.filedropper.com/screensho...15-06-30112909 My Codes are: Code:
#include <stdio.h> |
I can't see the picture. Or the problem.
If you have problem with scanf, then try to debug: Code:
int rc; |
The picture link doesn't work. Can you describe in words what your problem is, and what you expected please.
|
When I run this program, naturally it wants from me a value to enter... But I cannot enter any value
|
> But I cannot enter any value
What is the obstacle? |
|
I don't understand. When I compile your program it works fine:
Code:
gcc -Wall lqc.c -o lqc Code:
./lqc |
Quote:
|
The problem has been solved. I hadn't expressed the file's name correctly to program.
|
Quote:
Code:
if ((ptrFILE = fopen("Test.txt", "r")) == NULL) Code:
if ((ptrFILE = fopen("Test.txt", "r")) == NULL) |
All times are GMT -5. The time now is 01:29 AM. |