hello-
I recommend for you to use webbot lib. For a c/c++ programmer (If you dont know how to program a computer, start at a website or a book to learn), it will be a bit of a shock to the system as, even though you use the same 'if' and 'while' functions, the whole layout and order of programming is different. The only real way to learn is to study some code that does work, look at examples in webbot lib documentation, then just go trial and error. For this, you really must learn and teach yourself.
Don't be intimidated, just start simple. Try to make a led blink once every second, then try to make a led blink when you press a button. Work your way up.
You'll get it eventually
Hope I helped
PS Follow the webbot lib 'getting started' instructions EXACTLY. One little mistake in the set-up can be a big pain later.