cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
user name:
password:
Forgot your password?
please wait
try again
cancel
forgot your password?
sign up
log in
[Legacy version]
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Windows Programming
Windows Forms App: type conversion
Windows Forms App: type conversion
Apr 30, 2011 at 10:33pm
Apr 30, 2011 at 10:33pm UTC
asdatapel
(3)
I am trying to make an app int visual c++, and its a windows forms app.I want to get a number from the user and do calculations with it. The problem is that textboxes use strings, and I want numbers. How do I get around this.
May 1, 2011 at 1:03am
May 1, 2011 at 1:03am UTC
closed account (
3hM2Nwbp
)
System::Int32 System::Int32::Parse(System::String^ string);
// <- Warning, may throw.
Similar methods exist for System::Double and the rest of Microsoft's managed data types.
Last edited on
May 1, 2011 at 1:04am
May 1, 2011 at 1:04am UTC
Topic archived. No new replies allowed.