Convert const char to double and const char to int
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Convert const char to double and const char to int

  1. #1
    Join Date
    Oct 2011
    Posts
    27

    Convert const char to double and const char to int

    How to convert const char to double and const char to int?
    Last edited by Gregor007; November 6th, 2011 at 02:34 PM.

  2. #2
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Posts
    12,068

    Re: Convert const char to double and const char to int

    Assuming you mean null terminated strings, atol and atof

  3. #3
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,359

    Re: Convert const char to double and const char to int

    In addition:
    strtod
    strtol
    Victor Nijegorodov

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center