Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Strife

carriage return escape character?

This topic is 6444 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

Is there an escape character for a carriage return? I was trying to do something with this information in my AP CS class, but I couldn''t find what it would be. Luckily, I just got around doing it the original way I wanted to, but I''m still curious... Excuse me whilst I conquer Earth... Commander M (a.k.a. Crazy Yank) http://commanderm.8m.com CmndrM@gdnmail.net

Share this post


Link to post
Share on other sites
Advertisement
I''m not sure I have understood what you are asking, but if you want to know the escape sequence for a carriage return in C it is \r

Share this post


Link to post
Share on other sites
the numerical value for a carriage return is 13. 10 is newline. I think 7 is tab, or something.

Are you even trying to be intelligent?
'cuz if you are, it ain't workin'

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!