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.