cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Should I convert like this..
Should I convert like this..
Dec 14, 2013 at 2:05pm UTC
Cutefriendzoned
(115)
for example I want to convert from long long to long double
but this does not work..
1
2
long
long
x;
static_cast
<
long
double
>(x);
Dec 14, 2013 at 2:11pm UTC
closed account (
G30GNwbp
)
1
2
long
long
x;
long
double
y{x};
Last edited on
Dec 14, 2013 at 2:14pm UTC
Topic archived. No new replies allowed.