Hi!, i started writing a socket program using C in linux . but i also want to add GUIs to it by

using QT or GDT+ .so i dont know wether my existing C code can be used if i started a QT

GUI writing in C++. Is it possible to intigrate both these languages in QT.Or do i have to do the Socket programming in C++ ? Is there a big difference?.

I'm a beginer in both these languages so please tell me what to do.
Thnak you!