How can I profile how much time does each funtion take, specially OpenGL and rendering?
I remember that Turbo C++ in dos times had profiler but is there similar tool for MSVC++6.0?

Yes, MSVC++ (at least enterprise edition) has a profiler. I can also recommend to write an own. After I wrote one I saw an example in Game Programming Gems. Quite useful.

Both Proffesional and Enterprise editions should have profilers. First in Project Settings enable profiling and then click Build/profileā€¦