View Single Post
Old 02-20-2005, 06:52 PM   #1 (permalink)
7w17ch
Upright
 
Location: 127.0.0.1
[c++] invalid operand issue

ok, i'm working on a program for my c++ class and i think i have everything on th up 'n up but when i compile the app i get this error


Code:
invalid operands of types `const char[43]' and `float' to binary `
   operator+'
from what i can figure out it has to do with my cout << line. i think that message means that it wont let me put a string next to a float. but im not sure. what is that const char [43]'

i'll show my code if you need more, but i think i can handle this if pointed in the right direction.
7w17ch is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60