But the fact remains the OP did tell us what his program is to do. And by telling him anything you will helping in the manufacture of malware....
You really don't expect help on Malware do you? Jim
So where is image initialized? Why are you mixing C++ io (cin/cout) and C stdio (printf) you should pick one type or the other. Jim
First you have several problems in your code: void display_acc(account_details accountdet[]) { int number; number =...
I don't see a question, all I see is your assignment. We will not write the code for you. Where is the code for question a? What do you think...
What does numeric_limits<int>::max() return? I get 2147483647. Note: You must #include <limits> Jim
The above code compiled and ran for me with no errors. Or segmentation faults. What compiler and operating system are you using? What is your...
In the above snippet *copy is a pointer to a character that you have never initialized. You will need to initialize this variable before you can...
You should just be passing the function pointer like: deleteItems(p, sizeof(p+i), n, isOdd) Jim
First your BUFF_SIZE is too small. In 16 bit DOS the file names are 8 characters and the file extensions are 3 characters so you have 8 + 3 = 9...
For the warning messages you can either use the non-standard function Microsoft recommends scanf_ s in this case or #define...
First you are trying to create a function pointer to a void function but since you don't state the return type of your function it defaults to...
Please read the links provided. Nowhere in my post will you find any mention of a particular compiler. The problems stated are your problems...
Please post the entire warning messages. You probably should change the names of your files because if you happen to be using an operating system...
When I compile your code I get the following warnings: In a C++ program you can not call main from any function and main must return an int,...
What have you tried? Post the code showing that you are trying. This is your assignment and you must first show a good faith effort at...
Please read the following link. It should explain srand(). srand Yes it can be different. On my system it returns 2147483647. Jim
To get rand to return different numbers you must first seed the random number generator by calling srand(). See this link: srand(). That is the...
Separate names with a comma.