|
|
|
#1 (permalink) | |||||||||||||
|
4.0ghz
|
I am learning C++, and I desided to take a crack at writing my own program (so far I have just be modifying programs out of a book). Attached is a .zip file contaning the .exe for my program, as well as the source code as a .txt, if you care to make changes
I swear this is not a virurs or anything that will screw up your computer in any way. Just a little program I wrote to show off what I have learned so far ![]()
__________________
Last edited by SoaDMTGguy : 10-12-06 at 04:22 PM. |
|||||||||||||
|
|
|
|
#2 (permalink) | ||||||||||||
|
Intel Overclocker
|
Spelled comparable wrong
__________________ . Other than that, I like it. ![]() Keep working at it.
|
||||||||||||
|
|
|
|
#3 (permalink) | ||||||||||||||
|
VALVe's biggest Fanboy
|
thats pretty cool..that can be quite useful
__________________
Quote:
Gordan Freeman > Master Chief
|
||||||||||||||
|
|
|
|
#4 (permalink) | |||||||||||||
|
$till TrollandaryU2K
|
It says an amd of 1.33 is comparable to my 2.6. I thought the ratio was 6:9 not 6:12.
Oh yeah, its clean.
__________________
Quote:
|
|||||||||||||
|
|
|
|
#5 (permalink) | |||||||||||||
|
PC Gamer
|
Umm, sorry. I don't understand what it does...
__________________What do you mean comparable?
|
|||||||||||||
|
|
|
|
#6 (permalink) | |||||||||||||
|
$till TrollandaryU2K
|
It means that #.##ghz of an intel processor = #.##ghz of an amd processor.
The ghz differ because amd's do 9 ops per cycle and intels do 6 ops percycle. Conroes do 12.
__________________
Quote:
|
|||||||||||||
|
|
|
|
#7 (permalink) | |||||||||||||
|
PC Gamer
|
I understand that AMD normally does 9 and intel 6 up until conroe.
__________________I just thought my answer was weird. So, an AMD 2.2 would be equal to a P4 3.0?
|
|||||||||||||
|
|
|
|
#8 (permalink) | |||||||||||||
|
4.0ghz
|
Ok, I have updated the first post with the spell-checked version of the program
![]() Also, Retrospekt, the reason it said 2.6 was equil to 1.3 is because I wrote it to expect an integer value, not a floating point (x.x) value, so when you typed "2.6" it got confused. That is why it says "enter the CPU speed in MHz" ![]()
__________________
|
|||||||||||||
|
|
|
|
#9 (permalink) | |||||||||||||
|
PC Gamer
|
How accurate is it?
__________________
|
|||||||||||||
|
|
|
|
#10 (permalink) | ||||||||||||
|
WaterCooler
|
SoaDMTGguy,
__________________You really need to get into the habit of intializing your varibles. Trust me on this. While some languages/compilers will do it for you automatically, Visual Studio C++ does not. When you assign a variable in C++, its value becomes whatever is currently in the memory where it is located. So where you have: int athlon; int pentium; int c2d; They are not set to 0 (as in Zero) as in some languages. Just a little knowledge for ya on your road to programming goodness ![]()
|
||||||||||||
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|