Jump to content
  • Advertisement
Sign in to follow this  
MadsGustaf

what does [ic::ccc] means?

This topic is 4121 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
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
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!