klimi
ill give you material then
theFlash
Android material ?
klimi
https://developer.android.com/guide/
theFlash
Thanks bro
klimi
its written there
BinaryByter
Yea but our friend wanted a " press space to ... " solution
klimi
oh
klimi
k
BinaryByter
Yep
Anonymous
Doesn't pause wait for any key?
BinaryByter
I am not too sure
BinaryByter
but @ToadBuster wanted "press space to"
BinaryByter
which would have to be solved with a while (cin.get() != ' ');
Anonymous
kk
klimi
uw paws
Mat
Welcome :D
Tobias🐾🚲
Tobias🐾🚲
I mean you post a link to another tech group of course i'll join. xD
Mat
Ahahaha, great
klimi
^^
Tobias🐾🚲
uw paws
new Fur();
klimi
cool
klimi
cool
Tobias🐾🚲
That is one slow bot.
klimi
more kitties yay
BinaryByter
why isnt that constructor allowed?
Tobias🐾🚲
So erm yeah, @pushpak1997 is apparently in a c++ contest right now and made some abdomination that takes 7 seconds to get all primes up to 20. He wanted to know how to optimize but instead of "profiler" i think he needs "basics c++ 101"
BinaryByter
Show the code
nvm I used the wrong operator order
BinaryByter
i'm stupid
BinaryByter
urgh this fill constructor is just shit
BinaryByter
why doesnt it fill my vector?
Forever seventeen && Already seventy
Forever seventeen && Already seventy
D:
Forever seventeen && Already seventy
BinaryByter
Wrong group
Forever seventeen && Already seventy
i love C
Forever seventeen && Already seventy
but straustrup should take a swim
Forever seventeen && Already seventy
with sharks
BinaryByter
Forever seventeen && Already seventy
why don't you love C?
Forever seventeen && Already seventy
this is elegant language
BinaryByter
clinl.org/faq.html
Forever seventeen && Already seventy
c++ have shitload of UB under the hood
Forever seventeen && Already seventy
absolutely obscure and useless syntax
Forever seventeen && Already seventy
and CLASS word
BinaryByter
Forever seventeen && Already seventy
the keyword class is the most useless feature in the world
Forever seventeen && Already seventy
c also has UB
it' havent)
Forever seventeen && Already seventy
the only thing that people think UB in C is casting
Forever seventeen && Already seventy
but they all documented and you just need to remember few rules
Forever seventeen && Already seventy
(not few actually, but still)
Forever seventeen && Already seventy
it's like unsigned char and char is different types
Forever seventeen && Already seventy
and compiler weighting it like different types
Forever seventeen && Already seventy
the only real problem with C
Stanislav
Anonymous
Hello boys
Stanislav
🤔
Forever seventeen && Already seventy
okay, I didn't know about it
Forever seventeen && Already seventy
and i should test it, but doesn't look like something anybody will use
Forever seventeen && Already seventy
and about CLASS
Forever seventeen && Already seventy
it's so obscure that they have to make whole bunch of new obscure keywords
Forever seventeen && Already seventy
like placement new
Forever seventeen && Already seventy
and so on and so forth
Ludovic 'Archivist'
the only thing that people think UB in C is casting
signed integer overflow is undefined behavior in C
Ludovic 'Archivist'
the only thing that people think UB in C is casting
In C the use of any automatic variable before it has been initialized yields undefined behavior, as does integer division by zero, signed integer overflow, indexing an array outside of its defined bounds, or null pointer dereferencing. In general, any instance of undefined behavior leaves the abstract execution machine in an unknown state, and causes the behavior of the entire program to be undefined.
Ludovic 'Archivist'
In fact, C++ have LESS UB than C
Ludovic 'Archivist'
Because they removed function parameter order UB in C++17
Ludovic 'Archivist'
it' havent)
BTW, I also suggest you to go read this article and to educate yourself: http://blog.llvm.org/2011/05/what-every-c-programmer-should-know.html
klimi
i was in process banning it too
Roxifλsz 🇱🇹
Dima
thread safe banning
Mat
😆
klimi
xD