Search:

Type: Posts; User: pipskie

Search: Search took 0.01 seconds.

  1. Thread: strcmp

    by pipskie
    Replies
    10
    Views
    1,267

    Thank you

    Thank you
  2. Thread: strcmp

    by pipskie
    Replies
    10
    Views
    1,267

    Thanks c99, I did this and its working just...

    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 ***...
  3. Thread: strcmp

    by pipskie
    Replies
    10
    Views
    1,267

    Thank you for the replies, helps a lot. One...

    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...
  4. Thread: strcmp

    by pipskie
    Replies
    10
    Views
    1,267

    strcmp

    scanf(" %[^\n]s",search);
    while(fread(&rlist,sizeof(rlist),1,fp))
    {
    if(strcmp(search,rlist.surname)==0)
    { ...
  5. Replies
    6
    Views
    6,655

    I resolve my first issue, thanks for the help...

    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...
  6. Replies
    6
    Views
    6,655

    i tried fgets but it skips directly to address

    i tried fgets but it skips directly to address
  7. Replies
    6
    Views
    6,655

    stuck with scanf %s

    #include <stdio.h>

    char rent(char car);
    char terms(char read);
    int choice;

    int main()
    {
    int car_type, selection,contact;
    char mainmenu,read;
  8. Replies
    8
    Views
    1,592

    @Salem Hi, sorry about the indention, and thank...

    @Salem
    Hi, sorry about the indention, and thank you, helps a lot.

    @dariyoosh
    Thank you too.
  9. Replies
    8
    Views
    1,592

    what am i missing?

    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.


    ...
Results 1 to 9 of 9