CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 13 of 13

Threaded View

  1. #1
    Join Date
    Nov 2006
    Location
    Australia
    Posts
    1,569

    Post Professional placement of derefencing operator

    Hey guys. Just wondering about something...

    Code:
    int* pA = NULL;
    int * pB = NULL;
    int *pC = NULL;
    Where do MOST professional programmers place their derefence operators (*)?

    Also, is intialising a pointer to NULL a bad practice/habit to get into?
    Last edited by Mybowlcut; March 3rd, 2007 at 04:10 AM. Reason: Changed Title
    Good judgment is gained from experience. Experience is gained from bad judgment.
    Cosy Little Game | SDL | GM script | VLD | Syntax Hlt | Can you help me with my homework assignment?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured