Thanks a lot :D
Works like a charm
Onii
Type: Posts; User: Onii
Thanks a lot :D
Works like a charm
Onii
The unsigned long long doesnt work.
if i change:
double x_double;
double y_double;
into:
unsigned long long x_double;
Before i forget,
I Also got this:
9^10 = -2147483648
9^10 = -2147483648
I thought this occures because it surpasses the double value limit?
Is there a way to fix this?
Heey,
I just learned about arrays so i wanted to create a power table.
This is my current code:
#include <iostream>
#include <math.h>
using namespace std;
Thanks rogster001 and CornedBee, youve been of great help :)
Its now all in one while loop (and one sub-while loop) and i used your if-else to try again or exit ;)
Do i need to close this topic,...
ooh lol, never thought of it being wrong, i came up with it since return 0 exits the program. Dont ask me how or why :p Anyhow, thanks a lot!
I cleaned up my code and it works with two digits now!...
ooh lol, never thought of it being wrong, i came up with it since return 0 exits the program. Dont ask me how or why :p Anyhow, thanks a lot, i'll figure it out from this point on ;)
Onii
Thanks a lot for your help! :)
One thing though, why shouldnt you return main?
I don't know how to make if statements run again without returning to the main function so it re-runs till it shouldn't anymore, should i use while statements instead?
Heey,
I just started programming and im trying to create programs as im learning.
I was creating this program which would make sideway pyramids where you could choose the symbol and width of the...