Hi, THNX Rudel, I also made a few C++ Programs abit basic but I am on my way.. I will look at your link too will need to learn some DX Stuff as well..
// math.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
#include <cmath>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
cout << "10 + 2 = " << 10 + 2 << endl;
cout << "10 - 2 + = " << 10 - 2 << endl;
cout << "10 * 2 = " << 10 * 2 << endl;
cout << "10 / 2 = " << 10 / 2 << endl;
cout << "10 + 2 * 2 = " << (10 +2) * 2 << endl;
cout << "10 + (2 * 2) = " << 10 + (2 * 2) << endl;
cout << "10 ^ 2 = " << pow(10.0,2.0) << endl;
cout << "SQRT of 10 = " <<sqrt(10.0) << endl <<endl <<endl;
system("PAUSE");
return 0;
}
// one.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
cout << "This is program #2\n\n\n";
cout << "This is an alert: \a\n";
cout << "This is A \Tab\n";
cout << "Website: http:\\\\PortForward.com\n";
cout << "He Said \"Hello\"\n\n\n";
system("PAUSE");
return 0;
}
This is cool
