Daniel Duffy
C++ author, trainer
- Joined
 - 10/4/07
 
- Messages
 - 10,820
 
- Points
 - 648
 
It is good discipline to design the class in .hpp with all function prototypes and when complete copy it to .cpp so that you have no mismatch.
Plan B: 1 member function at a time
1. create mf in .hpp
2. body of mf in .cpp
3. Test mf in main()
4. GOTO 1
	
		
			
		
		
	
				
			Plan B: 1 member function at a time
1. create mf in .hpp
2. body of mf in .cpp
3. Test mf in main()
4. GOTO 1