No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
I kepp getting errors in my following code [code=c++] #include <iostream> #include <queue> #include <ctime> using namespace std; template <class TYPE> void randomInit (TYPE array[], int size, int mod) { for (int i = 0; i < size; i++) { array[i] = rand()%mod; } } // Prints Array template <class … | |
How do I check to see if the posts are the same in the end? PROGRAM IDENTIFICATION SECTION: Input : The value of N. Output : The factorial of N. Purpose: Computes the factorial of N, after N is input by the user. PROCEDURES CALLED: External procedures called: FROM iofar.lib: … | |
I have a .exe application and the C++ source code. How do I, using command prompt view the turbo debugger and then view the assembly code for the file? Normally you would just do the following prompts: pth assemble convtemp link convtemp iofar convtemp td convtemp Than the debugger will … | |
I had posted a while ago about how to put a picture in a game to make it look a little more real. my friend said i should a gui. Does anyone know of a site or how to do this using microsoft visual c++? | |
| |
[code] #include <iostream> using namespace std; // structs/Classes /*********************************************************************/ struct Key { char* data; // string Key () {this->data = NULL;} Key(char* data) { this->data = new char[strlen(data)]; strcpy(this->data,data);} bool operator== (Key& key) { return 0 == strcmp(this->data,key.data);} // is this == to that key bool operator< (Key& key) { … |
The End.