c++ basic syntax problems(moving from c# to c++)
I recently used c# and I want to continue programming in c++.
Why? I love game programming and I want to learn DirectX for better
graphics in my games.
When to use '^' sign? (like Dispatchertimer^ a=ref new Dispatchertimer();)
What is difference between new type() and ref new type()? When to use
which one?
When to use auto before a variable or object when making it (like auto foo
= ref new Foo();)?
when do we have to use '::'(like DispatcherTimer::Interval) or '->'(like
a->interval) or '.'(like Timespan.duration)?
Sorry for my basic question's but I'm new to C++ and I cant find answer
for these!
Finding answer for c# questions was so more easy!
No comments:
Post a Comment