Anonymous
Google for IWallparer interface As far as I know it can give rects of all possible monitors
joel
iwallparer?
Anonymous
Probably I confused the name
Anonymous
IDesktopWallpaper is the right one
Anonymous
https://docs.microsoft.com/en-us/windows/win32/api/shobjidl_core/nn-shobjidl_core-idesktopwallpaper
Koulick Sadhu
Can anyone help me in zombies of codechef
I_Interface
Can anyone help me in zombies of codechef
lol We don't help with things like that Only with code problems / questions about C/C++
Dima
I_Interface
So hard to read the rules :D
Anonymous
Gi
Dima
So hard to read the rules :D
Sometimes even I like to break some rules. But imagine getting into a friendly community and ruining it lol!
Anonymous
Why signed overflow? Does that mean if x is INT_MAX then x+1 will overflow?
Anonymous
Yep
Doesn't the language define that x+1 will become INT_MIN? Hence, UB?
Mat
Doesn't the language define that x+1 will become INT_MIN? Hence, UB?
The language doesn't define anything. That's why it's UB
Anonymous
okk. So, if the language doesn't define anything then on whom does the output of program depend upon?
Mat
okk. So, if the language doesn't define anything then on whom does the output of program depend upon?
Sometimes the compiler, sometimes the hardware. Sometimes it's totally casual
Mat
Surely it's not something you can know while writing your code
Anonymous
Surely it's not something you can know while writing your code
So, printf("%d %d", ++x, x++); is one of them?
Anonymous
UB?
I_Interface
Lol this is a problem name😑😑
Don't ask, just show ur problem with code
Anonymous
#noendl
Ludovic 'Archivist'
This is a bit biased towards people using endl without understanding it. I would actually advise using it for output on std::cerr
Anonymous
All those who learn c++ become as wicked as the compiler
professor
is it possible to run c++ codes in memory or just program some functions of the code running in memory?
Deep
Can i anyone send me one good project on c++
Deep
???
Deep
I need it urgently sir ...
Anonymous
/saved
🎩
/get goodcodingmentality
🎩
#goodcodingmentality
🎩
#learn
🎩
#callingfunction
🎩
#bingo
🎩
#awesomeness
Anonymous
I understand that endl is "\n" + flush and it is 6 times slower than "\n" But, why would anyone use "\n" if it is not getting flushed to the output when the programmer wants it to and getting flushed after sometime which would look like a bad formatting of the output.
DK popa
(RE-POST) Data Structures and Algorithms using c++ Concepts and coding of various data structures and algorithms like Trees, Linked List, Stack, Queue, Sorts and many more Linear and Non-linear Data Structures Non-linear Data Structures like Trees, Binary Search Trees Algorithms like Selection Sort and Insertion Sort with visual description of working of these algorithms Data Structures like Linked lists, stack, Queue, Array, 2D Arrays, BST. Coupon Link http://bit.ly/2LNGSWm Dont forget to share our channel @freecourse 📍Education That Matters📍
Pavel
I understand that endl is "\n" + flush and it is 6 times slower than "\n" But, why would anyone use "\n" if it is not getting flushed to the output when the programmer wants it to and getting flushed after sometime which would look like a bad formatting of the output.
It won't, unless you print from multiple threads. If you just do something cout << "test1\n"; cout << "test2\n"; It will print what you expect all of the time. It what do you mean by bad formatting.
Anonymous
I mean cout << "test1\n"; cout << "test2\n"; cout << "test3\n"; will sometimes give: test1test2 test3 2 newline after test2
Anonymous
I mean these new lines will be printed sometime later and not just where we want them to be printed
Anonymous
How to use printf_() in gcc? It’s showing error.
Anonymous
*printf_s()
Anonymous
The same way as printf
Well it gives error.
Anonymous
In Linux environment
Pavel
In other words "flush" means in this case something like "send buffer to print and clear it". You can send a buffer with \n in it as well as without any. Flush is unrelated to newline.
Jainam
#learn
Anonymous
It doesn't seem as a great course
abhishek
Hi
Anonymous
We need a c++ freelancer for long time development with minimum 5years experience...
Mat
I need it urgently sir ...
Why? GitHub is full of CPP projects that you can contribute to
Harmanjit
Can anyone help me
Harmanjit
I got to solve two question for tomw test
I_Interface
Can anyone help me
Don't ask about help Show ur problem first
Harmanjit
I hv to write a program calculate sum of salalry of one employee for 12 months n decduction using do while loop
Harmanjit
Anonymous
the do while will only execute once, since i will be 2 at that time.
Anonymous
and 2 >= 12 is false.
Anonymous
while(i <= 12);
Anonymous
Also, your function is defined to have a void return type
Anonymous
but you are returning an int.
Harmanjit
Ya
Harmanjit
Got it
Harmanjit
Thx bro