Search:

Type: Posts; User: teensicle

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Search a file for specif data and update it (random access)

    I really need the help. This is what i'm working on. The file name is "movie.dat" and currently i was able to save data into the file in this order:

    [movie_code] [movie_dur] [movie_title]...
  2. Help: Updating Record In Random Access File

    I have been searching through the forums and found a couple snippets of code and from that i came up with this. What i want to do is search for the specific movie code and then update the movie...
  3. Okay so sorry i took so long to reply... I took...

    Okay so sorry i took so long to reply... I took into consideration all the possible solutions the code below works fine for what i am trying to achieve. As seemaxie said the dependent on the amount...
  4. Im not too sure how to specific the length of the...

    Im not too sure how to specific the length of the loop dependent on the string.. im guessing it's in this section i>student.stud_pass[i] but what is the correct condition?
  5. not sure if im on the right track here but i gave...

    not sure if im on the right track here but i gave it a swing


    so i came up with this program compiles but it freezes after completion :



    STUDENT_REC student;
    int i;
    char c;
  6. so i came up with this program compiles but it...

    so i came up with this program compiles but it freezes after completion :



    STUDENT_REC student;
    int i;
    char c;


    printf("Your new password should contain atleast 1 uppercase...
  7. Checking for Uppercase Character (s) in a string

    I would really appreciate if i could get some help on this. So what i want to do is pretty simply.... Or atleast so i think:(... So im accepting a string of characters from a user and i want to check...
  8. Thread: Little help

    by teensicle
    Replies
    1
    Views
    705

    Little help

    So i got an assignment to try and write a simple ATM program which shouldn't take long however ive hit a little snag... the problem that i am experiencing is when the program executes the if...
  9. @Commontater and @MK27 dudes you guys rock!

    @Commontater and @MK27 dudes you guys rock!
  10. @MK27 and @Commontater i really get what your...

    @MK27 and @Commontater i really get what your saying and will modify the code!
  11. 1st try

    this is what i have i followed the cprogramming tutorial doesn't build though :frown:



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

    typedef struct {
    char p_name[10];
    int age;
  12. Saving information from a structure to a file

    No i've been googling for some time now and im yet to find a solution for this problem. I have a structure that has set variable that i need to store information to a file. Can someone tell me the...
  13. Replies
    9
    Views
    1,621

    If you realize that it says "different uses have...

    If you realize that it says "different uses have different privileges" i was wonder if i could write two different C files to achieve this and depending on what password the user enter it would then...
  14. Replies
    9
    Views
    1,621

    Where to start

    Now i have my programming project and i have no idea where to start or how to approach this. If its possible could you guys swing by some ideas and your recommendations? The outline is below

    ...
  15. Creating Access Databases and Tables Using C - #HELP

    Ok so i'm in my second year of university and i have my final project to finish up. So i was going through and reading, thinking of the best way to approach the situation. Basically we are required...
  16. Replies
    15
    Views
    1,774

    the reason why i constantly was clearing the...

    the reason why i constantly was clearing the screen was so that the user saw only what they were required to enter at that point
  17. Replies
    15
    Views
    1,774

    i removed them however now the results i get is...

    i removed them however now the results i get is totally off the name is stored perfectly, the age for the first array is stored but the 2nd age has a zero value and the calculation for the value...
  18. Replies
    15
    Views
    1,774

    ok so i decided not to be a freebie and actually...

    ok so i decided not to be a freebie and actually try to do something on ma own :D




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

    int main()
  19. Replies
    15
    Views
    1,774

    lol a freebie..... thanks much!

    lol a freebie..... thanks much!
  20. Replies
    15
    Views
    1,774

    Well i tried doing this #include ...

    Well i tried doing this


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

    int main()
    {
    char stud_name[10] [10];
  21. Replies
    15
    Views
    1,774

    Thank you.. now what if i wanted to print out all...

    Thank you.. now what if i wanted to print out all the values that i in-putted while i was in the loop




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

    int main()
    {
  22. Replies
    15
    Views
    1,774

    Simple While loop; Need Help :D

    Display sum of all numbers between 10 and 20 inclusive. Using a while loop.. This is what i have so far:




    int main()
    {

    int sum; // SUM IS USED TO HOLD VALUES FROM 10 TO 20
    int...
  23. Replies
    7
    Views
    1,083

    Thanks for the help i will keep you posted on my...

    Thanks for the help i will keep you posted on my project
  24. Replies
    7
    Views
    1,083

    When do i know when to use "void" though i am yet...

    When do i know when to use "void" though i am yet to completely understand
  25. Replies
    7
    Views
    1,083

    Thank You! Corrections To My Code!!! ...

    Thank You! Corrections To My Code!!!


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


    int main(void)
Results 1 to 25 of 33
Page 1 of 2 1 2