print problem

This is a discussion on print problem within the C++ Programming forums, part of the General Programming Boards category; If someone could help me fix a problem with my almost done program, when i get to my function which ...

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    43

    print problem

    If someone could help me fix a problem with my almost done program, when i get to my function which prints out date it gets to one point of the code and an error comes up when using visual c++ 6.

    This is the part of the code where the error occurs.
    Code:
    void Course :: printCourses(Instructor *S[], Instructor A, int index)
    {
    	
    		if(S[index] != NULL_POINTER) 
    		{
    			 cout<<A.TC[index]->courseDepartment<<endl;
    			 
    		}
    }
    Last edited by maloy; 10-05-2002 at 10:37 PM.

  2. #2
    CS Author and Instructor
    Join Date
    Sep 2002
    Posts
    511
    We have seen this problem before - have we??


    Why have you been making similar posts??

  3. #3
    Registered User
    Join Date
    Mar 2002
    Posts
    43
    this one is different because before i was trying to get to a point where i could print now im there its just not printing everything

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. merging linked lists
    By scwizzo in forum C++ Programming
    Replies: 15
    Last Post: 09-14-2008, 05:07 PM
  2. Problem I Can't solve...
    By ferniture in forum C Programming
    Replies: 3
    Last Post: 07-15-2008, 02:51 AM
  3. Array print problem
    By nixonbw in forum C Programming
    Replies: 2
    Last Post: 03-19-2008, 09:17 AM
  4. Print out first N lines
    By YoYayYo in forum C Programming
    Replies: 1
    Last Post: 02-20-2008, 11:58 PM
  5. Problem With search a file and printing to screen
    By sell682 in forum C++ Programming
    Replies: 4
    Last Post: 05-02-2004, 05:55 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21