Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: cjw2
  • Order by date
  1. cjw2

    struct's in header files!

    Thank you for your comments, however as part of the project the main.c has got to include the header file, header.h, and the source file (source2.c) this is the way I have to do it. This may seem like the wrong way of doing it but that is the way it mist be done, so source files must stay as .c...
  2. cjw2

    struct's in header files!

    Using extern still generates the same error message.
  3. cjw2

    struct's in header files!

    Sorry I dont understand, what does inline functions in header file mean? All the functions I have, all function prototypes have been decalred in header file, work in separate source files. when I try and use multiple files it returns the multiple declaration error (relating to the struct)...
  4. cjw2

    struct's in header files!

    That is what I have done, but still have the issue with multiple declaration of the struct, which is used in both source files when compiling.?
  5. cjw2

    struct's in header files!

    The project I am working on requires that we include source2.c inside source1.c using #include "source2.c". source1.c uses functions defined in source2.c.
  6. cjw2

    struct's in header files!

    Encountered another problem I have two source files for e.g. source1.c source2.c and the header including the struct declaration as set out in original post header.h. Both source1.c and source2.c need to be linked and use the struct. Source2.c will compile and execute fine on its own using the...
  7. cjw2

    struct's in header files!

    I have declared a struct (see below) in a header file to be used in two source files, however when I compile I get a multiple declaration error even though it only declared once can anyone explain this error?? //this is the struct declared in the header struct student_data { int...
  8. cjw2

    Entity Relationship Diagrams

    Is it acceptable when creating an entity relationship diagram to have two separate relationships from say entity A to entity B? (Going from A to B and from different attributes in A but to the same attribute in B)
  9. cjw2

    Many to many relationships

    Thank's for all the help has made things alot clearer and has made me realise that there always a number of different solutions or approaches to a problem. Thanks again.
  10. cjw2

    Many to many relationships

    Hi could anyone clarify this for me?? I am working on a d base project for uni, i not asking for a solution just an insight into proper d base design etc, the d base has the following entities Flight(flight_Reg(pk), date, time, destination airport, arrival airport, stopover airport)...

Part and Inventory Search

Back
Top