BinaryByter
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'
Ludovic 'Archivist'
Which hopefully is not either O(n) because else it would be painful
Joel
Thanks
Ariana
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,
Sourabh
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
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
Anonymous
Vishwa
klimi
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
Anonymous
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
Talula
BinaryByter
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
BinaryByter
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
MᏫᎻᎯᎷᎷᎬᎠ
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
BinaryByter
MᏫᎻᎯᎷᎷᎬᎠ
Anonymous
wait
Anonymous
I typed it wrong on telegram
MᏫᎻᎯᎷᎷᎬᎠ
what
Anonymous
I'll just send screenshot :p]
MᏫᎻᎯᎷᎷᎬᎠ
okay
Anonymous
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