MᏫᎻᎯᎷᎷᎬᎠ
Then
MᏫᎻᎯᎷᎷᎬᎠ
Why there is no packaged API coming with C++?
MᏫᎻᎯᎷᎷᎬᎠ
Like GUI
Nine
Can you help to make program which can list like the first 10 fibonacci numbers in descending order
Prometheus
In terms of what makes C++ different is that I feel like with C/C++ I can easily read it and understand the flow of the code much better. It also makes me feel like im coding for the machine it self and not the OS. It's probably more opinion than anything else but it's honestly how I look at it.
MᏫᎻᎯᎷᎷᎬᎠ
Other languages are very so fucking abstracted
MᏫᎻᎯᎷᎷᎬᎠ
Like in java everything is a class
MᏫᎻᎯᎷᎷᎬᎠ
ordinary input with Scanner!!!
Prometheus
Can you help to make program which can list like the first 10 fibonacci numbers in descending order
Quick and dirty you can just make 10 variables. fib0, fib1, fib2, etc until fib9. do the math so fib1 = 0+1. then fib2 = 1+1, fib3 = 1+2, etc. Then cout « fib9, fib8, fib7 and so on.
Prometheus
Like in java everything is a class
java was the bane of my existance when I had to take it in college.
Prometheus
Wow
Don't like it? lol It's simple enough for anyone to understand.
Anonymous
Tf..
MᏫᎻᎯᎷᎷᎬᎠ
Really
MᏫᎻᎯᎷᎷᎬᎠ
Java has a huge apis
Prometheus
Tf..
Yeah lol it's a lot but I'm not doing all the work for him. Just giving him an idea to work with. No specifications set on how the code should be done.
Prometheus
Was going to talk about loops and everything but I rewrote a whole program last night and don't feel like going through it all agian.
Prometheus
Might help
Instead of 10 variables just use an array.
Anonymous
Hi guys. i need some help please...i have just dual booted my windows with kali linux 2017.1..how can i ipdate to the latest version of linux
Prometheus
Prometheus
How?
"int fib[9]" and a second variable "int counter = 0" then just do a loop counting from 0-9 and each time do the math to increment the next fib[] to the correct answer. That way you know that fib[9] is the highest and fib[0] is the lowest.
Prometheus
nyc one ..let me try it
Hope it helps. If it doesn't theres always the second link I posted lol
Anonymous
Hope it helps. If it doesn't theres always the second link I posted lol
its is not even upgrading...let me try it with the second link
Prometheus
Don't lol it was a joke
Anonymous
It's a different OS
oooh myyy....as in i have tried the apt-get install upgrade but nothing is happening.
Prometheus
oooh myyy....as in i have tried the apt-get install upgrade but nothing is happening.
Did you use the command to check version and make sure there's an upgrade available first?
Prometheus
Yes th version is 2017.1
Try this apt update && apt -y full-upgrade
Prometheus
ok let me try
Havent used Linux in years so I'm a little rusty. If it doesn't work let me know and I'll try to figure it out.
Anonymous
ok
It state that it could not locate packages
Prometheus
It state that it could not locate packages
keys may be invalid : curl -s https://archive.kali.org/archive-key.asc | apt-key add or curl -s https://archive.kali.org/archive-key.asc | apt-key add may help. Only solutions I can come up with
Anonymous
Is mac changer always put automatically.... What is the best option
Prometheus
Is mac changer always put automatically.... What is the best option
I honestly have no idea on that one. I believe that it wouldnt be on by default but that's just my thoughts on it.
Anonymous
So it works now?
It's still getting upgrades
Prometheus
It's still getting upgrades
At least it's doing something lol
Prometheus
Yap. Thanks
Anytime.
Anonymous
/filter
Prometheus
Yeah, I accidently clicked on it lol
Anonymous
Me too
Ludovic 'Archivist'
https://www.idontplaydarts.com/2016/04/detecting-curl-pipe-bash-server-side/
klimi
hi happy ludo
Ludovic 'Archivist'
hi happy ludo
I smoll kurimi
klimi
yo
Anonymous
What is the work of Zeromemory() function and in which library it is defined..?
Prometheus
https://www.idontplaydarts.com/2016/04/detecting-curl-pipe-bash-server-side/
Honestly, it's what I found on a site to fix the issue. Don't haven't used curl personally lol. But I do appreciate the tip. I'll keep it in mind if I have use it.
Prometheus
What is the work of Zeromemory() function and in which library it is defined..?
"ZeroMemory fills a block of memory with zeros". No idea what library but all the programs I've seen it in have had Windows.h included
Prometheus
I don't think so. I believe it's more for strucs/variables. Why not use a system call to wipe the MBR?
Anonymous
I don't know about that
Ludovic 'Archivist'
Because it can be detected whenever you do it and it can be used against you
Prometheus
I don't know about that
STD::system(). Then out whatever command line code you need in the parentheses.
Anonymous
thats a library call 😆
BinaryByter
OH?
but where is the problem in that?
Prometheus
Anonymous
What I have to do to wipe out MBR ..?
Anonymous
Program not detected by any anti virus and wipe out MBR
Anonymous
Was this to me?
Yes If you meant to call int system(const char*)
BinaryByter
thats a library call 😆
Don't call in the library, you will interrupt other readers
Prometheus
Yes If you meant to call int system(const char*)
No, going for this: en.cppreference.com/w/cpp/utility/program/system
Anonymous
That's it
Anonymous
Lol