As someone already mentioned, the CPUID instruction gives you this information. It may be called using compiler intrinsics (#include <intrin.h>) on the Microsoft compiler. See here for fuller documentation. Pay attention to the EAX=0 function (Get Manufacturer ID).
It appears that the same information may be found in the Registry at HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\VendorIdentifier
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
Assuming you mean 1 * 2 * 3 * ... * 998 *999 * 1000, then I have bad news for you. The result when written out has 2568 digits in all. That is far more than even a 64 bit integer can express. So, either you have misunderstood your assignment, or you are supposed to be working with some arbitrary precision library. In either case, we don't do homework for you. If you have tried something and are stuck, we're happy to help point you in the right direction.
hello every one please am working on a project where by on one of the class am ask to creat class board with enum so i have struggle but am not able to display. the question is " in class booard Define a C++ enumeration (enum struct) with values for no meals, breakfast, half pension and all inclusive as well as a related overloaded binary output operator."
expected output "
a all inclusive
h half board
w without meals
I have created a CCombobox drop down and added three data through wizards and disable editing. I wanted to display some data/word initially in the edit ctrl part of the CCombobox before selecting the data present in the drop down.I having difficulty achieving this, could I have some pointers regarding this.