| View previous topic :: View next topic |
| Author |
Message |
MaXiMo Master Cheater
Reputation: 0
Joined: 03 Dec 2006 Posts: 290 Location: On CEF
|
Posted: Wed Feb 20, 2008 9:37 am Post subject: Very simple calculator |
|
|
here is my second program a simple calculator....
_________________
If Ur At Kradia PM me! |
|
| Back to top |
|
 |
AtheistCrusader Grandmaster Cheater
Reputation: 6
Joined: 23 Sep 2006 Posts: 681
|
Posted: Wed Feb 20, 2008 9:42 am Post subject: |
|
|
I say it is bloody good for a second program
@wiccaan if you see this then read my PM.
|
|
| Back to top |
|
 |
MaXiMo Master Cheater
Reputation: 0
Joined: 03 Dec 2006 Posts: 290 Location: On CEF
|
Posted: Wed Feb 20, 2008 9:45 am Post subject: |
|
|
ty lol im using a very good book i started yesterday and now i understand lots of things
_________________
If Ur At Kradia PM me! |
|
| Back to top |
|
 |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
Posted: Wed Feb 20, 2008 10:44 am Post subject: |
|
|
Lol!
This can be done much more easier in vb.
_________________
Intel over amd yes. |
|
| Back to top |
|
 |
MaXiMo Master Cheater
Reputation: 0
Joined: 03 Dec 2006 Posts: 290 Location: On CEF
|
Posted: Wed Feb 20, 2008 10:46 am Post subject: |
|
|
nah.....i prefer to do it in c++
_________________
If Ur At Kradia PM me! |
|
| Back to top |
|
 |
AtheistCrusader Grandmaster Cheater
Reputation: 6
Joined: 23 Sep 2006 Posts: 681
|
Posted: Wed Feb 20, 2008 10:54 am Post subject: |
|
|
| Naablet wrote: | Lol!
This can be done much more easier in vb. |
And? C++>VB
VB sucks. VB if just for easy code, C++ for advanced code
|
|
| Back to top |
|
 |
MaXiMo Master Cheater
Reputation: 0
Joined: 03 Dec 2006 Posts: 290 Location: On CEF
|
Posted: Wed Feb 20, 2008 11:03 am Post subject: |
|
|
yea VB is for lazy noobies i like c++ its more complex
_________________
If Ur At Kradia PM me! |
|
| Back to top |
|
 |
killersamurai Expert Cheater
Reputation: 0
Joined: 10 Sep 2007 Posts: 197 Location: Colorado
|
Posted: Wed Feb 20, 2008 11:17 am Post subject: |
|
|
Here is another way to change the title and color of the console. You can check out the functions on the msdn if you want to learn more about them.
| Code: |
if (!SetConsoleTitle(L"Calculator"))
std::cout << "There was an error setting the console title\n";
else
{
HANDLE hOutput = GetStdHandle(STD_OUTPUT_HANDLE);
if ( hOutput != INVALID_HANDLE_VALUE)
{
if (!SetConsoleTextAttribute(hOutput, FOREGROUND_GREEN))
std::cout << "There was an error setting the text color\n";
}
}
|
You have to include <windows.h> to use these functions.
|
|
| Back to top |
|
 |
XxOsirisxX Grandmaster Cheater Supreme
Reputation: 0
Joined: 30 Oct 2006 Posts: 1597
|
Posted: Wed Feb 20, 2008 8:14 pm Post subject: |
|
|
| masterkert3 wrote: | | Naablet wrote: | Lol!
This can be done much more easier in vb. |
And? C++>VB
VB sucks. VB if just for easy code, C++ for advanced code |
VB is not neccessary easy in all aspects. C++ is easy btw.
_________________
|
|
| Back to top |
|
 |
|