Search:

Type: Posts; User: warsame

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    2,814

    how did you solve phase_ 3, please give me some...

    how did you solve phase_
    3, please give me some hints i am really stuck on finding the first integer in phase_3
  2. Replies
    23
    Views
    4,819

    i find your method very useful, if i want to call...

    i find your method very useful, if i want to call this on a pointer that has already been initialized with
    one struct will this still work?
    also i have some basic scanf function that get called...
  3. Replies
    23
    Views
    4,819

    does anyone have an example using a struct of...

    does anyone have an example using a struct of arrays that have been
    initialized? im still having trouble grasping this concept. i understand now why i could not free memory that was never allocated...
  4. Replies
    23
    Views
    4,819

    That was a typo on the two included header files,...

    That was a typo on the two included header files, i have a employee.h file that has all my functions inside. i want to just include that header file in my .c file where my main is called from. Why...
  5. Replies
    23
    Views
    4,819

    Yes that is exactly what i want to do. is have a...

    Yes that is exactly what i want to do. is have a pointer that points to one struct employee that has been initialized with all of its key members. Then when my add_employee function is called by the...
  6. Replies
    23
    Views
    4,819

    i have actually solved this problem without using...

    i have actually solved this problem without using malloc and reaalloc, i know want to use these two and ignore file system reading for the moment, i am trying to learn the machine architecture of the...
  7. Replies
    23
    Views
    4,819

    ITS SEEMS I HAVE CONFUSED MYSELF, i have posted...

    ITS SEEMS I HAVE CONFUSED MYSELF,
    i have posted all of my code here. i simply want to have a pointer to a struct that
    will allocate space when called accordingly and a temporary struct pointer...
  8. Replies
    23
    Views
    4,819

    so if i dont use a struct array but instead...

    so if i dont use a struct array but instead create something like this



    struct employee my_employee = {

    "Johnson, larry", 233333.3, "December, 4th 1999

    };
    struct employee...
  9. Replies
    23
    Views
    4,819

    i am using malloc because i want to only create...

    i am using malloc because i want to only create enough space for just
    one struct everytime add_employee is called. as far as using a struct employee
    pointer to point to my array of structs the...
  10. Replies
    23
    Views
    4,819

    Array of structs: function passing

    I have an array of structs created with an initial size and filled with the members of the struct tag. as such



    struct employee{

    char fullname[30];
    float salary;
    char fulldate[40];
    };
Results 1 to 10 of 10