Ибраги́м
Well done, sire
Ибраги́м
More or less
вадим
More or less
That's your own opinion... Not truth
Ибраги́м
That's your own opinion... Not truth
I'm just messing with u man
Ибраги́м
Me too dude
Do u really want to study those things
вадим
Do u really want to study those things
Sure, I wanna understand how that works...
Ибраги́м
Ибраги́м
We all had this dream man
вадим
Ибраги́м
Ибраги́м
I'm out!
вадим
We all had this dream man
That is not a young dream but passion
вадим
I'm out!
I think isn't the right place to talk about these kinda things. Here is dedicated to C/C++... U can pm no problem...
Ибраги́м
U will be dealing with a lot of things
Ибраги́м
Like what?
Shell Coding
Ибраги́м
Typically hexadecimals on steroids
вадим
It's all ?
Ибраги́м
I used to have a list then
Ибраги́м
It's a lot if u want to be great at it
Ибраги́м
Not just some under dog
вадим
Anonymous
Is that what u are being taught at Fort Meade ?
What? lol. I just like malware development. I can code some basic malware , but I'd like to build up something more advanced in C/C++
Ибраги́м
U can't even spell int correct
Anonymous
Ибраги́м
And that was quick
Anonymous
Slept early yesterday 😂
Joseph
Igor🇺🇦
Ok, but will both arguments like reference and pointer work with the same speed?
Yes, pointer and references will work with the same speed in C++
Anonymous
Ok, but will both arguments like reference and pointer work with the same speed?
Yes, I think. In both cases is not copied the whole object, just the address.
Anonymous
@nati0nalsecurityagency the rootkit book is pretty good, also take a look at shellcoders handbook and probably pick up a book on kernel design for your target platform. Also might be a good idea to read up on AV techniques and learn about OS internals such as function hooking
Jollybox.h
Hello friends any body know how can I sent email with c++
Bhadresh
Ok
Anonymous
Hello friends any body know how can I sent email with c++
https://stackoverflow.com/questions/7298762/send-email-with-c
Jollybox.h
I didnt understand it
Jollybox.h
My english is not well
вадим
What's wrong with tiny code?🧐 #include<stdio.h> #include<stdlib.h> int sharingPart (int a, int b); int main(int argc, char** argv){ int shareholders = 0; int money = 0; int part = 0; printf("How many we're ?\n"); scanf("%d",&shareholders); printf("How much we get?\n"); scanf("%d",&money); part = sharingPart(money,shareholders ); printf("Each of us will get %d$ as his part\n",part); return 0; } int sharingPart(int a, int b){ int c = 0; c = a / b; return c; } Here's the output : "Each of us will get 0$ as his part"🧐
вадим
The input are : 20 And 10000
Igor🇺🇦
You're dividing 200 by 1000 as int. C should be 0
вадим
You're dividing 200 by 1000 as int. C should be 0
Humm, wait I'm gonna modify the code...
Igor🇺🇦
If you want to divide 20÷1000 and get 0.02 use float
Igor🇺🇦
Cast one of the numbers
вадим
You're dividing 200 by 1000 as int. C should be 0
I just modified the code like this : Cedric: What's wrong with tiny code?🧐 #include<stdio.h> #include<stdlib.h> int sharingPart (int a, int b); int main(int argc, char** argv){ int shareholders = 0; int money = 0; int part = 0; printf("How much we get?\n"); scanf("%d",&money); printf("How many we're ?:\n"); scanf("%d",&shareholders); part = sharingPart(money,shareholders ); printf("Each of us will get %d$ as his part\n",part); return 0; } int sharingPart(int a, int b){ int c = 0; c = a / b; return c; } Here's the output : "Each of us will get 0$ as his part"🧐
вадим
The output remains the same
Igor🇺🇦
I don't see any floats or double there
Igor🇺🇦
Sharing part should get floats and return float, print parameters should be changed accordingly
вадим
Cedric: I just modified the code like this : Cedric: What's wrong with tiny code?🧐 #include<stdio.h> #include<stdlib.h> float sharingPart (float a, float b); int main(int argc, char** argv){ float shareholders = 0; float money = 0; float part = 0; printf("How much we get?\n"); scanf("%d",&money); printf("How many we're ?:\n"); scanf("%d",&shareholders); part = sharingPart(money,shareholders ); printf("Each of us will get %d$ as his part\n",part); return 0; } float sharingPart(float a, float b){ float c = 0; c = a / b; return c; } Here's the output : "Each of us will get 0$ as his part"🧐 😡Always same output @IgorPora
Igor🇺🇦
You're printing as int.
rickyrick
Hey guys, I would like to know the difference between these two functions: cin.setstate(Astate) cin.clear(Astate) http://en.cppreference.com/w/cpp/io/basic_ios/setstate
Igor🇺🇦
rickyrick
But what's the logic for doing this:rdstate()|state?
rickyrick
I know it's using | operator
вадим
#include<stdio.h> #include<stdlib.h> float sharingPart (float a, float b); int main(int argc, char** argv){ float shareholders = 0; float money = 0; float part = 0; printf("How much we get?\n"); scanf("%f",&money); printf("How many we're ?:\n"); scanf("%f",&shareholders); part = sharingPart(money,shareholders ); printf("Each of us will get %f$ as his part\n",part); return 0; } float sharingPart(float a, float b){ float c = 0; c = a / b; return c; } Here's the output : 👇 "Each of us will get 0.000000$ as his part"🧐
вадим
вадим
I can't upload of my screen snapshot... It's so slow to load..
rickyrick
@IgorPora ok, I know that. setstate is adding extra flags while clear is overriding the whole thing.
rickyrick
rickyrick
@IgorPora the question is that I think this book is misleading
rickyrick
It's not "reset cin to its old state". cin.clear(old_state) does. Am I right?
Igor🇺🇦
It's not "reset cin to its old state". cin.clear(old_state) does. Am I right?
They call empty clear, before that. So when you call setstate it will have only previous state
rickyrick
oh damn I missed that.
rickyrick
rickyrick
LOL. thanks bro. @Ig
rickyrick
!
Anonymous
Hey, guys, did anyone use ns3 to do network simulation before? I am seeking for some help about it but could not find anything useful...
数学の恋人
cout«"Hello, Everyone.";