Forum: C++ Feb 3rd, 2007 |
| Replies: 10 Views: 3,853 Thanks to everyone who has replied; this indeed has given me much to look into. ;) I appreciate your time and help.
MattyD |
Forum: C++ Feb 2nd, 2007 |
| Replies: 10 Views: 3,853 Hello:
I am interested in understanding recursivity; I have not knowingly used this much in my programming. I am reviewing certain areas of OOP in order to learn more and better about areas that... |
Forum: C++ Nov 14th, 2006 |
| Replies: 8 Views: 2,854 WolfPack:
Thank-you for you reply and explanation. It makes perfect sense to me now.
sharky_machine |
Forum: C++ Nov 13th, 2006 |
| Replies: 8 Views: 2,854 WaltP:
Thank-you for your reply and help. :)
Yes, I'm sure I'm ready to use this, I just need to understand it a bit better before I make use of it.
Thanks again,
sharky_machine ;) |
Forum: C++ Nov 13th, 2006 |
| Replies: 8 Views: 2,854 WolfPack:
when you get the chance, could you please explain this above code to me a bit in your own words?
Thank-you in advance.
sharky_machine |
Forum: C++ Nov 13th, 2006 |
| Replies: 8 Views: 2,854 WolfPack:
Sorry about that. I am writing in C++.
Thanks.
sharky_machine |
Forum: C++ Nov 13th, 2006 |
| Replies: 8 Views: 2,854 I am working to add some simple user input checking into my program; there are three (3) int choices from a menu-- 1, 2, or 3. The user must choose one of these. I am able to check whether or not... |
Forum: C++ Nov 10th, 2006 |
| Replies: 14 Views: 2,665 nanodano:
TY so much for your reply. I followed your suggestion(s) and used:
* setting test condition in printshippos to checkflag >= 0
That was the solution :cheesy:
Thanks again. ... |
Forum: C++ Nov 10th, 2006 |
| Replies: 14 Views: 2,665 nanadano:
Here is the code you requested. Thank-you for your interest.
Upon fixing the previous error that we discussed, another bug has appeared that I find very odd: It seems that when I run... |
Forum: C++ Nov 9th, 2006 |
| Replies: 14 Views: 2,665 Nanodano & WaltP:
Thank-you again for all of your help and suggestions; I followed everything you told me of and the problem I have been having is fixed.
I appreciate it a lot. Solved.
... |
Forum: C++ Nov 9th, 2006 |
| Replies: 14 Views: 2,665 Thank-you for all you help and suggestions :) |
Forum: C++ Nov 9th, 2006 |
| Replies: 14 Views: 2,665 Yes, Thank-you for pointing this out, but I think my problems goes deeper somehow :confused:.
I appreciate your help.
Regards,
sharky_machine |
Forum: C++ Nov 8th, 2006 |
| Replies: 14 Views: 2,665 Hello:
Something as seemingly simple as an If\ Else statement is causing me much trouble and I cannot figure out where the error lies. I believe it to be in:
The variable scope
The use of the... |
Forum: C++ Nov 8th, 2006 |
| Replies: 4 Views: 1,086 WolfPack:
Thank-you for you reply. I tried a few things from the suggested thread. In reference to the anti-virus consideration-- that sounds unusual-- I did not try it, but I appreciate the... |
Forum: C++ Nov 8th, 2006 |
| Replies: 4 Views: 1,086 Hello:
I am seeking a few tips in regards to debugging: I have been using Visual C++ 2005 Express Edition for the last few months but am not very comfortable with its debugging platform. I... |
Forum: C++ Nov 8th, 2006 |
| Replies: 4 Views: 888 Knock knock... do I see somthing missing...
#include <cstdlib>
#include <iostream>
#include "Look.h"
using namespace std;
int currPos = 0;
int checkFlag = 0;
static int shipPos1 = 0; //... |
Forum: C++ Nov 7th, 2006 |
| Replies: 4 Views: 888 WolfPack:
Thank-you for your reply and for pointing out my now obvious mistake.
sharky_machine |
Forum: C++ Nov 7th, 2006 |
| Replies: 4 Views: 888 Hello:
I am having a bit of problem with logic in a segment (marked in blue) of this code: the indicated code should simply update the variable upon each pass of the function as it runs; the... |
Forum: C++ Nov 7th, 2006 |
| Replies: 1 Views: 1,130 |
Forum: C++ Nov 6th, 2006 |
| Replies: 1 Views: 1,130 I have come to point in my program where I have decided a static variable would be the best option. I am not very familiar with static variable use and have never implemented them often.
The area... |
Forum: C++ Nov 6th, 2006 |
| Replies: 1 Views: 4,331 I have been looking at a small bit of code concerning the use of static with variables; I thought I understood the use of static, but I find this code confusing:
//: C03:Static.cpp
// Using a... |
Forum: C++ Nov 5th, 2006 |
| Replies: 6 Views: 6,215 ~S.O.S.~,
You are correct about this-- thanks again :)
"You can find the aproximation between tick count of processor and seconds by wathching how many tick counts get elapsed in one second or... |
Forum: C++ Nov 5th, 2006 |
| Replies: 6 Views: 6,215 Ty, ~S.O.S~
I will do this. |
Forum: C++ Nov 5th, 2006 |
| Replies: 6 Views: 6,215 TY for your reply.
I have tried to find documentation specifying what the time output is: milliseconds?
( from previous example)
1162756763
1162756806
1162756841 |
Forum: C++ Nov 5th, 2006 |
| Replies: 6 Views: 6,215 I am incorporating clock_t into a current build; I need a simple way to measure time elapsed; it is not so important the source of elapsed (CPU) time or even its starting point (zero would be ideal,... |
Forum: C++ Nov 3rd, 2006 |
| Replies: 17 Views: 2,711 Hi iamthwee:
Creating art with computers is great, but I am not so versed in it yet. I really only play around with it in Photoshop, etc. I am amazed at the level and quality of art being... |
Forum: C++ Nov 3rd, 2006 |
| Replies: 6 Views: 1,413 Finding the solution for this is not going so well. I always miss the little things and I think it is the same in this case; I made a copy of the project last night so I could hack at it freely and... |
Forum: C++ Nov 3rd, 2006 |
| Replies: 17 Views: 2,711 Hi:
I use Visual C++ 2005 Express Edition; its very nice yet very complex. Honestly, it goes without saying that I do not use 1/4 of the option features but what is cool about that is that I... |
Forum: C++ Nov 3rd, 2006 |
| Replies: 20 Views: 4,861 |
Forum: C++ Nov 2nd, 2006 |
| Replies: 6 Views: 1,413 OK-- Thank-you -- will do. |
Forum: C++ Nov 2nd, 2006 |
| Replies: 6 Views: 1,413 two comments: (1) srand() should only be called once throught the lifetime of the program. Best place to put it is near the beginning of main() function.
And, I can simply call this from within... |
Forum: C++ Nov 2nd, 2006 |
| Replies: 20 Views: 4,861 I knew what you meant-- I earned the basket weaving merit badge in Boy Scouts back in the day! :o :lol: |
Forum: C++ Nov 2nd, 2006 |
| Replies: 6 Views: 1,413 Ancient Dragon:
Cool. I will move and edit the RNG like said. |
Forum: C++ Nov 2nd, 2006 |
| Replies: 20 Views: 4,861 Ancient Dragon: LOL, yes, true! "basket weaving":lol: |
Forum: C++ Nov 2nd, 2006 |
| Replies: 20 Views: 4,861 (** This post was inspired by a recent post I read where a reply suggested the indenting of all code.)
I am guilty of this, I'll be honest. I know it is important to indent and indent properly,... |
Forum: C++ Nov 2nd, 2006 |
| Replies: 6 Views: 1,413 Greetings:
A simple question that has me stuck: Program runs, calls function, function runs... Return to Main? This last area is where it fails. No errors, just no control returned to Main.cpp at... |
Forum: C++ Nov 1st, 2006 |
| Replies: 1 Views: 3,223 I am planning to implement #include <time.h> in my program. I have never yet used this include. I will be using this in order to track a 24-hour period, or at least that is what I wish to do; I... |
Forum: C++ Nov 1st, 2006 |
| Replies: 10 Views: 1,593 joeprogrammer:
Thank-you for your reply. I tried your suggestion, adding
Look::Look() {
}
Look::~Look(){
} |
Forum: C++ Oct 31st, 2006 |
| Replies: 10 Views: 1,593 joeprogrammer:
TY for your reply. I appreciate you clarifying this. I am a bit confused at this point with classes in general; I have been working at this one area of the code for some time now... |
Forum: C++ Oct 31st, 2006 |
| Replies: 10 Views: 1,593 Hi:
I made some adjustments to the compiler; I turned off the "precompiled headers" option (suggested on MSDN) and ran the build-- same, old error from before :
------ Build started: Project:... |