Search:

Type: Posts; User: sivapc

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    2,053

    no.. :(

    no.. :(
  2. Replies
    8
    Views
    2,053

    still not sure in this :( just don't know...

    still not sure in this :(

    just don't know where to start.. can't find any help from www also..
  3. Replies
    6
    Views
    1,465

    #include using namespace std; ...

    #include<iostream>
    using namespace std;

    template < class T >
    T printArray(const T *array, const int count,int lowsub,int highsub)
    {
    if(highsub>count || highsub<=lowsub)
    return 0;
    else
    {
  4. Replies
    6
    Views
    1,465

    oh.. thanks sir.. will try to work on this...

    oh..

    thanks sir.. will try to work on this template (pardon the pun)
  5. Replies
    8
    Views
    2,053

    thanks sir.. what is a null terminated string...

    thanks sir..

    what is a null terminated string and how does it work with the linked list?? (just so that i can understand the question even more)
  6. Replies
    6
    Views
    1,465

    the template.. i did normal main program by...

    the template..

    i did normal main program by doing a function and initialized two arrays.. but only later realized we need to use the template for it..
  7. Replies
    6
    Views
    1,465

    Help on array comparison

    Ok.. trust me, this is the final question from me..




    really confused with this... any guidance on this?? pls
  8. Replies
    8
    Views
    2,053

    Help on Linked List Search

    Hello guys..

    i'm stuck (on this problem) while doing revision questions for exam next week. I just understand this question.

    Can you please make it understandable and guidance (on how to do...
  9. Replies
    1
    Views
    1,455

    Help with Polymorphism

    Ok.. this is an assignment.. i'm not going to lie.

    but i have done almost everything of it.. just need some help on the stl <vector>/ <list>


    #include <iostream>
    #include <vector>
    #include...
  10. Replies
    13
    Views
    7,726

    split explicityly.. hmm.. can you explain it a...

    split explicityly..

    hmm.. can you explain it a bit..
  11. Replies
    26
    Views
    5,623

    void addStudent () { Student *temp; ...

    void addStudent ()
    {
    Student *temp;
    temp = new Student;

    CourseSection *cs;
    cs = new CourseSection;

    cout<<"Enter Course Section:"<<flush;
  12. Replies
    26
    Views
    5,623

    in the add course section function or in add...

    in the add course section function or in add student function??
  13. Replies
    26
    Views
    5,623

    courseSection *section inside the student...

    courseSection *section

    inside the student struct?
  14. Replies
    26
    Views
    5,623

    it compiles without error.. how can i link the...

    it compiles without error..
    how can i link the student struct to the course??

    sorry for disturbing.. but i'm just so amateur at this
  15. Replies
    26
    Views
    5,623

    declare the student struct twice?

    declare the student struct twice?
  16. Replies
    26
    Views
    5,623

    then how? i have a student struct already.. i...

    then how?

    i have a student struct already.. i can add new students, new course, and new sections..

    but can't link them :(

    maybe addCourseSection(courseSection cs) // something like this??
  17. Replies
    26
    Views
    5,623

    inside the main or outside the main?? i...

    inside the main or outside the main??

    i already have a student structure.. with the attributes.
  18. Replies
    26
    Views
    5,623

    struct CourseSection { char...

    struct CourseSection
    {
    char sectionNumber [20];
    int startTime;
    int startDate;
    int roomNumber;
    Student *studentPointer;
    CourseSection...
  19. Replies
    26
    Views
    5,623

    er,, do you know how to add students to the...

    er,, do you know how to add students to the course??

    i tried this..


    void addStudent (CourseSection cs)
    {
    CourseSection *temp;
    temp = new CourseSection;
    Student *temp1;
  20. Replies
    26
    Views
    5,623

    oops.. ok.. courseSection *firstCourse,...

    oops.. ok..

    courseSection *firstCourse, *secondCourse, etc??

    like that?
  21. Replies
    26
    Views
    5,623

    so what was wrong in Student *studentNxt...

    so what was wrong in

    Student *studentNxt
    Student *firstCourse, *secondCourse etc??
  22. Replies
    26
    Views
    5,623

    hmm.. i thought the next pointer is to point to...

    hmm.. i thought the next pointer is to point to the student and course pointers to point to the course sections that the students are taking..

    just dumbfounded, atm.
  23. Replies
    26
    Views
    5,623

    struct Student { char name [30]; ...

    struct Student
    {
    char name [30];
    char studentId [30];
    char major [30];
    Student *StudentNxt;
    Student *firstCourse, *secondCourse, *thirdCourse, *fourthCourse...
  24. Replies
    26
    Views
    5,623

    you mean like this?? struct Student { ...

    you mean like this??



    struct Student
    {
    char name [30];
    char studentId [30];
    char major [30];
    Student *firstCourse, *secondCourse, *thirdCourse, *fourthCourse;
  25. Replies
    26
    Views
    5,623

    thanks.. but can't quite understand what...

    thanks..

    but can't quite understand what you're trying to say.. (a bit beginner at this)..
Results 1 to 25 of 34
Page 1 of 2 1 2