Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 8th, 2012  |  syntax: None  |  size: 0.25 KB  |  hits: 15  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data (C  ) [closed]
  2. struct Vector {
  3.  
  4.     float i,j,k;
  5.  
  6. } std::vector pt[size];
  7.  
  8. ... = ... + pt[temp];
  9.        
  10. int x = 7331;
  11. float y = x;
  12.        
  13. float x = 5.0f;
  14.     int y = 2 + x;