Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

Why do Qt use pointers instead of simple variable objects?

$
0
0
I’m a newbie on Qt, and sometimes i hesitate choosing between using pointers or simple variable objects. But as i see all the examples in Qt documentation, there are almost always pointers, so i use pointers, but don’t know why really i use pointers? Is there an explanation, do i missed something, somewhere ? I know the general meaning of a pointer in c++ but don’t see the link with the use in Qt…? Maybe, i know my lessons good but my practical vision is quite bad ! Thks in advance :)

Viewing all articles
Browse latest Browse all 13965

Latest Images

Trending Articles



Latest Images