Anonymous
Use Qt for building UIs
@unchanted
Yes actually i wanted to know how to define a project for that..
@unchanted
I used c++ and windows desktop to define my project
Anonymous
Please do not use WinApi for building UIs
@unchanted
I searched it even on the microsoft page but it felt difficult to go through with it
Anonymous
Why though?
1) it's ugly 2) hard to read and maintain 3) non cross-platform
@unchanted
Thanks for this
Anonymous
Any alternative?
As I already told you — Qt Framework
Anonymous
Yep they are pushing WPF
@unchanted
Don't know why my prof is teaching us windows api 😠
@unchanted
Ok i will figure it out thanks bty
Anonymous
Don't know why my prof is teaching us windows api 😠
Because Indian education system is not good generally?
Dima
because they don’t know what they are doing
@unchanted
Because Indian education system is not good generally?
Yeah you are right 😅 Can i ask doubts regarding to qt framework here?
@unchanted
In this group?
Anonymous
Qt is actually popular in Russia
Anonymous
Yeah you are right 😅 Can i ask doubts regarding to qt framework here?
You can try, I'm not a Qt programmer either There's a group for Qt development @CplusplusQt
@unchanted
Thanks
Anonymous
But WPF is not cross-platform
@unchanted
C# is similar to c/c++ ?
Tokin
Welp
Anonymous
Well it's offtopic too..
@unchanted
You aren't in c/c++ OT?
Tokin
Boost is something I'm never getting into either
Anonymous
Boost is something I'm never getting into either
Qt and Boost are two main set of libs in C++
Dima
you can always write your own
Anonymous
you can always write your own
Yep and shoot the leg
Tokin
Ah right.. My bad.. I planned to not touch C++ for as long as possible..
Dima
Yep and shoot the leg
or boost your butt:D
Tokin
try C then lol
Ofc that's the plan
Tokin
C89/C99
Anonymous
C89/C99
ANSI C.. mmm..
Tokin
Not sure many would like that.. But some even hate "modern" ..
Tokin
I am spending way more time or forums and opinions and stuff.. Well it's time to practice :D
Anonymous
@lightness_races_in_orbit, why did you leave the ot chat? I forwarded the discussion there @Tanmaykumar1 has some questions for you
Anonymous
Since politics is forbidden there...
Dima
imagine talking about politics. lol
Dima
cool, I don’t remember
Nils
enum connectionStates { disconnected, loginConnecting, registerConnecting, connected } connectionState = disconnected; Why does connectionState have a "non-automatic storage duration" causing a warning in lambda captures?
Indolent
My findLoop function in linked list is giving an segmentation fault core dumped error. What could be happening?
Indolent
https://pastebin.com/0pePpkYA
Indolent
https://pastebin.com/0pePpkYA
Why does the findLoop() function gives segmentation fault(core dumped)?
Nils
Ahhhh yeah makes sense
Nils
Thx
Indolent
I'm in some deep shit. But thanks for taking a look!
Abd
Anonymous
ok
Dima
welcome
Anonymous
thnxx
Dima
lol
Dima
great work, high five!
Wild
Thanks
Ajay
Want to confirm that below is legal in cpp11 and not before it struct foo { bool a = true; bool b = true; bool c; } bar;
Anonymous
Anonymous
Hello everybody
Alion🦁
hi
Eliézer
Good morning , how make create a client websocket , using Qt's native libraries
Anonymous
Hello
Anonymous
Hello I am new here I want to start learning c/c++ from beginning can anyone help me
Anonymous
Hii sir and madam
Nils
Hi, is this valid: char *loginStatus = reinterpret_cast<char*>(malloc(sizeof(char))); ?
Alex
just use char *loginStatus = malloc(sizeof(char));
Liam
just use char *loginStatus = malloc(sizeof(char));
just use char* loginStatus = new char;
Nils
just use char* loginStatus = new char;
Do I have to free() the variable afterwards?
Liam
Do I have to free() the variable afterwards?
yes, you may need to delete loginStatus later.
Nils
char* loginStatus = new char; { /* Some code that modifies loginStatus in another thread */ } // Wait for login result while (*loginStatus == 0); // Copy and free up login status char loginStatusCopy = *loginStatus; delete loginStatus; return loginStatusCopy == 1; Can you see anything wrong here? I have UB :-/