So, I should use if on every input? sorry I never use fgets before.
Type: Posts; User: StartX
So, I should use if on every input? sorry I never use fgets before.
Thanks for the information Babkockdood.
I was change my scanf to fgets, but I got some problem. when I run my program, the first input "insert NIP" was skipped/I can't input NIP. so, the input...
Thanks for your explanation @iMalc this is so helpful. :)
Thanks for your help, I will try it.
Please read this first Announcements - General Programming Boards
Thanks for the reply...
@ dennis.cpp can you tell me more specific about the scanf statements?
I try to remove the scanf and the for loop, and I can run my program. But when I include the...
Hi! I make a input form with loop. The idea is, if the user has finished to fill the input form, then the program will ask is the user will input again or not. If yes, then the input form will appear...
Thanks for your reply. I have one question, is my code to Open, Read, and write data to/from file was right?
Hi! I want to save the inputted data into a file and show the data again in my program. But, I've got a some error with my program.:frown:
this is my code.
#include <stdio.h>
#include...
Hi, I'm beginner in C programming, and I try to make a C program with menu and struct. I can compilen my program. But, when I run my program this if condition has been ignored by compiler:
if...