Click here to Skip to main content
15,908,437 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: convert from size_t to unsigned int Pin
George_George28-Jul-07 3:36
George_George28-Jul-07 3:36 
GeneralRe: convert from size_t to unsigned int Pin
Eytukan28-Jul-07 4:05
Eytukan28-Jul-07 4:05 
GeneralRe: convert from size_t to unsigned int Pin
George_George28-Jul-07 19:28
George_George28-Jul-07 19:28 
AnswerRe: convert from size_t to unsigned int Pin
Roger Broomfield28-Jul-07 3:03
Roger Broomfield28-Jul-07 3:03 
GeneralRe: convert from size_t to unsigned int Pin
George_George28-Jul-07 3:27
George_George28-Jul-07 3:27 
GeneralRe: convert from size_t to unsigned int Pin
Eytukan28-Jul-07 3:33
Eytukan28-Jul-07 3:33 
GeneralRe: convert from size_t to unsigned int Pin
George_George28-Jul-07 3:38
George_George28-Jul-07 3:38 
GeneralRe: convert from size_t to unsigned int Pin
Eytukan28-Jul-07 4:14
Eytukan28-Jul-07 4:14 
Here[^]
Relatively it's a simple question, wondering it required so much explantion. Think it this way,
Floats are meant for storing percision data, if you store a float value in an int? wont it loose the precision? But you are not going to do that right? the same way unless or otherwise you manually do something like :
<br />
void myFunction(size_t sz)<br />
{<br />
<br />
}<br />

and pass something like
myFunction(-100);
There's no possiblity of loosing data. In short, It looks you aren't sending negative values in your code so please ignore the warning.






He's become a household word in the Lounge. A whole new phraseology has evolved. Post a link or reply with a smiley and rose, and you've made a "Satipsism". So what? It's an interesting thing about the Internet, the evolution (as in change, not progress) of tone, quality, terminology, etc.

-Marc Clifton.

Best wishes to Rexx[^

GeneralRe: convert from size_t to unsigned int Pin
George_George28-Jul-07 19:30
George_George28-Jul-07 19:30 
AnswerRe: convert from size_t to unsigned int Pin
bob1697228-Jul-07 5:18
bob1697228-Jul-07 5:18 
GeneralRe: convert from size_t to unsigned int Pin
George_George28-Jul-07 19:33
George_George28-Jul-07 19:33 
GeneralRe: convert from size_t to unsigned int Pin
bob1697228-Jul-07 20:43
bob1697228-Jul-07 20:43 
GeneralRe: convert from size_t to unsigned int Pin
George_George28-Jul-07 21:55
George_George28-Jul-07 21:55 
GeneralRe: convert from size_t to unsigned int Pin
bob1697229-Jul-07 18:13
bob1697229-Jul-07 18:13 
GeneralRe: convert from size_t to unsigned int Pin
George_George29-Jul-07 18:25
George_George29-Jul-07 18:25 
AnswerRe: convert from size_t to unsigned int Pin
Mark Salsbery28-Jul-07 6:44
Mark Salsbery28-Jul-07 6:44 
GeneralRe: convert from size_t to unsigned int Pin
George_George28-Jul-07 19:34
George_George28-Jul-07 19:34 
GeneralRe: convert from size_t to unsigned int Pin
Mark Salsbery30-Jul-07 4:53
Mark Salsbery30-Jul-07 4:53 
GeneralRe: convert from size_t to unsigned int Pin
George_George30-Jul-07 18:54
George_George30-Jul-07 18:54 
AnswerRe: convert from size_t to unsigned int Pin
Stephen Hewitt29-Jul-07 15:06
Stephen Hewitt29-Jul-07 15:06 
GeneralRe: convert from size_t to unsigned int Pin
George_George29-Jul-07 18:24
George_George29-Jul-07 18:24 
GeneralRe: convert from size_t to unsigned int Pin
Stephen Hewitt29-Jul-07 18:26
Stephen Hewitt29-Jul-07 18:26 
GeneralRe: convert from size_t to unsigned int Pin
George_George29-Jul-07 18:57
George_George29-Jul-07 18:57 
QuestionHow to search a value of a variable of an object in a list of objects Pin
beriho27-Jul-07 20:24
beriho27-Jul-07 20:24 
AnswerRe: How to search a value of a variable of an object in a list of objects Pin
Christian Graus27-Jul-07 20:41
protectorChristian Graus27-Jul-07 20:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.