Tushar
Any good book for Data Structures with C
Anonymous
Cloud9
Thanks
klimi
Jussi
How can I disable drag&drop in a gtkmm application? I can disable dragging by connecting signal_drag_begin() signal into a handler and calling gdk_drag_abort() inside it, but for some reason I cannot connect any dropping signals (I've tried signal_drag_motion() and signal_drag_drop())
Jussi
The widget I'm trying to disable these functions for is a webkitgtk2 WebView
Anonymous
3
Anonymous
Hello guys, im have Web E-Business How to auto paying in Website?
Anonymous
Auto paying from bank
Anonymous
Ok
Dima
What the hell
Dima
Anonymous
Hey guys I need your help to solve a problem I have to print both the statements in if and else in a single go is there any way possible
klimi
yes
Anonymous
Ok tell me what condition I have to use of how to do it?
klimi
its called inline if statement
klimi
i think
klimi
http://www.cplusplus.com/forum/lounge/6307/
Anonymous
Ok I will check the link thanks for help
Anonymous
I am talking about a method using simple if else statement Like If{ ... } else{ ... }
klimi
ok
Anonymous
And both should execute is that possible ?
klimi
no
klimi
just like it is name... THAT OR THAT
Anonymous
In a single go without any loops or goto statement
klimi
like
klimi
if { std::cout « "Hello";} else {std::cout « "world";}
klimi
and the output should be Hello world
klimi
?
Anonymous
My professor said it is possible and he assigned us to find that condition
Anonymous
Yes
klimi
@qneko
klimi
Anonymous
Ok I will try this hope it's work
Anonymous
One of the possible solutions is this I searched google for this If(!printf("hello")) { cout<<"hello"; } else { cout<<"world"; }
Anonymous
Hi
klimi
hello
klimi
/warn promo
Anonymous
It worked bro thanks for the help
klimi
no problem
Anonymous
Anonymous
Dima
don’t post photo of screens
Dima
this is silly
klimi
that conio is killing me
klimi
but
Dima
What the hell is going on
Anonymous
that conio is killing me
Why it's for the getch() function
klimi
whats that good for
Anonymous
It is useful for holding the output screen
Anonymous
As some time it just flash and go in seconds
Anonymous
It is useful for holding the output screen
Shouldn't the IDE do that by itself?
Anonymous
Shouldn't the IDE do that by itself?
Some does some don't so it get in my practice to add one
Anonymous
So I don't have to worry about the output any more
Anonymous
How did the macro in this condition made it possible to execute both the conditions in program any explanation though ?
Victor D.
Why it's for the getch() function
You could use getchar() from cstdio instead
klimi
or else
klimi
i dont remember
Anonymous
It says else redefined in debug
Sudip
Dev C++ is not a compiler
So what is dev c++
Artöm
ide
Artöm
Arguably thr worst one
Artöm
Any best compiler for c programme
Pure c? win: msvc is more c++ oriented, but works. lin: clang + vim/vscode/clion/qtcreator/your_preferred_editor
Artöm
clang + clion works for win too
Artöm
clang vs gcc is holywar, so choose yourself here
Artöm
Oh, and mac: xcode or just clang+editor
Dima
where these noobs are coming from lol!
Thor
where these noobs are coming from lol!
Power full people comes from POWERFUL places😂
Anonymous
how to update password in table mysql? I followed what google instructed but it wont update my pasword
Anonymous
db.execute("UPDATE users SET password=password WHERE username=:username",{"username":username,"password":secure_password})
Anonymous
"COMMIT;"
yeah, I have that
Francesco
I got 27 in my C test at university
Anonymous
db.execute("UPDATE users SET password=password WHERE username=:username",{"username":username,"password":secure_password}) db.commit() flash("Saved Successfully","success") return redirect(url_for('home'))
Thor
😜