Open main menu

CDOT Wiki β

Changes

Team P - OOP344 20133

119 bytes added, 20:39, 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.[You're doing this assigment only if (key >= ' ' && key <= '~') is true, so it's safe to cast key to char. - Yan Song]
* 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