No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
[CODE] void readData(ifstream& file, char& operation, int& numOfData) // Purpose: To read data from a file specified by the user { file>>operation>>numOfData; if(operation == 'I') { Array<int>* array; array = new Array<int>(numOfData); } } [/CODE] That's where the problem is coming from. [CODE] const int DEFAULT_SIZE = 30; template <class … |
|
[CODE] ;==================Prompts=============== warning db "Invalid order. The dividend should be greater than the divisor",0 prompt1 db 0dh,0ah,"Please enter a dividend ",0 prompt2 db 0dh,0ah,"Please enter a divisor ",0 Display db 0dh,0ah,"Quotient: ",0 Display2 db 0dh,0ah,"Remainder: ",0 ;==================Variables============= dividend word ? ; Holds the dividend divisor word ? ; Holds the … |
|
I did some searching and I think it might be a buffer overflow but I'm not sure. Could someone tell me what's wrong with this? [CODE]SafeGuard:: SafeGuard(int agent) { for(int index = 0; index < 26; index++) { upperCase[index] = 'A' + index; lowerCase[index] = 'a' + index; } for(int … |
|
Re:
Hey guys, I just need some opinions about this work. I don't need you to do it for me. I'm just a little confused about getting the correct order in the dates (months and days). I know I got to use the [B]while[/B] function. So just please let me know … |
|
Well I guess I should start off with what I know. So far I'd say I'm an intermediate going on advanced level c++ programmer, and I'll be starting on Java this summer when I actually have time to study it. I'm pretty much a tech geek. Anything dealing with computers … |