hay
i need to build a simple program in C# or C++ about robot that need to find the short and optimal way from one point to other on ground that have just 3 obstacle that look like rectangle or 2 rectangles connected .
how can i insert in AI algorithm for this program that using a search tree but without learning .
any link or idea be good

I'd say Google is a good place to start. You've used several keywords in your post, I'd run them past Google. Perhaps the links it turns up will help you find other terms that will further help you narrow your search.

[edit]Example.

[edit]There is also this: http://www.aihorizon.com/