BinaryByter
Pre-DNA genetics caused the Holocaust
Well... anne frank couldnt finish writing her book because of concentration problems
Anonymous
Here I have the code for multiplying two numbers without the native multiplication * in O(logn)
Anonymous
https://www.sanfoundry.com/cpp-program-implement-russian-peasant-multiplication/
Dima
lol gg
Ludovic 'Archivist'
https://www.sanfoundry.com/cpp-program-implement-russian-peasant-multiplication/
Quite a classic, same principle as pen and paper multiplication
Ludovic 'Archivist'
Which hopefully is not either O(n) because else it would be painful
Joel
Thanks
Manisha Singh
Thanks...bt if one number is 0 then...the output will be the same?
Sourabh
ans 0 it will print value of d, loop wont execute,
Isaac
http://www.doc.ic.ac.uk/lab/cplus/c++.rules/chap5.html
Isaac
For good pratices in c++
Silvestr
Hello all, how I can look at which static library boost build asio?
Silvestr
and it's dependencies
Vino
OK i agree
klimi
OK i agree
Cool , welcome
Anonymous
Can anyone explain this one?? How a file extension work and how you can create your own file extension??
Anonymous
HI
Anonymous
ANY THAMIZHANS
Francisco
Can anyone explain this one?? How a file extension work and how you can create your own file extension??
In Unix systems there're no such things as "file extensions" (if I'm not wrong). It's the programs that process those files the ones that may care about the extensions. In Windows I'm not entirely sure as I don't use it at all
klimi
Filename.extension
Anonymous
What is relation between lcm and gcd like lcm=gcd/min(a,b) is this right or wrong
Anonymous
In c++
klimi
.txt <3
klimi
Shebang ftw
BinaryByter
Can anyone explain this one?? How a file extension work and how you can create your own file extension??
to create your own file extension, you will have to sacrifice a virgin's blood (just take anybody in here) and you will have to eat a vegan meat substitute. while doing so, moan the name of the new file extension
klimi
Text editor can open everything
klimi
Emacs is text editor
klimi
Btw
BinaryByter
I will kill you and sacrifice your blood to create the .virgin extension
BinaryByter
used in olive oil factories to store the tracking data of flasks of olive oil
BinaryByter
perfect
BinaryByter
which meat substitute shall I take?
Talula
Your life seems shit because you don't sleep properly.
Anonymous
Thats everything cool, but ot
BinaryByter
Your life seems shit because you don't sleep properly.
if he was depressed (which I don't think he is), sleeping wouldn't solve a lot
Talula
BinaryByter
He says he sleep in the morning and stays up at night.
just not sleeping won't make you depressed
BinaryByter
having a drastic change in sleeping schedule might
BinaryByter
Are you depressed?
BinaryByter
Good 😅
BinaryByter
depression is actually a comorbid disease to chemical addiction
BinaryByter
(MICA -> mentally ill and chemically addicted)
BinaryByter
in short: don't get too high, people
BinaryByter
:D
BinaryByter
What do you usually get high on?
Anonymous
Wtf, this is absolutly not the right place here
Anonymous
How about talk in the ot group
BinaryByter
don't use move, it has overhead
Anonymous
hi guys, I have a problem here: I just create a simple empty header file with just this: #pragma once #include <iostream> namespace cool { void Thething() { cout » "yo, whussup" } } when I build the header file it should be generating a .lib file, but I got no .lib file oh, and I have changed the configuration properties type to Static library but still not working.
Anonymous
BinaryByter
unless he's programming very old C++
Anonymous
using namespace std;
Anonymous
is that it?
MᏫᎻᎯᎷᎷᎬᎠ
it should be std::cout «"yo, wossup";
MᏫᎻᎯᎷᎷᎬᎠ
and « not »
Anonymous
oops
MᏫᎻᎯᎷᎷᎬᎠ
wtf?
what
Anonymous
wait
Anonymous
I typed it wrong on telegram
MᏫᎻᎯᎷᎷᎬᎠ
what
Anonymous
I'll just send screenshot :p]
MᏫᎻᎯᎷᎷᎬᎠ
okay
MᏫᎻᎯᎷᎷᎬᎠ
Hehehe no
I once did that
Anonymous
oh
Anonymous
alright
Anonymous
MᏫᎻᎯᎷᎷᎬᎠ
too late cuz I read the code :P
Anonymous
#pragma once #include <iostream> #include <string> using namespace std; namespace frm { void Register(string itemName, string itemContent, int itemType) { std::cout << "[" << itemType << "]" << itemName << ": " << itemContent << endl; } } ========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
Anonymous
there