View Single Post
Old Dec 6, 2006 | 08:18 PM
  #6  
VPUPPY's Avatar
VPUPPY
Senior Member
 
Joined: Nov 2002
Posts: 1,975
Likes: 0
From: Orlando, FL
Default

c_str() returns a pointer to a constant. you are trying to initialize a non-constant variable to a constant. try setting the return value equal to a const variable to be used as a buffer possibly.
Reply