fork download
  1. b.pos.x = (b.pos.y ? (b.pos.x/b.pos.y) : b.pos.x) * (b.speed * timeStep);
  2. b.pos.y = (b.pos.x ? (b.pos.y/b.pos.x) : b.pos.y) * (b.speed * timeStep);
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:1:1: error: 'b' does not name a type
 b.pos.x = (b.pos.y ? (b.pos.x/b.pos.y) : b.pos.x) * (b.speed * timeStep);
 ^
prog.cpp:2:1: error: 'b' does not name a type
 b.pos.y = (b.pos.x ? (b.pos.y/b.pos.x) : b.pos.y) * (b.speed * timeStep);
 ^
stdout
Standard output is empty