• Users
  • beginner at programming

User profile: beginner at programming

User info
User name:beginner at programming
Name:Pro G
Bio:"How C++ is like teenage sex:

1. It is on everyone's mind all the time.
2. Everyone talks about it all the time.
3. Everyone thinks everyone else is doing it.
4. Almost no one is really doing it.
5. The few who are doing it are: A. Doing it poorly. B. Sure it will be better next time. C. Not practicing it safely."
History
Joined:
Number of posts:111
Latest posts:

Place values
It prints 345 with no decimal; [code] #include <iostream> using namespace std; double plac...

what is the use of "using namespace std;"
another example, [code] #include <iostream> namespace first { double var = 5; } n...

Place values
@[b]tummychow[/b] okay so an int to a double vice versa. but then the program will compile success...

Place values
Yes above... Wait what is casting

Place values
[code]int round (int n) { int y = n * 100; int x; y = x; x = y / 100; r...