Shlok
No no
Dima
It is looking for exam.c, but i am trying to build pattern1.cpp
read the rules before posting screenshots of your display
Shlok
There is only one main in my program
Shlok
/rules
Anonymous
Find the minimum power to which a number must be raised so as to be smaller or equal to another number.
Anonymous
I'm doing : log2l(Another_no)/log2l(current_no)
Anonymous
Is this correct or error prone?
olli
I'm doing : log2l(Another_no)/log2l(current_no)
depends on your input, there is no log of negative numbers Additionall, only looking at positive inputs, doesn't the smallest value always solve the issue?
Shlok
Yes
Shlok
I have deleted that project
Shlok
Making a new one
klimi
Ok
Shlok
The thing i understood is that u can't have more that 1 main in same project
Shlok
I want seperate file for separate program
Shlok
How can i do that?
klimi
Make separate project
Shlok
So 1 project for one program?
klimi
One main, per executable
klimi
If you set your project/compiler/ whatever you want to make multiple executables, it would work too
Shlok
Can't i directly make different multiple files without making project
klimi
Idk I use g++
Anonymous
depends on your input, there is no log of negative numbers Additionall, only looking at positive inputs, doesn't the smallest value always solve the issue?
doesn't the smallest value sovle the issue. Didn't get that. But, another no = 103538299629493, current no. = 46957 gives wrong output correct output is 3, above formula gives 2. So surely above formula is not a correct measure of finding what I need.
Anonymous
/Introduction
klimi
Okay
Anonymous
Please advice on the cheapest laptops for IT students
professor
online?
Anonymous
/Introduction
araragi
Please advice on the cheapest laptops for IT students
Join the #ot and discuss there, your budget, place, specs
araragi
#ot
Javi
Please advice on the cheapest laptops for IT students
That depends on what within IT you are going to work. Will you need a high speed network? Are you going to program gpu? ...
Dima
klimi
Kočka
Anonymous
Kočka
Tak tak
Dima
Bylo nebylo
Roxifλsz 🇱🇹
Ban
Bam
Roxifλsz 🇱🇹
Plox shitpost in the OT chat, my dear admins
Anonymous
That depends on what within IT you are going to work. Will you need a high speed network? Are you going to program gpu? ...
Yes. I am about to start programming and we need those with either pre-installed ubuntu or those that can support it
Tomas
How could I get around ioctl(socket_fd, FIONREAD, &n_of_b_in_socket); Not returning true number of bytes available for reading? Are there other more reliable C ways of knowing how much data is in inet socket available for reading?
Dima
yes, bytes returned from recv/send
Tomas
yes, bytes returned from recv/send
The problem is, I need to know how much data is in socket in advance before read, so what I could malloc my buffer for reading since i dont know how much of data server is supposed to send to my client.
Tomas
I thought of reading byte by byte in a while loop and reallocing buffer with every iteration, but that seems very inefficient to me.
Tomas
Tomas
I guess ill need to implement some sort of protocol, to firstly send packet size. Thanks for your time though.
Vishal
Hi Everyone, Written one more article on reverse engineering c/c++ binary. Do check it out here: http://www.vishalchovatiya.com/hack-c-cpp-application-using-rtld-next-with-an-easy-example/ Suggestions & comments are most welcome. 😊
ASTASHOFF
I guess ill need to implement some sort of protocol, to firstly send packet size. Thanks for your time though.
i'd check custom memory allocation pools in applications similar to yours
klimi
Dima
Growing plants
Dima
klimi
Dima
Oh, the one above
Anonymous
can anyone tell me how to uncomment a multiline cpp snippet using any SHORTCUT key in VS CODE? Eg - /* for(ll i=0;i<n;++i){ cin>>s[i]; } */ into for(ll i=0;i<n;++i){ cin>>s[i]; }
klimi
well and we are here
Dima
well and we are here
Well his page looks good
Dima
No ad
klimi
yes
klimi
idk i use adblocker
klimi
its not bad
klimi
but he should seriously ask about permission
Dima
Well I can give him a chance for a clear page unlike others
klimi
ok
Anonymous
Hi
klimi
hi
Anonymous
Am beginner..
klimi
Am beginner..
welcome beginner
Anonymous
Anonymous
Which programming is easy 1.C++ 2.Java Script 3.Python 4.PHP 5.SQL
Anonymous
My opinion is C++
Dima
this is some silly vote
Dima
ThanQ
RabbitMQ