Search:

Type: Posts; User: renvaar

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    906

    Yeh its a mess i know...

    Yeh its a mess i know...
  2. Replies
    2
    Views
    906

    endless looping

    I took this code from an old program i wrote. you're supposed to be able to input 1 members details each time u choose the option to add a member, then it takes you back to the menu... but it just...
  3. Replies
    2
    Views
    868

    Yeh thanks, I just realised my own stupid ass...

    Yeh thanks, I just realised my own stupid ass mistake after staring at the code for like 30 mins.
  4. Replies
    2
    Views
    868

    couple of errors

    Hi all,

    ok so I have some errors I just can't figure out, I don't see any problems with my code. I would really appreciate if someone could tell me what I've done wrong.

    Error 1 error C2198:...
  5. Replies
    3
    Views
    996

    I called the function in the loop so when the...

    I called the function in the loop so when the details are added the menu is displayed again, so I guess it would make sense to write to the file after each time the user has entered a new client.......
  6. Replies
    3
    Views
    996

    writing to file

    Hey all, Can someone help me with writing to a file? No matter how much I try to understand and get it to work i just can't do it... My program gets the clients details when the 'add client' option...
  7. Replies
    15
    Views
    3,385

    What code have I chucked out? The only code...

    What code have I chucked out? The only code posted is by me, and I haven't replaced anything... only added some validation in a totally seperate part (which I got working now). All I'm asking for is...
  8. Replies
    15
    Views
    3,385

    This is all great and very interesting, but...

    This is all great and very interesting, but nobody is helping me with my actual problems... My teacher sucks, I agree... but I still need to pass the course...
  9. Replies
    15
    Views
    3,385

    I have no idea what you are saying, and now I...

    I have no idea what you are saying, and now I have another problem with my validation I added for this part...


    printf("Enter memership expiry month (1-12) : ");
    do
    {...
  10. Replies
    15
    Views
    3,385

    Um... what? And yeh, People keep telling me...

    Um... what?

    And yeh, People keep telling me about the scanf and gets and what not.. but its what I'm taught on my course, why learn what isn't gonna get me marks...

    but the loop problem?
  11. Replies
    15
    Views
    3,385

    Loop doesn't work

    In f_create() when it asks wether the user wants to enter a new record or not... wether you enter Y or N it just continues adding new records, can someone tell me whats wrong?


    #include...
  12. Replies
    10
    Views
    3,095

    I took it all out and put it all back in and got...

    I took it all out and put it all back in and got this with 2 different errors but fixed the previous ones...


    #include <stdio.h>
    #include <stdlib.h>

    typedef struct
    {
    char id[5];
    char...
  13. Replies
    10
    Views
    3,095

    I been playing around with passing the struct in...

    I been playing around with passing the struct in the function calls, but nothing I do fixes the errors, just makes more...


    #include <stdio.h>
    #include <stdlib.h>

    typedef struct
    {
    char...
  14. Replies
    10
    Views
    3,095

    I did what you guys said and it didnt change...

    I did what you guys said and it didnt change anything, I get the same errors...
  15. Replies
    10
    Views
    3,095

    Can't fix errors

    Hey all, this is probably something everyone will spot straight away but i've started writing my code and get some errors I can't get past...

    error C2198: 'f_menu' : too few arguments for call ...
  16. Thread: Passing arrays

    by renvaar
    Replies
    8
    Views
    1,352

    I wasn't whining, but you are telling me about...

    I wasn't whining, but you are telling me about something I know is wrong, and changed shortly after posting the code. And ignoring what I actually need help with, which is understanding whats going...
  17. Thread: Passing arrays

    by renvaar
    Replies
    8
    Views
    1,352

    Well thats what my programming teacher tells me...

    Well thats what my programming teacher tells me to do, and so I'd rather do what she says and pass the course than refuse to do it and fail.

    And great guys, so far 2 posts nit picking at code...
  18. Thread: Passing arrays

    by renvaar
    Replies
    8
    Views
    1,352

    Well done, you really helped me with the problem...

    Well done, you really helped me with the problem there. And since I am a total beginner and already explained I simply copied sections of code to try and make a working program (which it does work) I...
  19. Thread: Passing arrays

    by renvaar
    Replies
    8
    Views
    1,352

    Passing arrays

    Hey all, I'm at the part of my course where I am being taught arrays, and passing them to functions. I have been asked to produce a program that has 2 arrays that the user enters 10 numbers in and...
Results 1 to 19 of 19