Difference between revisions of "Talk:379: Forgetting"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(Created page with "The syntax for pointers in C++ is ''&pointer'' and ''*pointer''. The arrow syntax is used e.g. in PHP. So this explain does need a review. And furthermore it should focus on t...")
 
Line 1: Line 1:
 
The syntax for pointers in C++ is ''&pointer'' and ''*pointer''. The arrow syntax is used e.g. in PHP. So this explain does need a review. And furthermore it should focus on the assert joke, understandable for non programmers.--[[User:Dgbrt|Dgbrt]] ([[User talk:Dgbrt|talk]]) 18:48, 31 July 2013 (UTC)
 
The syntax for pointers in C++ is ''&pointer'' and ''*pointer''. The arrow syntax is used e.g. in PHP. So this explain does need a review. And furthermore it should focus on the assert joke, understandable for non programmers.--[[User:Dgbrt|Dgbrt]] ([[User talk:Dgbrt|talk]]) 18:48, 31 July 2013 (UTC)
 +
 +
Actually this works in C++ too. (*pointer).property is the same as pointer->property -- 17:58, 31 july 2013 (Time in Florida)

Revision as of 21:59, 31 July 2013

The syntax for pointers in C++ is &pointer and *pointer. The arrow syntax is used e.g. in PHP. So this explain does need a review. And furthermore it should focus on the assert joke, understandable for non programmers.--Dgbrt (talk) 18:48, 31 July 2013 (UTC)

Actually this works in C++ too. (*pointer).property is the same as pointer->property -- 17:58, 31 july 2013 (Time in Florida)