Search Results

Showing results 1 to 11 of 11
Search took 0.01 seconds.
Search: Posts Made By: winbatch ; Forum: C++ and child forums
Forum: C++ Jun 27th, 2006
Replies: 9
Views: 3,486
Posted By winbatch
A valid question. The reason is this is data that USED to be in the database and was 'archived' off.
Forum: C++ Jun 27th, 2006
Replies: 9
Views: 3,486
Posted By winbatch
So here's what I'm trying to do. Basically, I have a huge text file of strings which are delimited by a delimiter. I would like to read each string separately based on the delimiter. Note that each...
Forum: C++ May 14th, 2006
Replies: 4
Views: 10,647
Posted By winbatch
Assuming you won't in fact attempt to change 'crap' inside the 'bull' function, simply change the above to:

void bull( const char[] )
and
void bull( const char crap[] )
{
std::cout <<...
Forum: C++ Apr 20th, 2006
Replies: 10
Views: 3,672
Posted By winbatch
That works, unfortunately, I don't want it to be a static function as I want it to use the instance of the class that I'm working in.
Forum: C++ Apr 19th, 2006
Replies: 10
Views: 3,672
Posted By winbatch
Say what Dr. Dave?

I had trouble following your other thread too. guess I'm biting off more than I can chew.
Forum: C++ Apr 19th, 2006
Replies: 10
Views: 3,672
Posted By winbatch
Dave,

Don't lose sleep over it. But if you're up anyway, yes please find the other thread ;)

WB
Forum: C++ Apr 19th, 2006
Replies: 10
Views: 3,672
Posted By winbatch
Dave,

I was looking at that - went over my head. Is there an easy answer to my particular example? Part of the problem seems to be that I'm INSIDE my class when I'm trying to pass another member...
Forum: C++ Apr 18th, 2006
Replies: 10
Views: 3,672
Posted By winbatch
So I'm trying to learn how to use function pointers (ie to pass the address of a function to another function to execute it - like a call back). I have it working when I use it as follows:
...
Forum: C++ Nov 16th, 2005
Replies: 7
Views: 60,147
Posted By winbatch
Since it's in milliseconds, you might want to do something like 5000 to notice it. In unix, it's lowercase sleep, and it's in seconds..
Forum: C++ Nov 3rd, 2005
Replies: 9
Views: 1,742
Posted By winbatch
Also, shouldn't you be using the p in your function? (Rather than calling static methods, you would want to use the information stored in the Person object p). (for example p.getName() )
Forum: C++ Jun 3rd, 2005
Replies: 28
Views: 45,132
Posted By winbatch
Basically, the only way to do this is what narue suggested and pass in the actual size as a parameter to the function. Either that, or use an STL collection, and use .size()
Showing results 1 to 11 of 11

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC