Search:

Type: Posts; User: C-learner

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    929

    Thank you so much for all those improvement ideas...

    Thank you so much for all those improvement ideas ;) im gonna spend a lot of time making those changes
  2. Replies
    7
    Views
    929

    Matticus what do you have any suggestion on a...

    Matticus what do you have any suggestion on a particular debugger good for windows users?
  3. Replies
    7
    Views
    929

    Any Idea How to fix?

    The remove function doesnt work if i call more than 3 functions which use it without closing my program, if i close my program after using each function then everything works fine. The remove/rename...
  4. Replies
    4
    Views
    1,449

    yeah clrscr() is not a standard function and can...

    yeah clrscr() is not a standard function and can be absent in your compiler implementation. But if you insist on using them
    system("cls") can be put in place of clrscr() if your on windows,...
  5. Replies
    5
    Views
    1,087

    Its 1200 lines of coding :( didnt wanna paste...

    Its 1200 lines of coding :( didnt wanna paste that here i'll figure something out then as it relates to bad recursion, pointer error and my buffers sizes and such
  6. Replies
    29
    Views
    4,215

    Yeah i changed all that :) my program is now...

    Yeah i changed all that :) my program is now finished and working fine
  7. Replies
    5
    Views
    1,087

    Stack overflow?

    when i compile and run my program, if i keep using its different functions too many times then at some point it causes errors and disfunction but if i close and re-open, it works fine...possibly...
  8. Thread: Completed!

    by C-learner
    Replies
    0
    Views
    689

    Completed!

    hey guys i have completed my project and i just wanna say thanks to all my helpers i learned so much from you guys and thanks to you im now a successful C database programmer yay! ;)
    If anyone...
  9. Wow i spent like 4 nights on this i feel like an...

    Wow i spent like 4 nights on this i feel like an idiot I SAID FEEL LIKE SO DONT GO CALLING ME 1 >:(
    tabstop thank you man i just did that and its.... umm well my prob is solved(plus i can feel the...
  10. I am this close -- to kicking my pc off the desktop

    Ok so im using a suggested method(which is pure genius i like how this was discovered and used) to update my records by writing both modified and not modified data to a new file then remove the...
  11. Replies
    40
    Views
    3,096

    Ok you made me do it *Sprinkles magical fairy...

    Ok you made me do it *Sprinkles magical fairy dust on all the angry people* WHOOOOOOOSH! pob solved
  12. Thread: Update file

    by C-learner
    Replies
    9
    Views
    920

    But but arnt those for linux users im on windows

    But but arnt those for linux users im on windows
  13. Thread: Update file

    by C-learner
    Replies
    9
    Views
    920

    Uhhh hmmm ok Hodor

    Uhhh hmmm ok Hodor
  14. Thread: Update file

    by C-learner
    Replies
    9
    Views
    920

    Still no workie...the file only update when i...

    Still no workie...the file only update when i close the program
    i used fflush after the fprintf()
  15. Thread: Update file

    by C-learner
    Replies
    9
    Views
    920

    Update file

    After i have modified data from a file and write the updated data to a new file using "w+" mode i realize the data doesn't enter the newfile unless i close the program, is there an instant update...
  16. Ok

    Its so confusing i cant work out how im gonna do that..heres what i came up with(its in pseudocode format ish o.O)


    1. id number of a specific account is entered here for searching
    2. while...
  17. Thanks salem its all fixed now but another...

    Thanks salem its all fixed now but another problem, i cant replace some specific lines inside the file after a deposit is made...as you suggested It was a TOTAL WRECK after i executed those codes...
  18. Tried a sugegsted solution but cant get it to work

    I tried a suggsted solution that is supposed to loop through a file and do something required then stops at the end with no problems but there are problems, i can only fetch the first account from my...
  19. Replies
    29
    Views
    4,215

    Im having a small problem displaying all the...

    Im having a small problem displaying all the accounts on the screen...After using the condition(while!feof(acc)) it puts an extra copy on the screen of the last account being printed
    ..this is my...
  20. Replies
    29
    Views
    4,215

    Thanks stahta it works ;) Correction code ...

    Thanks stahta it works ;)
    Correction code


    printf("Please enter your account number\n");
    scanf("%d",&id_one);


    if((acc=fopen("Active Accounts.txt","r"))==NULL)
    {
  21. Replies
    29
    Views
    4,215

    I tried this but it can only read the first...

    I tried this but it can only read the first structure recorded in the file


    if((acc=fopen("Active Accounts.txt","r"))==NULL)
    {
    printf("\nERROR OPENING FILE.");
    ...
  22. Replies
    29
    Views
    4,215

    How do i let the program know the i-th...

    How do i let the program know the i-th structure(the structure with the account number entered for searching) which its gonna skip lines to..ive been reading about fgetpos() and fsetpos()...then...
  23. Replies
    29
    Views
    4,215

    Ok so it now reads from the file after the...

    Ok so it now reads from the file after the program is closed and re-opened thanks for the help DeadPlanet i now love fscanf and fprintf and how to use them correctly(which i had no knowledge of b4 i...
  24. Replies
    29
    Views
    4,215

    Thank you so much sir i am currently making the...

    Thank you so much sir i am currently making the changes to what you pointed to...it all makes a lot of sense :biggrin:


    read in each field individually? how should i structure that? should i use...
  25. Replies
    29
    Views
    4,215

    ok Click_here i made the changes and got rid of...

    ok Click_here i made the changes and got rid of the junk code and checking out the info you pointed to
Results 1 to 25 of 32
Page 1 of 2 1 2