Anonymous
Not what I meant. I meant in the syntax
C++ inherited C syntax, man
Lionel
It's a good one
Need a good book for C too
Pietrø
Anonymous
Need a good book for C too
Finish the C++ first
Pietrø
Like C is a little bit complicated than c++
Pietrø
To approach with
Anonymous
Like C is a little bit complicated than c++
C++'s specification ~5 times bigger than C's one
Lionel
Like C is a little bit complicated than c++
Oops concept makes c++ abstruse.
Pietrø
Oops concept makes c++ abstruse.
I was talking about syntax
Pietrø
Cause for someone who has to learn programming c++ is more friendly
Anonymous
C++ is a very big language. But there's a way to teach it with simplicity to beginners.
Till
Like C is a little bit complicated than c++
exactly, C++ is semplified template <typename PropertyType, PropertyType Point::*property> PropertyType get(const std::unordered_map<std::string, std::unique_ptr<Point>>& dict);
Lionel
Cause for someone who has to learn programming c++ is more friendly
Stream objects makes c++ syntax much simple. Other than that, what's the diff
Lionel
😂
Pietrø
Stream objects makes c++ syntax much simple. Other than that, what's the diff
I just meant to say that if someone has to start c++ is better cause of its semplified way to learn it
Pietrø
I see.
Finally 👍🏻
Ilya
What are some tips or suggestions to learn c/c++ in good way?
Prata . Then Meers. Then all other decent books
yoav
if i want to create operating system(not really) what i will choose C language or C++
yoav
?
Artöm
C++
.
C++ for better security
Artöm
Linux is e.g. C, but that's because ideology
yoav
C++ for better security
what you mean why C is not secure
Artöm
C++ for better security
Security is same and depends on code
Artöm
C code can be as secure as C++
Ilya
what you mean why C is not secure
C++ compiler checks touch more then C.
Artöm
It may be a bit harder tho
Anonymous
Artöm
Agreed
Lionel
But Linux kernel was developed keeping C in mind
yoav
C++ for better security
in C++ there is buffer overflows?
Artöm
There are
Lionel
C also provides flexibility, but c++ provides a bit more
yoav
C++ is more flexible than C :)
what you mean by saying flexibility
Lionel
Yeah but for some reasons Linux is not written in c++
Lionel
I guess Linus wasn't a big fan of c++😂
Anonymous
.
C++ (and a few others such as Forth or Assembly), don't allow the overflow to really occur and instead shoot the offender. From a security point of view this is much better.
yoav
why python and java doesnt have buffer overflows and c and c++ does have
Lionel
The fact that java doesn't have pointers make the language any less? 🤔 A random thought
Ilya
why python and java doesnt have buffer overflows and c and c++ does have
Just they can't do direct money access and it is just simply written in C for them, and tested.
Lionel
Is this why java applications cannot access kernel services directly and need c/c++
Ilya
i’m pretty new in C. i can’t find docs😁. can u help?
Send file is some API you use, we don't even know which
Ilya
I have working function but with Linux signature
Obviously you are using a different API version , not the version you are reading about
Ilya
Anonymous
turbo c books
To get banned right away
Pacman
/rules
.
Different classes help c++ for data access which make half of work easy than c
Badugar
It's not a library.
$ qsearch boost ... dev-libs/boost Boost Libraries for C++ ... $ 🤔
Ilya
Different classes help c++ for data access which make half of work easy than c
using C++ can be more simple then C. The language itself is far more complex then C.
.
using C++ can be more simple then C. The language itself is far more complex then C.
Its very hard to understand but continues programming we can learn easily
Anonymous
If I'm writing long long int a =99970002*99980000; Why am I getting answer upto 10 digits only when I cout<<a??
Anonymous
Is this compiler issue that I'm getting overflow?
Ilya
If I'm writing long long int a =99970002*99980000; Why am I getting answer upto 10 digits only when I cout<<a??
It is first calculated then converted to long long. Write something like long long int a = static_cast<long long>(99970002)*static_cast<long long>(99980000);
Alankar
/notes
Alankar
/best-book
Yadnyesh
/notes
Yadnyesh
Please help me about command line argument
Nassrullah
#awesomeness
Nassrullah
🤦🏽‍♂