No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Student of Life
- PC Specs
- Which One?
14 Posted Topics
Re: Really, there are enough compilers out there already.... Try something else, perhaps adding to a compilers library | |
Can someone please explain to me just exactly this try/catch is doing? It doesn't seem to make any sense to me. Thank you in advance. case '\r': if (Choice==(CancelIndex+1))return; try{(*Action[Choice-1])();} catch(...){} system("cls"); Choice = 1; break; case char(27): if ((CancelIndex+1)==ItemCount)return; try{(*Action[ItemCount-1])();} catch(...){} Choice = 1; break; | |
This may seem like an odd question, I'm not sure? I have been programming exclusivley using Dev C, and I now have to complete a project using Visual C++ 2005. I am trying to figure out just exactly how to properly use "handles". Maybe I'm barking up the wrong tree? … | |
Re: Off the subject, Narue your icon is perfect!!! | |
Re: Try "float" declaration on your minutes. Also use <iostream> for ++ code. | |
[code] [COLOR=green]#include[/COLOR][COLOR=green]"stdafx.h"[/COLOR] [COLOR=green]#include[/COLOR][COLOR=green]<cstdlib>[/COLOR] [COLOR=green]#include[/COLOR][COLOR=green]<iostream>[/COLOR] [COLOR=green]using[/COLOR][COLOR=green]namespace[/COLOR][COLOR=green] std;[/COLOR] [COLOR=green]int[/COLOR][COLOR=green] tmain([/COLOR][COLOR=green]int[/COLOR][COLOR=green] argc, _TCHAR* argv[])[/COLOR] { [COLOR=green]// Let's Declare Variables[/COLOR] [COLOR=green]int[/COLOR] Num_Pegs; [COLOR=green]// Total number of pegs to a side[/COLOR] [COLOR=green]int[/COLOR] Hold_Und; [COLOR=green]// Hold underscore location[/COLOR] [COLOR=green]// User Enters Number of Pegs[/COLOR] cout <<[COLOR=green]"Enter Number of Pegs:"[/COLOR]; cin >>Num_Pegs; [COLOR=green]// Array to create a … | |
![]() | Re: Void Main never has worked in the last who knows how many years! It violates C+ standards right from the start. There are a lot of text book examples using "void" forget about them! |
Take a look at this code, why will it not display "CleanUP" after it exits Main? I have tried writting it many different ways. Simple code, unexpected results? Initialize HelloWorld.......No Clean Up? #include <iostream> using namespace std; class display { public: display() { cout << "Initialize\n"; } ~display() { cout … | |
This may seem like a dumb question, or maybe I just feel dumb asking it. I have spent hours trying to figure out how to retreive the current MM/DD/YYYY from the system output in that format. strftime? time function? I'm spent! Any help would be great..... | |
I have arranged this code in many different ways. I can't seem to make it simply print the array. I have read alot about pointers and arrays, but the explanations are scetchy at best. What exactly are the rules for properly pointing to an array? #include <iostream> using namespace std; … | |
Any help would be greatly appreciated. Does not recognize cat's game also goes into infinate loop when you try to use the same box twice? I have spent hours trying to figure it out. I know it something simple. Any ideas? [code=cplusplus] //Board Display Class - Tic-Tac-Toe Program #include <iostream> … ![]() | |
Can anyone help me with this code? Most of it was written by me for homework. The switch portion was written by my instructor, and it is just pain confusing to me! I beleive I can write a TTT program from scratch (Won't be accepted) easier than cobbling this together. … |
The End.