BinaryByter
not without a typecast
olli
not without a typecast
template <class T> void * asVoidPtr(T * x) { return x; }
Defragmented
how big is a C specification( not c++)? in number of pages, approx 100 or 1000 or ...?
BinaryByter
Oh wait
BinaryByter
C
Defragmented
thanks
olli
4thousand
wtf... c++ is 1622
BinaryByter
template <class T> void * asVoidPtr(T * x) { return x; }
this is unrelated, but you saved your point well!
BinaryByter
wtf... c++ is 1622
You sure? I prolly have another spec in mind
BinaryByter
wtf... c++ is 1622
wait, you know the page number by heart?
olli
wait, you know the page number by heart?
sure.. I open this document so often
Defragmented
probably the only language whos documentation is being read this often
🐰🐾 سمیه
🐰🐾 سمیه
🐰🐾 سمیه
in the above program and debugger shot, it seems that *s and **S point to the same adress
🐰🐾 سمیه
what's the diffrence between them?
BinaryByter
**s doesnt point to an adress
BinaryByter
its a char
Dima
olli
in the above program and debugger shot, it seems that *s and **S point to the same adress
again *s is char* and **s is char... yes the address of the char(s) are obv the same.
Daniele°
It's stupid, shortsighted, unresearched, egoistic...
fortunately people like you use C++. and I can use C in peace
Daniele°
typedef bool (*MyObj)(int a, int b); :troll:
can emulate lambdas with gcc C dialect #define lambda ({ 0 )} or other techniques
Daniele°
Is C++ really a superset of C?
Dennis Ritchie said no
Daniele°
Superset or subset is used only by stroustrup for advertising
Daniele°
the first line of documentation of any new language starts with: Is Better than C.
Daniele°
I not know language who write is Better than c++
Daniele°
Poor stroustrup
Daniele°
C++ 300 books
olli
C is 300 pages
no - n1570 is 701 pages
BinaryByter
Dennis Ritchie said no
if we only listen to what the creators say, linux is just a minix clone and never used, LOL
BinaryByter
I mean... yes it is a minix clone
BinaryByter
But i'm sure that getting that through to you will be hard 😉
Daniele°
K&R Need < 300 Pages for C
olli
this is not the (current) standard
olli
pretty sure the ISO C documents/papers are in english
Daniele°
Anonymous
I am currently migrating to low level programming because I want to become better in cybersecurity at that level (memory management, leaks, overflows, binary exploits..) before that, I was primarily in websec with Go/Python. I have a little experience in C/C++, but I am having a hard time choosing which language to focus on. Pure C? C++? Rust with "modern security features" and also without garbage collector?
BinaryByter
Lol search further, if you came up with C++
olli
I have iso C, and misra C
at work or private? legal or pirate?
Anonymous
Lower level*. Assembly will be next
Anonymous
Go has garbage collection and keeps me far from memory handling
Daniele°
I have 15$
Daniele°
I pay 200$ for book
BinaryByter
wtf why?
Daniele°
It's realy modern not same C++
BinaryByter
define modern please
BinaryByter
if modern means that I have disgusting syntax everywhere, then no thanks
Daniele°
umm
The big problem of C++ is the pseudo compatibily with C
BinaryByter
the OOP of rust is just lacking
BinaryByter
why am I even trying to debate with you?
Dima
Lol debating with the 15 y.os
Dima
BinaryByter
he's 15 yo?
Dima
you are
BinaryByter
nope =D
Dima
ok 16
Dima
😉
Daniele°
ok 16
there is no age to learn
BinaryByter
Dima
psyche tho
Dima
:D
mister smartbutt
BinaryByter
The big problem of C++ is the pseudo compatibily with C
I'm not claiming such things without backing them up
BinaryByter
mister smartbutt
Mister "I prefer C because C looks more like a hacker language" ❤️
Daniele°
I hate C but it's the C that loves me
BinaryByter