Structure
General and Desktop
2
Posts
2
Posters
1.4k
Views
1
Watching
-
wrote on 12 Mar 2012, 14:45 last edited by
Hello
I am a beginner in C + + and I need an opinion on QT.I want to create an app with a GUI that interacts with an object of type QTCPsocket, but I want this object to be accessible to all forms, like a global variable, to read and write to the socket.
Any thoughts on good practice or an appropriate structure?
att.
-
wrote on 12 Mar 2012, 20:38 last edited by
Put a pointer of your QTcpSocket object statically in one of your class, but I think that a book on C++ introduction could help you more than me! ;-)
1/2