Search:

Type: Posts; User: shaeng

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,672

    Thank You

    Thank you both for your help!!
    skorman00 and kuphryn...

    I am working on the solution now thanks to your help
    -shane
  2. Replies
    3
    Views
    1,672

    Arrays with base/derived classes

    Everyone,

    I need some help. I have been tackling this in my head for a while now and I am sure someone out there has my answer on tap. So here goes.

    I am creating a simple employee storage...
  3. Replies
    2
    Views
    1,641

    Thank You

    hk_mp5kpdw,

    Thank you...
    I will give that a shot

    Boy this is really getting complicated.

    It is funny, I can read books and books of programming and online msg boards, but nothing beats...
  4. Replies
    2
    Views
    1,641

    One more question about linked lists?

    Ok here is the gist of my problem, I am trying to use arrays, linked lists, and functions all together and somehow make it all work.

    The idea is to have a number of records read in from a file one...
  5. Replies
    6
    Views
    1,358

    Quzah, you were right!

    Quzah,

    thanks for the tip.
    You were right, sometimes a solution that is found is not the best way to go.

    A practice I need to start ingraining in my head.

    thanks

    -shane
  6. Replies
    6
    Views
    1,358

    I figured it out... Needed to explicitly type...

    I figured it out...

    Needed to explicitly type the return value

    - shane
  7. Replies
    6
    Views
    1,358

    Linked Lists? Wowser...Any suggestions

    typedef struct dep_db
    {
    char name[NAME_LENGTH + 1];
    char ssn[SSN_LENGTH + 1];
    struct dep_db* next;
    } DEP_DB_T;

    void print_links( const DEP_DB_T* ptr );
    DEP_DB_T* get_links( void);
  8. Replies
    13
    Views
    2,239

    I found the problem...Thank You Everyone...

    I found out that with this change, everything is okay now.




    BEFORE

    //Type Definitions
    typedef struct tax_db
    {
  9. Replies
    13
    Views
    2,239

    Okay...

    Quzah,

    Thank you for your help and suggestions. I am still trying things out I have determined that it is my ssn variable that is causing problems.

    For some reason some of the ssn variables in...
  10. Replies
    13
    Views
    2,239

    After removing the feof I am still getting the...

    After removing the feof

    I am still getting the error?
    I am so confused.
  11. Replies
    13
    Views
    2,239

    Thank You

    I have a quick question I was using the Feof to signal the end of reading the file. How would I create a loop of "unknown passes" What I mean is that a file could have 2 lines or 50 lines. I only...
  12. Replies
    13
    Views
    2,239

    #define MAX_ARRAY_SIZE 100 // Maximum...

    #define MAX_ARRAY_SIZE 100 // Maximum array size for taxpayers
    #define FILE_PATH_SIZE 50 // Maximum path/filename
    #define DPDNT_DED 1000 // Dependent deduction...
  13. Replies
    13
    Views
    2,239

    Sorry about that... //Type Definitions...

    Sorry about that...




    //Type Definitions
    typedef struct tax_db
    {
    char name[NAME_LENGTH + 1];
    char ssn[SSN_LENGTH + 1];
  14. Replies
    13
    Views
    2,239

    Here is the population function void pop_array...

    Here is the population function

    void pop_array (FILE *readptr, TAX_DB_T *tax_record, int *array_cnt)
    {
    // Variable Declarations
    int x=0; // Counter for array of structures

    //...
  15. Replies
    3
    Views
    1,021

    Thank You Salem and Brian

    Thank you so much for your help and code examples, I have incorporated them and everything is working great!

    - shane
  16. Replies
    13
    Views
    2,239

    Input corruption?

    Hey Everyone...

    I was hoping that someone could give me a little help here.
    Here is my dilemma.
    I have the following text file that is structured as so

    25 char, space, 11 char, space, 1...
  17. Replies
    3
    Views
    1,021

    Please Help If You Could...

    Hello Everyone,

    I was wondering if someone could please help me out. I am a newbie
    to the world of "C" and I have been having some difficulty with
    something I have been trying to do. I am just...
Results 1 to 17 of 17