Syntax for dereferencing a pointer in C (or C++) -


I had collaborative checks in this code like C (syntax # 1):

 < When I asked him why he did not use -> (syntax # 2): / P> 
  p_member-> p_member-> Members  

He explains that syntax is more complex than # 2 # 1. I ended up changing his code because I had to modify it and could not read it, so he went crazy Actually touched it ...

Which syntax does the SO community? Both are valid, but I've got Syntax # 2 more readable.

Because I'm subjective Community wiki is set to.

The technical term for syntax # 1 is "crazy". < / P>

He said, I have a lot of concern about the code which has to go indirectly even times.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -