Problem (or not) with Xcode and C++?

Discussion in 'Mac Programming' started by andreymarchenko, Jan 20, 2016.

  1. andreymarchenko macrumors newbie

    Joined:
    Jan 20, 2016
    #1
    Hi folks!

    I'm new at programming territory but think that can explain my situation..

    1) Created simple "Hello World!" with XCode (C++)
    2) Trying to add multi line comments
    3) And I see this:

    [​IMG]
    Instead this:

    [​IMG]


    4) Syntax became normal when: i Cmd+A all text or changing syntax type for another language for example

    Do you know how to solve this problem?

    Cheers,
    Andrey
     
  2. Alexander B. macrumors member

    Alexander B.

    Joined:
    Aug 2, 2011
    Location:
    Moscow
    #2
    Looks like a bug in Xcode code highlighting. Not a big deal.
     

Share This Page