[Proof]I am learning C++
Hey guys, when I first started wanting to make hacks, I was told to learn C++.
Some of you don't believe it until you see it, and even though you see what my sig says, alot of people lie.
So, using the LOW amount of knowledge I have of C++ so far, I wrote a simple program that calculates my percentages that I update my sig with. That and another reason I made it, is to make it easier on me.
So I have to do less steps to calculate it.
All I have to do on it is type in the amount of pages I have read so far, and it automatically calculates the percentages for me.
Of course, I plan to make it alot more complex and everything, the more I learn but this took me 3 mins to write up. I thought of it about 20 mins ago while I was smoking a cigg.
Don't flame me, I am learning.
[PHP]
// Credits: D-Vid aka Illusionz
#include <iostream>
int main()
{
using namespace std;
float CppPrimer;
float total;
int pages;
cout << "Enter the total amount of pages that you've read so far: \n\n";
cin >> pages;
cout << endl;
CppPrimer = 1225;
total = 2501;
cout << "Percentage outta the C++ Primer Plus: 5th Edition: " << pages / CppPrimer * 100 << "%" << endl;
cout << "Percentage TOTAL outta all the books: " << pages / total * 100 << "%" << endl;
}
[/PHP]
Some of you don't believe it until you see it, and even though you see what my sig says, alot of people lie.
So, using the LOW amount of knowledge I have of C++ so far, I wrote a simple program that calculates my percentages that I update my sig with. That and another reason I made it, is to make it easier on me.

So I have to do less steps to calculate it.
All I have to do on it is type in the amount of pages I have read so far, and it automatically calculates the percentages for me.

Of course, I plan to make it alot more complex and everything, the more I learn but this took me 3 mins to write up. I thought of it about 20 mins ago while I was smoking a cigg.

Don't flame me, I am learning.

[PHP]
// Credits: D-Vid aka Illusionz
#include <iostream>
int main()
{
using namespace std;
float CppPrimer;
float total;
int pages;
cout << "Enter the total amount of pages that you've read so far: \n\n";
cin >> pages;
cout << endl;
CppPrimer = 1225;
total = 2501;
cout << "Percentage outta the C++ Primer Plus: 5th Edition: " << pages / CppPrimer * 100 << "%" << endl;
cout << "Percentage TOTAL outta all the books: " << pages / total * 100 << "%" << endl;
}
[/PHP]


