Thread: putw and doubles

  1. #1
    Registered User deleeuw's Avatar
    Join Date
    Aug 2001
    Posts
    31

    Question putw and doubles

    new-b question:
    what is the version of putw that is used for double
    (it seems that putw is only for int)

    Thx

  2. #2
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    According to this reference, there is no such function. You could write it yourself or use puts in some way, like converting the double to string and use puts to write it.

    http://www.cplusplus.com/ref/cstdio/index.html

  3. #3
    Registered User deleeuw's Avatar
    Join Date
    Aug 2001
    Posts
    31
    hartelijke bedankt mijnheer
    (Ik hope dat dat richtig geschrieven is!)

    deleeuw
    (van Drenthe)

  4. #4
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    Graag gedaan mijnheer deleeuw. Maar vanwaar die Deutsche woorden?

  5. #5
    Registered User deleeuw's Avatar
    Join Date
    Aug 2001
    Posts
    31
    waant ik niet goed hollandse kan:
    mijn ouders kwam naar Amerika bevor ik was gebooren.
    Ik heb duits op universitijt, maar mien ouders praoten hollandse (op drentse dialekt) t'huus.

  6. #6
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    Dus je woont in Amerika en hebt Hollandse ouders, of eigenlijk Drentse ouders? Dat is wel te merken, "waant", "mien ouders praoten", dat is dialect.

Popular pages Recent additions subscribe to a feed
Website Security Test