Using C++ to program EV3 LEGO

I have to write a code for my EV3 Kit that employ IR sensor to calculate the distance vector when it encounter any obstacle. Please help me how to start.
thank u.
Topic archived. No new replies allowed.