• Advertisement
Sign in to follow this  

what does [ic::ccc] means?

This topic is 3911 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

so, quick question, i know what this code do, just not why [ic:ccc] is necesary. code snippet: //////// // Draw the light cycle trails for (int i = 0; i < 2; i++) { // Create a blue/orange pen depending on which trail is being drawn HPEN hPen = CreatePen(PS_SOLID, 5, (i == 0) ?[ic::ccc]RGB(0, 0, 255):RGB(255, 146, 73)); //////// the author of the book im currently reading has the [ic::ccc] thingy written in the book, but it isnt in the CD. For curiosity id like to know what it does.. thanks in advice!

Share this post


Link to post
Share on other sites
Advertisement
This is probably an annotation which wasn't processed or filtered out when the book was compiled for printing.

Share this post


Link to post
Share on other sites
Quote:
Original post by Konfusius
This is probably an annotation which wasn't processed or filtered out when the book was compiled for printing.


Correct. It's a command for formatting code where the line is longer than the physical printed line. It should have been stripped but obviously wasn't.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement