Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How can I created window console application that read these:

How can I created window console application that read these:

Scheduled Pinned Locked Moved C / C++ / MFC
question
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 11383140
    wrote on last edited by
    #1

    The first line of the output should use the %d place holder in the format string to print the number 42. The second line should use the %c placeholder to print the letter J. The third line should use the %f placeholder to print the number 3.14159 with 6 decimal digits after the decimal (this is the default)

    G L 2 Replies Last reply
    0
    • U User 11383140

      The first line of the output should use the %d place holder in the format string to print the number 42. The second line should use the %c placeholder to print the letter J. The third line should use the %f placeholder to print the number 3.14159 with 6 decimal digits after the decimal (this is the default)

      G Offline
      G Offline
      Garth J Lancaster
      wrote on last edited by
      #2

      smells like homework - read your lecture notes & textbook, then post back whatever actual code you have written - we don't write code, especially homework for people - it makes them lazy and us annoyed, and your teacher/professor/whatever can smell copied/stolen works a mile off

      1 Reply Last reply
      0
      • U User 11383140

        The first line of the output should use the %d place holder in the format string to print the number 42. The second line should use the %c placeholder to print the letter J. The third line should use the %f placeholder to print the number 3.14159 with 6 decimal digits after the decimal (this is the default)

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        See https://msdn.microsoft.com/en-us/library/ybk95axf.aspx[^].

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups