Open main menu

CDOT Wiki β

Changes

Team P - OOP344 20133

5 bytes added, 19:55, 19 October 2013
Discussion
----
;Shreyas:
* I need your help with warning guys i fixed one of them however, the warnings about conversion from 'int' to 'char', possible loss of data are because of (str[*strOffset+*curPosition] = key;)<-this line.I would appreciate is anyone can comes up with an idea to solve it. [It's safe to cast key to char this way: (char) key (C way) or char(key) (C++ way), because we're working in ASCII.(YS)]
* About rest of the warnings I found this link which somewhat explains the problem.
* http://stackoverflow.com/questions/4001736/what-with-the-thousands-of-warnings-in-standard-headers-in-msvc-wall
1
edit