Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
zankar20695yIs this like the forkbomb in bash (sorry if I named it wrong I'm not among the sober ones atm)?
-
I always typedef function pointers to make them more readable
But how the duck do you typedef that ?? -
@Highlight
// Java isn't hard:
Set<Set<Set<Set<Set<Set<Set<Set<Set<Set<Set<Set<Set<Set<Set<Set<Set<Set<?>>>>>>>>>>>>>>>>>> set;
// defines set as a Set -
In Vala (C# with pointers also works for those who don't know what Vala is):
delegate void VoidFunc ();
delegate VoidFunc* FuncFunc ();
FuncFunc*[] F; -
kavenc6335yMaybe off topic, as an native Mandarin speaker, I always find it nearly impossible to explain this line in Mandarin.
The English description actually makes sense even one reads it the first time. -
Can you even have an array with no size in C?
Unless it's a flexible array member in a struct (>= C99)
https://stackoverflow.com/questions...
I don't recall the compiler letting you define a variable as an uninitialized 0 length array. As in not when using the square brackets array syntax.
https://stackoverflow.com/questions...
Not to be a party pooper or anything :D
Related Rants
-
xjose97x19Just saw a variable in C named like this: long time_ago; //in a galaxy far away I laughed no stop.
-
elgringo41Student - Teacher renaming .c to .exe make the program executable ? Teacher - Yes A group of people stand up...
-
Cyborg15A guy and a girl are in a Java seminar. Afterward, the guy approaches the girl and asks, "Hey gurrl, can I ge...
Isn't it soo simple :/
joke/meme
oop
c
wtf
c++
wk167
cp
functional programming