Thank you
Type: Posts; User: pipskie
Thank you
Thanks c99,
I did this and its working just fine.
fp=fopen("billStatement.txt","a+");
system("cls");
fprintf(fp,"\n\n\n\t\t\t\t*** BILLING STATEMENT ***...
Thank you for the replies, helps a lot.
One more thing though... what if I wanted to print or show those results into a text file or word document maybe, like some sort of a receipt where texts...
scanf(" %[^\n]s",search);
while(fread(&rlist,sizeof(rlist),1,fp))
{
if(strcmp(search,rlist.surname)==0)
{ ...
I resolve my first issue, thanks for the help guys.
Now, I wanted to put an option under Selection 2, like a 5th option, where it will only go back to choosing a vehicle, not entirely go back to...
i tried fgets but it skips directly to address
#include <stdio.h>
char rent(char car);
char terms(char read);
int choice;
int main()
{
int car_type, selection,contact;
char mainmenu,read;
@Salem
Hi, sorry about the indention, and thank you, helps a lot.
@dariyoosh
Thank you too.
Hi, I'm making this simple program but i'm having a problem somewhere in Question 2. It doesn't prompt the user make an input. It is only the part where it does not prompt for user input.
...