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
E

evaj03

@evaj03
About
Posts
2
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Which Part of British do you not understand?
    E evaj03

    Maybe he will launch a new Crusade, liberation in the name of the Lord... ;P

    The Lounge question announcement

  • C++/MFC solution Convert string to integer only such that if it is alphanumeric or float it should show as invalid values.
    E evaj03

    Not sure if this is applicable to MFC, but the stringstream library will do this:

    #include
    #include

    int main( )
    {
    std::string inString( "10.88" );
    int outNum;

    std::stringstream ss( inString );

    ss >> outNum;

    std::cout << "As Number [" << outNum << "]" << std::endl;
    }

    Sample output would be: As Number [10]

    ATL / WTL / STL c++ json
  • Login

  • Don't have an account? Register

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