Search:

Type: Posts; User: zenghoong

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    959

    Can you point out where I have 2 choice? I only...

    Can you point out where I have 2 choice? I only see one. Thanks.
  2. Replies
    5
    Views
    959

    How bout if I change it to this ...

    How bout if I change it to this


    #include<stdio.h>

    void menu(void);

    int choice, choice2;

    main()
  3. Replies
    5
    Views
    959

    Please help me!

    I don't know why, the moment I enter a value, the debugging is terminated. Someone please shed some light.
    #include<stdio.h>

    void menu(void);

    int choice;

    main()
    {
    menu();
  4. Replies
    11
    Views
    1,185

    Okay. It works. THANKS A MILLION RockyMarrone!

    Okay. It works. THANKS A MILLION RockyMarrone!
  5. Replies
    11
    Views
    1,185

    My code works if I enter numbers. Yours does too....

    My code works if I enter numbers. Yours does too. But when I enter an alphabet, it keeps repeating "Do you want another ticket". Tried it with yours. When I enter an alphabet, the same thing happens....
  6. Replies
    24
    Views
    1,874

    do you mind going to my other...

    do you mind going to my other thread. Need help with that question.
  7. Replies
    11
    Views
    1,185

    I've managed to redo the logic and here is what I...

    I've managed to redo the logic and here is what I got


    #include<stdio.h>
    char tix;

    void anotick(void);

    main()
    {
  8. Replies
    24
    Views
    1,874

    Thats fine but one more problem. it only allows...

    Thats fine but one more problem. it only allows buying one ticket. After that, they keep asking if I want another ticket. But they never ask for the personal details anymore.
  9. Replies
    11
    Views
    1,185

    #include int tix=0; main() { do...

    #include<stdio.h>
    int tix=0;

    main()
    {
    do
    {

    printf("\nDo you want to reserve another ticket?[1.YES 2.NO]\n");
    scanf("%d", &tix);
  10. Replies
    24
    Views
    1,874

    The first is for the flight, second for row,...

    The first is for the flight, second for row, third for column
  11. Replies
    11
    Views
    1,185

    Help with loop

    Here's my code:



    #include<stdio.h>
    int tix=0;

    main()
    {
    do
  12. Replies
    24
    Views
    1,874

    And erm, it only allows buying one ticket. After...

    And erm, it only allows buying one ticket. After that, they keep asking if I want another ticket. But they never ask for the personal details anymore.
  13. Replies
    24
    Views
    1,874

    Thanks but do you mind telling me where you've...

    Thanks but do you mind telling me where you've made changes?
  14. Replies
    24
    Views
    1,874

    i've changed it all to customer now. But still no...

    i've changed it all to customer now. But still no luck.
  15. Replies
    24
    Views
    1,874

    Done. But now, it says: ...

    Done. But now, it says:


    1>c:\users\user\desktop\pspd\ppspd6\ppspd6\pspd66.c(226) : error C2224: left of '.desg' must have struct/union type...
  16. Replies
    24
    Views
    1,874

    Its funny because after I added the * to...

    Its funny because after I added the * to everything, like this:

    *code removed*

    It says


    1>c:\users\user\desktop\pspd\ppspd6\ppspd6\pspd66.c(225) : error C2059: syntax error : '*'...
  17. Replies
    24
    Views
    1,874

    After adding the * to the structure like this: ...

    After adding the * to the structure like this:


    struct custinfo
    {
    char* desg;
    char* fname;
    char* lname;
    char* icnum;
    int seat;
  18. Replies
    24
    Views
    1,874

    do you suggest I use short instead of char?

    do you suggest I use short instead of char?
  19. Replies
    24
    Views
    1,874

    And, i tried removing this line int...

    And, i tried removing this line


    int customer[2][4][5] = {0};

    but nothing seems to have changed
  20. Replies
    24
    Views
    1,874

    It was. except it will display an error when it...

    It was. except it will display an error when it reaches the purchasing page.
  21. Replies
    24
    Views
    1,874

    Two Mysteries or Problems

    I'm creating an airline reservation for my assignment and the menu is working fine. The two problems I'm currently facing are:

    1. After you choose LK and choose Business, the program displays the...
  22. Thanks a million Adak!

    Thanks a million Adak!
  23. Fatal Error LNK1220: 1 unresolved externals

    I wrote this code for my airline reservation system. Now I can't run it because of a Linking error.

    It says:

    1>airlinne1.obj : error LNK2019: unresolved external symbol _printticket referenced...
  24. Replies
    1
    Views
    1,161

    Need help with C. Unsure what to do next.

    I would tell you guys upfront that this is for my assignment. But, all I wanna ask is, how do you make the program go to a certain part of the codes and run from there.

    Here, I want allow the...
Results 1 to 24 of 24