User Profile

Collapse

Profile Sidebar

Collapse
Suomi
Suomi
Last Activity: Aug 14 '07, 07:43 AM
Joined: Oct 13 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Suomi
    replied to Numerical value of string
    in C
    Here is a sugestion:

    std::string s ="48";
    int n;

    std::stringstre am ss(s);
    ss >> n;...
    See more | Go to post

    Leave a comment:


  • Suomi
    started a topic restore the flags
    in C

    restore the flags

    Hi,

    I have this declaration:

    class A
    {
    public:

    A(std::ostream &s) : a(s.precision() ),
    b(s.width()),
    c(s.flags()) {};
    ~A() {};
    A(A const &);
    A &operator=(A const &);
    private:
    std::streamsize a, b;
    std::ios_base:: fmtflags...
    See more | Go to post
No activity results to display
Show More
Working...