Search:

Type: Posts; User: Moody Barrawi

Search: Search took 0.00 seconds.

  1. Then I guess I should be starting this program...

    Then I guess I should be starting this program all over again , what should I be doing so that my program is as simple as possible and without messy ness.... And this is all going to be based on the...
  2. Oooh cool.... Sadly this pointer thing I'm not a...

    Oooh cool.... Sadly this pointer thing I'm not a master at, well basically I really don't know how to use it it.... can you just explain to me the types I'd use pointer by address of by reference,...
  3. I see, well I wanna ask you something, now when I...

    I see, well I wanna ask you something, now when I input-ed everything that takes care of the first part of my menus inputs. Now the second part the edit, what do I do? I want to be able for the user...
  4. Okai let me explain this for you in a way you...

    Okai let me explain this for you in a way you will understand it. When going to the sorting part. How will the system recognize during the sorting part that this input lets say Mark, belongs to the...
  5. your code has 2 issues, one it takes the enter as...

    your code has 2 issues, one it takes the enter as a char, and two it only displayes the first input in the sequence
  6. Did you open up to see what I want the code to be...

    Did you open up to see what I want the code to be like in the word file? Problem is, if I use the If, I can't go back can I? Like I want to be able to go back from the submenu to the menu got the...
  7. Replies
    13
    Views
    70,784

    try this? #include int main...

    try this?



    #include <stdio.h>


    int main ()
    {
    int x;
  8. My code doesn't do exactly what I want it to

    Okai so basically what I want is an interactive menu in C, I started off by making the case 1, case 2, break etc... but here is the thing each menu will make an other menu, and each other menu has...
  9. Replies
    8
    Views
    1,017

    I see thanks I will try that now

    I see thanks I will try that now
  10. Replies
    8
    Views
    1,080

    So I wrote this #include void...

    So I wrote this


    #include <stdio.h>

    void double_trouble(int *p2, int y2);
    void trouble(int *x1, int *y1);

    int main(void)
    {
  11. Replies
    7
    Views
    2,960

    I know how to do that but my program is in a big...

    I know how to do that but my program is in a big scale. So I kind of get confused :p
  12. Replies
    8
    Views
    1,017

    OOh I actually get what you mean... But can I...

    OOh I actually get what you mean... But can I like do a *x in the function to change the value so it would change in the main program so I don't have to change it again and again over and over. So...
  13. Replies
    8
    Views
    1,017

    It's no homework. we have this book here in UNI...

    It's no homework. we have this book here in UNI that we can do these exercises in preparation for our exams next week. And I'm training to write programs so that I won't screw up in the exam. So I...
  14. Replies
    7
    Views
    2,960

    So does the function go like char x; printf "do...

    So does the function go like char x; printf "do you want to do an other conversion"; then scanf "%c",'x' then if x==N | x==n then exit the program and if x==Y | x==y then repeat the program?
  15. Replies
    8
    Views
    1,017

    This program when run is supposed to make these...

    This program when run is supposed to make these answers... So if I do what your saying it would give me these answers?


    x

    y

    z
  16. Replies
    8
    Views
    1,080

    What is wrong with this program

    Okai this is the program, or at least I think so :p. What the fiddlesticks is wrong with it?


    #include <stdio.h>


    void double_trouble(int *p,int y);
    void trouble(int *x,int*y);
  17. Replies
    7
    Views
    2,960

    Oooh, so i make a function that behaves like a...

    Oooh, so i make a function that behaves like a loop that only goes out if N was put, and go around in the loop if I press Y. And I should make all of the MAIN program inside this function is what you...
  18. Replies
    8
    Views
    1,017

    Adding a main function

    Okai here is the Code so far, It's not bad :p But the teacher told me to add a Main function that calls my sum function. WTF? wouldn't the compiler go crazy if I change the 'main' function because...
  19. Replies
    7
    Views
    2,960

    Adding a yes or no (Y/N) function

    Okai, so this is the program I have reached, it works perfectly. But there is one thing I need. I need to add a Y/N function. What I mean is I want for there to be a question to ask the user at the...
  20. I just need help understanding this question.

    So basically all we know till now is basic programming. So while, and for loop, if and else functions, and int double and void functions, and a function with input and output parameters with a single...
Results 1 to 20 of 20