BinaryByter
but in a different context, they might act differently
BinaryByter
int a {10}; int a = {10}; the first one is a constructor, the second one is assigning a brace-enclosed initializer list
BinaryByter
but in C++17 there is this intriquacy that single item initializer lists are handled differently in order for auto a = {10}; not to be interpreted as a being an initializer list
Anonymous
Okay
Anonymous
Can anyone suggest me a good book for learning C Language
Anonymous
If anyone know then please suggest me
Dima
www.google.com
Dima
read the rules
Francisco
I'd prefer auto i = int{10};
Anonymous
I think this group is only for wasting time ....
Francisco
BinaryByter
BinaryByter
please use modern C++!
🐰🐾 سمیه
Can anyone suggest me a good book for learning C Language
It's not bad, but is a little confusing.
BinaryByter
We call that "mother"
itsmanjeet
BinaryByter
no, the troubleshooting program is probably more like a "send telemetry to windows"
Dima
indian code lol
Dima
#ot
olli
but in C++17 there is this intriquacy that single item initializer lists are handled differently in order for auto a = {10}; not to be interpreted as a being an initializer list
Does not work for assignments http://eel.is/c++draft/dcl.spec.auto#dcl.type.auto.deduct-4 // decltype(x4) is std​::​initializer_­list<int> auto x4 = { 3 }; auto x = int{1337}; works though
BinaryByter
wasnt there something that fixed this in C++17?
BinaryByter
lol
BinaryByter
anywayyy, i'm busy learning dart :D
olli
wasnt there something that fixed this in C++17?
Yes, the behavior of auto X{17}; changed
BinaryByter
Oh right!
Milap
In how many ways can we sort array of numbers in c?
Nikolas
like, many many many ways
Milap
Can anyone explain me bubble sort?
Nikolas
Wikipedia for sure
Nikolas
Btw, if you need an idea of "how many": https://en.wikipedia.org/wiki/Sorting_algorithm#Comparison_of_algorithms
Milap
Thanks..
Nikolas
Bubble Sort is here, and it also has a nice animation showing how it works
Nikolas
https://en.wikipedia.org/wiki/Bubble_sort
🐰🐾 سمیه
Why I got a warning? 😳
🐰🐾 سمیه
in many ways
I really didn't know that was not free, could you remove my warning please?
BinaryByter
I would have, but its only fair that you get a warning since others also get a warning for that
🐰🐾 سمیه
BTW I did it unintentionally 😢
BinaryByter
i know
BinaryByter
:(
shoker
how do i fix this
Nikolas
look before int, as the compiler is telling you
Nikolas
there is something missing
Nikolas
also, I can't really see the point of line 13 in your code
Nikolas
what might that be
before also mean "the lines before"
shoker
got it thanx
shoker
what of this one
meis
int main(); > int main() { float x = 0, y = 10, z; ... }
BinaryByter
what of this one
have you programmed javascript before?
klimi
what of this one
z is not defined
Mat
what of this one
Please, read online how to do basic stuff :/
Ariana
looks like a neural network trying to code
Anonymous
Hey guys! I'm not know about c++ programing,but now I'm student in university and take this course so please help me
Mat
Second tip: read
Anonymous
Second tip: read
Thanksgiving info
ʞǝʌın
How to set the massif from 3 to 6? If(a[i]>3, a[i]<6)?
Dima
Lmao massif
Mihail
Massive
I've never heard of such thing. Maybe you mean array?
ʞǝʌın
Bag of numbers from 3 to 6
Mihail
Bag of numbers from 3 to 6
int a[5]; this is an array. is this what you're asking about?
ʞǝʌın
No, bag of sets 3,4,5,6
Mihail
What's a bag of sets?
Milap
Can I define Char a[10]?
ʞǝʌın
What's a bag of sets?
Range of numbers which have to be given the rest
Milap
yes
Ohh
Mihail
Range of numbers which have to be given the rest
what do you mean by "have to be given the rest"?
Milap
Strcmp command gives output 0 if both strings are same otherwise gives 1... Am I correct? Just want to confirm.
ʞǝʌın
what do you mean by "have to be given the rest"?
That is rejects all other numbers except set
ʞǝʌın
Ignore -unlim...2 and 7...unlim
Mihail
so you want to check if a number is between 3 and 6?