Java programmer, theoretical computer science enthusiast

My blog

Jan
1
awarded Yearling
Jan
1
awarded Yearling
Dec
26
comment Understanding a C macro with pointers
Thank you very much! I didn't know about the existence of inline functions!
Dec
26
revised Understanding a C macro with pointers
added 129 characters in body
Dec
26
comment Understanding a C macro with pointers
Thanks! One more thing: I saw that itemCache is an array, can I rewrite the macro using [] instead of pointer arithmetics?
Dec
26
accepted Understanding a C macro with pointers
Dec
26
comment Understanding a C macro with pointers
@WeatherVane so if it was rewritten as an inline function it could be as efficient as this macro?
Dec
26
comment Understanding a C macro with pointers
@nvoigt The following things I can't understand. What does this macro accomplish? Why is it written in the way it is written? Is there a more clear way to write this macro?
Dec
26
revised Understanding a C macro with pointers
added 124 characters in body
Dec
26
comment Understanding a C macro with pointers
@Meninx you are right. I fixed it.
Dec
26
asked Understanding a C macro with pointers
Dec
18
comment Overlap between theory and systems fields in CS
One overlapping field is process scheduling, where you compare algorithms, another is distributed systems.
Dec
9
awarded Caucus
Dec
4
awarded Notable Question
Nov
3
revised main method as final in java
corrected method name
Nov
2
comment Java printf with date and month
@user2738201 I have updated my answer adding the way to extract the Date from a Calendar
Nov
2
revised Java printf with date and month
added 92 characters in body
Nov
2
answered Is there a way to use words instead of numbers as outputs?
Nov
2
answered Java printf with date and month
Nov
1
revised Eclipse Luna (4.4.0) and Subclipse not working
Formatting and readability
1 2 3 4 5