Search:

Type: Posts; User: faisal791

Search: Search took 0.00 seconds.

  1. Replies
    15
    Views
    1,956

    Thanks for that.. so we're not using struct...

    Thanks for that.. so we're not using struct anymore!!

    it works thou so thats good...

    just one more thing.. how do i print it to the screen.. do i need a print function in the StudentModule...
  2. Replies
    15
    Views
    1,956

    sorry i dont get it.. im using a struct to hold...

    sorry i dont get it.. im using a struct to hold all the necessary information about the module. i cannot pass three arguments to



    students.push_back( StudentModDetail("Database Engineering",...
  3. Replies
    15
    Views
    1,956

    hi, i am fairly new to vectors and having trouble...

    hi, i am fairly new to vectors and having trouble implementing this...

    would it be possible for you to show me how to implement the whole thing?!!
  4. Replies
    15
    Views
    1,956

    Thanks for your speedy replys.. i will try that...

    Thanks for your speedy replys.. i will try that in the morning... really tired now and my eyes are burning...

    i shall get back you to tomorrow... Thanks once again..!!
  5. Replies
    15
    Views
    1,956

    i would like the constructor arguments to adjust...

    i would like the constructor arguments to adjust with the no of Modules enters...

    suppose if no of modules = 3 then i should be able to enter 3 sets of struct objects...

    i dont know what to do...
  6. Replies
    15
    Views
    1,956

    StudentModules sM1 (2,sModD,sMod2,...); thats...

    StudentModules sM1 (2,sModD,sMod2,...);

    thats what i would like to do

    but i get the error message

    'StudentModules::StudentModules' : no overloaded function takes 3 arguments..
  7. Replies
    15
    Views
    1,956

    StudentModDetail sModD = {"Database Engineering",...

    StudentModDetail sModD = {"Database Engineering", "ISYDS2001", 20};

    StudentModules sM1 (2,sModD);


    the above corresponds as the user input...

    this will need further development into MFC or...
  8. Replies
    15
    Views
    1,956

    //this is header file StudentModule.h struct...

    //this is header file StudentModule.h
    struct StudentModDetail
    {
    string moduleCode;
    string moduleName;
    unsigned creditPoints;
    };

    class StudentModules
    {
  9. Replies
    15
    Views
    1,956

    structs and classes problem!!!!

    hi, i am trying to write a program, using classes and structs and inheritence…

    the program kind of represents a university system where tutors teach only specific modules and students are only...
Results 1 to 9 of 9