CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2004
    Posts
    41

    printing the modulus function

    Just wondering if you could tell me how to put the modulus symbol into a string? eg.

    printf(" * / % ");

    My c compiler say that an unknown conversion type character 0xa in format has occurred.

    Thanks very much

  2. #2
    Join Date
    Sep 2002
    Location
    Maryland - Fear The Turtle!
    Posts
    7,537
    use...

    %%

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