English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

ive tried the following:

bodyaim=radaraim
bodyaim==radaraim
bodyaim (radaraim)

if u want to check the game out urself search for robot battle game on google or something and download it. im using this game to teach myself about programming.

2006-08-29 09:46:59 · 4 answers · asked by Anonymous in Computers & Internet Programming & Design

ive tried the following:

bodyaim=radaraim
bodyaim==radaraim
bodyaim (radaraim)

if u want to check the game out urself search for robot battle game on google or something and download it. im using this game to teach myself about programming.


And no, changing it to radaraim=bodyaim doesnt work either, it changes the value of radaraim to equal bodyaim, i want bodyaim to change and equal radaraim.

2006-08-29 10:09:07 · update #1

4 answers

Assuming this is some type of C(like) language, the proper syntax would be

bodyaim=radaraim

you can check the new value of bodyaim by doing this after you try the statement...
if (bodyaim==radaraim)
{
cout << "bodyaim IS equal to radaraim" << endl;
cout << "woot";
}
else
cout << "bodyaim IS NOT equal to radaraim";

The variable that gets changed is on the left, the one that stays the same is on the right.

EX VARIABLECHANGED = VALUE TO CHANGE TO

bodyaim==radaraim

This is a compassion operator, used in things like if and case statements...eg
if(one==1)
cout << "FIRE ZE MISSLES!!!!"


bodyaim (radaraim)...this should actually do nothing at all, since there is no syntax on what to do here, if you want to mupltiy the variables bodyaim * (radaraim) would be the syntax.

If bodyaim=radaraim doesn't work, then theres something else that is wrong, possibly the fact that these variables are different types, you haven't listed an error message, so I wouldn't be able to tell you.

2006-08-29 12:08:25 · answer #1 · answered by D 4 · 0 0

India had an extensive to appropriate journey after Australia's first innings batting,i presumed it grow to be stable first innings from Aussies yet India scored so speedy owing to Dhawan and co and Australia's 2d innings capitulation that befell so rapidly on the final day won't be able to be defined even by utilising Ian Chappell.Batting for India clicked so properly in this sequence,that they had an extensive to appropriate journey.Australia ought to've drawn this journey yet they ended up dropping on the final day owing to 3 unfavorable batting in 2d innings.

2016-10-01 01:32:23 · answer #2 · answered by ? 4 · 0 0

well you have to find out the logic behind this. being a programmer requires a lot of logic.

just declare a variable radaraim = bodyaim

that's all. and all your bodyaim will be equal to radaraim.

2006-08-29 10:00:20 · answer #3 · answered by ritziyap 2 · 0 0

wqeew

2006-08-29 09:52:44 · answer #4 · answered by Casey D 1 · 0 0

fedest.com, questions and answers