psy4
a complete revision, If i may
psy4
I meant the complete revision of some modules 😉
psy4
Bjarne will lose it before that
Francisco
One thing I completely hate is std::vector<bool> specialization
Francisco
And it's a complete mistake
Liam
Liam
looks like a feature...
https://en.cppreference.com/w/cpp/language/class_template_argument_deduction
Francisco
It is indeed, but I rarely use it
Francisco
And that example shows how badly designed initializer_lists are
Liam
It's a syntactic toxin.
Dima
is it a bot?
klimi
Probably
Sarbajit Ghosh (সর্বজিৎ ঘোষ)
why this is not an infinite loop?
#include<stdio.h>
main(){
int i=5;
for( ; i ; ){
printf("%d ",i);
i--;
}
But this is an infinite loop?
#include<stdio.h>
main(){
int i=-5;
for( ; i ; ){
printf("%d ",i);
i--;
}
BinaryByter
neither are infinite loops
BinaryByter
atleast not in practice
Sarbajit Ghosh (সর্বজিৎ ঘোষ)
Second loop is infinite loop
BinaryByter
however, since the second case is undefined behaviour, it might have a worst case runtime of inf
BinaryByter
Sarbajit Ghosh (সর্বজিৎ ঘোষ)
Ok
Sarbajit Ghosh (সর্বজিৎ ঘোষ)
But I can't understand why the first look terminates at 0.
BinaryByter
any int that isn't 0 is true
BinaryByter
5 - 1 = 4
etc
... 0
BinaryByter
- 5 - 1 = -6
- 0xFFFFFFFF
0xFFFFFFFF
etc
Sarbajit Ghosh (সর্বজিৎ ঘোষ)
Ok I got it.
many many thanks.
🙂🙂🙂🙂🙂🙂🙂🙂🙂
klimi
Dima
https://devblogs.microsoft.com/cppblog/clang-llvm-support-in-visual-studio/
Dima
klimi
Microsoft is doing dodgy stuff
BinaryByter
so is RMS
BinaryByter
he has always been doing dodgy stuff
BinaryByter
else he wouldn't have written gcc while being high 😂
Lalit
/get learn
Dima
What the.. chinese bots again?
Rebane
Depends on how efficient
Rebane
But yes
Rebane
I've been able to do it on 1080@60 video
Rebane
realtime
Rebane
While processing it
Rebane
I don't know shit about C++ so you'll have to find out how from someone else. But yes, you can definitely do that in C++ (and probably C)
Rebane
I didn't use the pillow library for my C++ use, but I do usually use it in Python and it's quite easy to use
Rebane
I think there was a version for C++ of it
Rebane
So I'd recommend checking that out
Rebane
Did he get banned?
Dima
who?
Rebane
The guy I was answering questions of
Rebane
Don't remember the name
Rebane
hunchoASH, I think he just deleted the messages idk
Zorrito
I'm trying to set up Eclipse on Lubuntu. Can anyone help me with it? It's already installed, but it won't open.
Raul
Zorrito
Anonymous
hi
Anonymous
Hiiii guys
Anonymous
chat is very active kumar
DIGVIJAY
Ok
Hakker
i have been given a project to make on c , suggest me some ideas
Hakker
i have learned following topics of c
Hakker
if else, arrays, recursion, 2D arrays, strings, pointers,functions, loops
klimi
Make calculator
psy4
Corn
I apologize for the noob question and cannot find a proper answer with Google but is variable(int); the same thing as int variable; ?
Anonymous
Has anyone worked on TCP Hole Punching using c++. I am not able to find proper resources regarding it.
Corn
Got it. I figured out my answer. Thank you
Sandeep
😍
un_known_
Hey people! Can we say cout<<“”; statement is also a example of function overlooking??
klimi
klimi
Welcome John
klimi
If you have read the rules properly you would know that there is "no homework requests"
klimi
This is just saying, you're my slave do job for me
klimi
You are welcomed to ask questions
klimi
Post the code
klimi
The first forloop
Dima
read the rules
Dima
no photo of a screen
un_known_
Sorry it’s operator overloading
Dima
no
Dima
read the rules