Forum: C++ Dec 5th, 2007 |
| Replies: 4 Views: 5,419 Thank you, that makes a lot of sense. I understand whats try to be acheived by using
this. |
Forum: C++ Dec 5th, 2007 |
| Replies: 4 Views: 5,419 Is there really any reason to have in the code, or is this just a half-hearted attempt at trying to error detection? |
Forum: C++ Dec 5th, 2007 |
| Replies: 4 Views: 5,419 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... |
Forum: C++ Nov 6th, 2007 |
| Replies: 3 Views: 2,534 Thanks Duoas, I know it's a bit late. I know that Microsuck handles have nothing to do with C++, but it seems like you have to learn a whole language when dealing with Visual Studio! I'm still in... |
Forum: C++ Nov 5th, 2007 |
| Replies: 3 Views: 2,534 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... |
Forum: C++ Sep 18th, 2007 |
| Replies: 7 Views: 1,375 Ah yes, thanx for all your "kind" help, I have once realized that I am still wallowing in the
bottom of the C.......... |
Forum: C++ Sep 18th, 2007 |
| Replies: 7 Views: 1,375 I'll try it thanX.....I just think it is funny that Dev(Bloodshed) finds it O.K., but VC2005 wont allow it? |
Forum: C++ Sep 18th, 2007 |
| Replies: 8 Views: 2,064 THen you are going to have to round off with just using "int", do you want apples or oranges? |
Forum: C++ Sep 18th, 2007 |
| Replies: 9 Views: 3,872 Off the subject, Narue your icon is perfect!!! |
Forum: C++ Sep 18th, 2007 |
| Replies: 8 Views: 2,064 Under <iostream> type "using namespace std;" without the quotes. still use float, it will work on almost any compiler! |
Forum: C++ Sep 18th, 2007 |
| Replies: 8 Views: 2,064 Try "float" declaration on your minutes. Also use <iostream> for ++ code. |
Forum: C++ Sep 18th, 2007 |
| Replies: 7 Views: 1,375 Come on your not all afraid of this novice problem are you? |
Forum: C++ Sep 18th, 2007 |
| Replies: 3 Views: 658 Research "cin.getline" there's a start! |
Forum: C++ Sep 18th, 2007 |
| Replies: 3 Views: 863 No problem! I'm still learning this crazy language myself. C+ is a brutal passion.
Glad I could help :-) |
Forum: C++ Sep 18th, 2007 |
| Replies: 6 Views: 1,692 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! |
Forum: C++ Sep 18th, 2007 |
| Replies: 3 Views: 863 Use "float" instaed of "int" O.K. |
Forum: C++ Sep 18th, 2007 |
| Replies: 7 Views: 1,375 #include"stdafx.h"
#include<cstdlib>
#include<iostream>
usingnamespace std;
int tmain(int argc, _TCHAR* argv[])
{
// Let's Declare Variables
int Num_Pegs; // Total number of pegs to a side... |
Forum: C++ Sep 11th, 2007 |
| Replies: 16 Views: 7,000 Really, there are enough compilers out there already.... Try something else, perhaps adding to a compilers library |
Forum: C++ May 1st, 2007 |
| Replies: 10 Views: 1,401 Awesome, thanks it worked. To think I never thought of doing that? That's why I love this forum and can't wait to to become a better programmer, so I can help others.
Thanx Vijayan |
Forum: C++ May 1st, 2007 |
| Replies: 10 Views: 1,401 That is why I'm using CIN.GET() so I can see what's being output to the screen. |
Forum: C++ May 1st, 2007 |
| Replies: 10 Views: 1,401 I'm using Bloodshed C++ compiler, I am starting to think it's a compiler issue. But I compiled it using Vis C++, no deals? |
Forum: C++ May 1st, 2007 |
| Replies: 10 Views: 1,401 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... |
Forum: C May 1st, 2007 |
| Replies: 2 Views: 714 Excellent! Very good material, I thank you.
Saved it to favorites and I'll take it from there.
The main reason I love to program is there is
always somrthing to try and figure out.
Again Thanx. |
Forum: C Apr 30th, 2007 |
| Replies: 2 Views: 714 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.... |
Forum: C++ Mar 19th, 2007 |
| Replies: 8 Views: 2,056 Thanks Fulyaoner! that did the trick! I was so close, so many times. It always seems to be the little things with C++.
THANKs guys,
Now it's time to read some more. If someone could write a... |
Forum: C++ Mar 19th, 2007 |
| Replies: 8 Views: 2,056 Thanks, I wasn't sure exactly, but even with that change the output is still "22222" ??? |
Forum: C++ Mar 19th, 2007 |
| Replies: 8 Views: 2,056 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... |
Forum: C++ Mar 14th, 2007 |
| Replies: 16 Views: 1,399 Thanks Thwee for making me take a harder look at my logic, sometimes a person can get frustrated. Especially when learning four languages at once (Java, VB, C++, and PHP. Thanks again.... Gotta go to... |
Forum: C++ Mar 14th, 2007 |
| Replies: 16 Views: 1,399 It seems to be validating alright just can't figure out why it keeps looping instead of validating then accepting new input?
By the way Thank you for your patience, perhaps I've stared at this... |
Forum: C++ Mar 14th, 2007 |
| Replies: 16 Views: 1,399 By using while boxPlayed The program will tell the box is taken but will fall through after it asks player to enter another box? |
Forum: C++ Mar 14th, 2007 |
| Replies: 16 Views: 1,399 Sorry about that. I changed it to boardDraw.
My mistake. |
Forum: C++ Mar 14th, 2007 |
| Replies: 16 Views: 1,399 By the way this is NOT how I personally would write this program. This is how my instructor wishes it to be done. This way is to drawn out and semi-confusing. |
Forum: C++ Mar 14th, 2007 |
| Replies: 16 Views: 1,399 I thought I covered that with the isTaken function and also for cats game in my checkWinState function but I guess I,m missing something? |
Forum: C++ Mar 14th, 2007 |
| Replies: 16 Views: 1,399 It's possible I,m not debugging properly. I guess I got used to Visual 2005 way of things. I don't mind using Dev just have to better understand it. I am fairly new to c++ |
Forum: C++ Mar 14th, 2007 |
| Replies: 16 Views: 1,399 No bugs, just seems to be something I,m overlooking in my structure? Not used to this old DOS compiler Dev c++ |
Forum: C++ Mar 14th, 2007 |
| Replies: 16 Views: 1,399 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... |
Forum: C++ Mar 12th, 2007 |
| Replies: 3 Views: 833 Thanks Joe,
I know I should of presented my case a little better, it's just that I've worked and re-worked this code for too long. I'm fed up with my instructor, he is truly NOT earning his money.... |
Forum: C++ Mar 12th, 2007 |
| Replies: 3 Views: 833 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... |