Search:
Type: Posts; User: Firewireguy
Search:
Search took 0.04 seconds.
-
October 26th, 2005, 04:11 PM
first check if they really should inherit from the same object by reading this through to the end: http://www.parashift.com/c++-faq-lite/proper-inheritance.html#faq-21.6
The most important part...
-
October 26th, 2005, 04:03 PM
TD is a defect tracking tool so for any CR or new functionality surely you should just raise one defect, rather than have one defect per test case??
I'm not really sure what you're trying to use...
-
October 19th, 2005, 07:00 AM
You are also responsible for deleting the memory even if an exception is thrown.
-
October 7th, 2005, 09:30 PM
I kind of agree but when you first hear about them you're told you can pass them into a function with non of the overhead of a copy parameter, "a bit like passing a const pointer". I still think of...
-
October 6th, 2005, 09:31 AM
I agree. I meant to say that you could do if you wanted to.
-
October 6th, 2005, 07:28 AM
Mutabe was created for exactly this kind of problem as described in the link I posted above. It is not a hack. I very much doubt your code needs refactoring based on this problem alone.
-
October 6th, 2005, 07:25 AM
You could also write something like this:
void TakesAPointer(int* p)
{
int i = 5;
*p = i;
cout << *p << endl;
}
-
October 6th, 2005, 07:02 AM
Make the iterator mutable this allows the variable to be modified in a const function. This allows the distinction between ""abstract const", where the user cannot tell that anything has been...
-
October 6th, 2005, 06:38 AM
const int foo(int, int); returns a constant int
int foo(int, int) const; returns a non-constant int but the function promises not to modify the class it is a part of (however it may modify mutable...
-
September 21st, 2005, 10:49 AM
Is there a tool available that will find all instances of a function call made from an object of a particular type instead of the name of the instance of an object?
So for example you could...
-
September 20th, 2005, 07:15 AM
Solaris has a RT thread option that I think is supposed to be pretty good, but I doubt it's as good as VxWorks.
-
August 23rd, 2005, 05:42 PM
I'm not sure but I would have thought the constructors would be fired automatically because you can't create an object without firing it's constructor, but then an array may just allocate the memory...
-
August 23rd, 2005, 08:06 AM
I've found out my problem, it's because we're currently using a precision of 2 which means we're rounding to two decimal places. I've tried rounding to 8 decimal places which gives us the result of...
-
August 23rd, 2005, 04:37 AM
Hi there,
I currently have a problem at work with rounding errors, now I know that the error is expected and this is fine. However the tollerance our client has specified is that it can't be more...
-
August 7th, 2005, 04:34 AM
I didn't make any specific plans to. What's the best thing about having a shower with a 12 year old boy?
-
July 28th, 2005, 07:07 AM
Documentation? What's that?
It would be funny if it weren't so true :(
-
July 28th, 2005, 07:05 AM
The company makes life and pensions administration software. I do the business logic bit. Well sometimes, usually just crappy defects. Sux.
-
July 19th, 2005, 07:15 AM
I did the C++ Programming for C Programmers course run by QA when I started my job. It's a good course but having done C++ at uni it was more of a refresher than anything else. I suspect you'll...
-
July 18th, 2005, 06:53 AM
As Smasher/Devourer said. No.
-
July 15th, 2005, 07:18 AM
Is there any "definitive" bullet proof singleton example skeleton that someone could provide me with that would work in 99% of cases in a multithreaded environment?
It seems that there are so many...
-
July 12th, 2005, 07:11 AM
Thanks, I'll try that when I get home tonight.
As I say it's currently only an early prototype and I've never written a Singleton before. I thought that at the end of main() the destructor for...
-
July 10th, 2005, 09:11 AM
I'm trying to create a Singleton class and keep getting an unresolved external error when linking. The code I have is this:
Simulation.h:
#if...
-
June 14th, 2005, 06:48 AM
Well you could use regexp or a basic strcmp or something if you have a list of all top level domains.
What do you want in cases like this though?:
http://my.updates.microsoft.co.uk
-
I'd pretty much agree with the above.
I prefer the term Software Engineer because I think that software development should be an engineering disipline, although at the moment my official job title...
-
Right I have this page:
http://www.philybaby.co.uk/index.php?function=pictures&group=2
now it works great in Mozilla, however in IE it fails miserably.
The html is:
|
Click Here to Expand Forum to Full Width
|