Thread: String argument
View Single Post
Old Nov 23rd, 2005, 11:50 AM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
The code shown compiles without error, for me, using VC++ 6.0 and VC++ 2005. I didn't try Borland. I did comment out "CVector *matrix;" rather than worry about its definition. I also can't find an error that conforms to your wording, by that could be different compilers. Does the error actually occur/point at what you are showing?
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote