WaltP commented: I could have told him that -- I wanted him to look it up -4
sergent commented: Stop downvoting people WaltP! You are so mean. He was just trying to help! +0
832
got to go, bye abellazm
Hello niths,
Words are separated by spaces. Find where the first space occur. The characters preceding the space will give you the word.
Since you want the last word of the string look for the space from the end.
>>abellazm
You are fast in typing.
780......
780...
I meant system("copy file.txt folder");
// i gave that as a comment.
For example...
system("copy myfile.txt c:\my\location");
You can use system() command to do that.
system("//copy file.txt folder");
Yes, by doing so you won't get those errors.
oops sorry, I made a mistake. You cannot have reference to an array. So remove the &.
And also remove it in line 58 and also in lines 202, 204.
addCar(fleet[i]);
So the fleet[] in the main will not be modified by addcar() or any other function.
It shows undefined reference because the functions showFleet, addcar are not "call by reference " functions.
no abellazm, i couldn't check it, i don't have c# compiler and i didn't download some also.
Did you do what myself and abelazm said, modifying the double values with .00 ?
Like this...
double actual_width_adi_height = widht / 12.00;
double result = (actual_width_adi_height * actual_width_adi_height) / 16.00;
I couldn't understand your problem. But i assume that you are not getting the right answer sometimes. Try modifying line 1 like this...
double height_in_feet= 48.00/12.00
can you post your code ?
As waltp said reread the syntax of strcpy(). It should be like this.
strcpy(string,"HELLO");
strcpy( /*character array which will hold the text after copying */ , /*string that is to be copied into another array*/ ) ;