Being as much of a newb as I am at C++ I am actually surprised that I was able to figure this one out.
Thank you everyone who responded btw!
Basically, I needed the code to print a number saved inside of an array.
I hope this helps those who are facing the same dilemma I was facing.
Cause NOW its something totally different!!!! lol :P
// PREPROCESSOR DIRECTIVES
#include<iostream>
#include<fstream>
#include<string>
#include<vector>
#include<stdio.h>
using namespace std ;
int main()
{
// Taken
int a ;//
int b ;//
int c ;//
int d ;//
int i = 111 ;//
int j = 222 ;//
int n ;//
int e ;//
int f ;//
int g ;//
int h ;//
int k ;//
//Array count
int count[3] = {532,345,279} ;
int count2[3] = {0,1,2} ;
a = i % 1 ;
b = i % 10 ;
d = i % 100 ;
cout << "111 % 1 = " << a << endl ;
cout << endl ;
cout << "111 % 10 = " << b << endl ;
cout << endl ;
cout << "111 % 100 = " << d << endl ;
cout << endl ;
cout << endl ;
[B]//Start for
for( c = 0 ; c < 3 ; c++)
{
n = count[c];
//Start if 1
if( count[0] >= 100 )
{
cout << "Original element amount in count[" << count2[c] << "]: " << count[c] ; …