>>but uh...how do i get it to read after the first space?
Edward is slightly confused. Isn't that what getline is for in your code? Ed's solution was to use get after cin to remove the floating...
Type: Posts; User: Radical Edward
>>but uh...how do i get it to read after the first space?
Edward is slightly confused. Isn't that what getline is for in your code? Ed's solution was to use get after cin to remove the floating...
>>technically linux would fall under unix.
Linux is GNU and everybody knows that GNU's Not Unix. :)
=Ed=
>>#include <stdio>
It's either stdio.h or cstdio, Edward knows of no other version.
Replace...
cin>>id;
with...
cin>>id, cin.get();
and it will work as expected.
=Ed=
>>Does anyone know if it would be faster to use the '*' operator or the '&' operator?
* and & are overloaded operators, do you mean multiplication and bitwise AND or dereference and address-of? If...