I'm having an issue with a loop to fill in spaces of a string so it can display a table properly. I dont know why its not working but it should; Ive tried everything with this thing and no go. ...
Type: Posts; User: furiousferret
I'm having an issue with a loop to fill in spaces of a string so it can display a table properly. I dont know why its not working but it should; Ive tried everything with this thing and no go. ...
worked fine for me...shrug
got it to work, the winning code is:
#include <iostream>
#include <cmath>
using namespace std;
const int arraySize = 51;
I've been doing that with
cout << alphaArray[0] << sqrt(i) << ' ' ;
cout << alphaArray[1] << sqrt(i) << ' ' ;
cout << alphaArray[2] << sqrt(i) << ' ' ;
cout << alphaArray[3] <<...
variables are placeholdes that can (but dont have to be) be changed which are reserved in memory. The difference between the short and long is memory size that is reserved, which is actually bits it...
I've tried several ways to do this but I either copy one variable 10 times or they all go on the same line. How do I display an array of 50 with 10 per line?
Here is the code I already have
...