No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
Hi, what I am trying to do is simple: I just want to execute something depend on what the user presses. Here's the pseudocode: [CODE]if(user presses 1) { do this } else { do that }[/CODE] ps. I was reading about [CODE]java.awt.AWTKeyStroke;[/CODE] and is that what I need to use? …
[CODE]#include <iostream> using namespace std; int main() { int intArrayList[] = {4, 6, 2, 10, 9}; cout << "Unsorted list : "; for(int i = 0; i < sizeof(intArrayList)/sizeof(int); i++) { cout << intArrayList[i] << " "; } [COLOR="red"]intArrayList[/COLOR] = InsertionSort(intArrayList); for(int i = 0; i < sizeof(intArrayList)/sizeof(int); i++) { …
The End.
CollinRyans