U can't just assign a string of characters to a char variable. Either use the string class or use a char* variable (@rray).
And if u are going to stick with a char variable, u cannot assign to a char variable a double-quoted string/char. Double quotes specify a "\0" at the end and hence "a" is actually two chars wide.
Learn the pointer fundas to understand this.
__________________
http://myxp.blogspot.com
-----------------------
Winchester 3200+ @2,500MHz
LeadTek 7900GT VOLT MODDED @ 680 core, 1800 mem
2x1GB Transcend DDR400 @ DDR454 2.5,3,3,5,1T
|