MOSTAFA
/help@GroupButler_bot
Anonymous
is it me or is everyone trying to crack rsas these days lol
Mat
Welcome :) don't touch blue messages or / suggestions :D
theFlash
/help@GroupButler_bot
quique
quique, [25.02.18 16:28] Hello friends, someone interested in implementing the RSA algorithm in C? quique, [25.02.18 16:28] interested in work, contact by private. Thank you
Oluwaseyi
Can someone explain concept of OOP in c++. Thanks
correctmaninwrongplace
Can someone explain concept of OOP in c++. Thanks
If you w8 5 or 6 hours i could do it
correctmaninwrongplace
I have some of it on my github but it is in spanish, and in github doesnt appear the classes driagram
Anonymous
/help@GroupButler_bot
Anonymous
/kickme
j@ke
x = 0; if ( x = 12 ) yes_statement; else no_statement; this would cause the yes statemet to be executed right/
correctmaninwrongplace
Yeah But, how to print till n Suppose if n=3 Output 0 1 1 How to do this? Return (fib(n-1)+fib(n-2)) This returns only the nth Fibonacci number
in case of you haven't got it yet, here you have a solution: #include <stdio.h> void fib1(int it, int n, int a, int b){ printf("%d, ", a+b); if (it<n) { fib1(it+1, n, b, a+b); } } void fib2(int n){ if(n){ if (n==1) { printf("0\n"); }else if(n==2){ printf("0, 1, "); } if(2 < n){ fib1(3, n, 0, 1); } } int main(){ int n; printf("Insert an positive int number(1,2,...): "); scanf("%d", &n); fib2(n); return 0; }
Anonymous
/kickme
Anonymous
/kickme
is it working
Anonymous
is it working
I just clicked, nothing happened
Anonymous
i think we should report that
Isc
/kickme
correctmaninwrongplace
x = 0; if ( x = 12 ) yes_statement; else no_statement; this would cause the yes statemet to be executed right/
you have x=12 , that is an asignment, it returns true if it is done correctly, and false if the asignment fails, if you want to compare, you must use ==(comparison operator) instead of =(asignment operator)
correctmaninwrongplace
Thanks
if instead of 0,1,1,2,3... it would be 3,2,1,1,0, it would be less lines
MELON LORD
It's okay I'll arrange it ascending order
correctmaninwrongplace
Can someone explain concept of OOP in c++. Thanks
which concepts of all that exist? Or just how to implement them on C++?
Anonymous
"Connect failed: Access denied for user 'root'@'localhost' (using password: YES)" This problem solved any ans please give mi the ans fast
Max
Hi guys. I need to patch PE file. It shoud import my dll after being patched. What is the sipmplest way to do that?
Max
CFF Explorer -> Import Adder. Bye guys
correctmaninwrongplace
Thanks... I have the time.. How do I go about it
I guess you know what is a class, a method, a class member/method type of access to a member/method
correctmaninwrongplace
#OOP_concepts Lets start with Inheritance, there are 3 types of it in C++, -public -protected -private The way to create a derivate class is: class Father { public: int a; protected: int b; private: int c; }; class Son1 : public Father { } class Son2 : protected Father { } class Son3 : private Father { } In the Son classes, c is Inaccessible But a and B can chage it access, the access becomes the most strict between the type of inheritance and the access of the member. In Son1 b is protected(protected is more restrictive than public) and a remains public In Son 2 b remains protected, but in Son2 a becomes protected(protected is more restrictive than public) This is for normal inheritance, C++ allows multiple inheritance, but its a bit harder to explain, and a lot of languages don't support it, if you want i can try to take a look at it and explain it in the future.
correctmaninwrongplace
#OOP_concepts Dependency: In C++ if a class is dependent on another, you just need to include the file #include <iostream> using namespace std; class Father { public: int a; friend ostream& operator<<(ostream& os,const Father& f); protected: int b; private: int c; };
Oluwaseyi
Thanks
correctmaninwrongplace
I dont think that be that bad to do it here, since is on topic, and maybe some future members of the group be interested in this, if someone is upset, i invite that person to tell me and i will delete the messages
correctmaninwrongplace
i will send you more things with the time, i have thing to do right now
Oluwaseyi
Alright
Oluwaseyi
I am novice.
correctmaninwrongplace
You asked for OOP in C++, i have supposed that you aready knew some C++ and the concepts, but that you dont know how to implement for example, a M:N relation
correctmaninwrongplace
To learn the OOP theory, look for some of it in some book or website, to learn C++ use the book "The C++ programming language" or another like that
Anonymous
Anonymous
Can someone help me for these issue i am not able to create paylod . Payload is created but terminal shows invaild payload
Meseret
/help@GroupButler_bot
Group Butler
Start me to get the list of commands
harry
C and C++ are two different languages with the same letter, C
"Except for minor details, C++ is a superset of the C programming language."
harry
- Bjarne Stroustrup
Anonymous
😃😃
harry
haha!
Etaoin
do not learn c++ the way you learn c
harry
how do you mean?
harry
I read books about it and write some code
harry
what other way is there
Etaoin
never fuck with memory or dirty pointers
harry
oh, yeah
harry
tell that to our "trainer" :^)
Roxifλsz 🇱🇹
Aman Sharma
Question #64 :Four kids having five rocks each were playing a game in which they need to throw the rock at solid area in the water. Kid1: Succeeded in throwing three rocks at solid area but one of the rock sunk. Kid3: His aim was so bad that all rocks got sunk. Kid4: He was awesome and none of the rocks got sunk. Kid2 was the winner but was struck by a rock in the head and died. Who killed Kid2 ? Send Answers to @aman4d
harry
Who's your trainer?
just some guy who learned programming a couple of months ago in this exact same course
harry
it's okay though, he's trying his best 😭
harry
and we have the internet anyway
Liam
"Except for minor details, C++ is a superset of the C programming language."
It's true. Since C++ was designed to be compatible with C in most time, especially for the language features of C. However, C++ does much more than that, and hence they are two different programming language. C++ supports a number of programming paradigms, while Clang only supports the so-called procedure oriented programming paradigm. Following this, if one codes in C++ of C way, it's okay and is acceptable for compilers. However, if one learn C++ in the way of learning C, one will lose the chance to master the other programmign paradigm and related language features, which is a pity. That's why @EtaoinWu told you don't do that.
Isc
C++03 - OOP C++11 - Better templates, auto, move semantics C++17 - constexpr everything, parameter pack manipulation, any, variant, etc
Anonymous
hey guys, anyone looking for a job as C++ dev now?
Anonymous
I am working on this: https://cpp-jobs.com/join what do you think?
Anonymous
where do you live?
Anonymous
Wo
Anonymous
We are neighbors
Daniele°
- Bjarne Stroustrup
Is not In faq stroustrup
Anonymous
😁
I am from Spain xdxd
Anonymous
Anonymous
Anonymous
Our president is an idiot
Robel
Get a room pls
Anonymous
Get a room pls
Okay, we are going to Italian Motel
Anonymous
Get a room pls
You're right, sorry.
Anonymous
I am from Spain xdxd
I am based in Spain too, Barcelona