I have a class Customer I create a CustomerFactory for it but I would also like to include a Customer_Mock. So I think my factory will create a customer_mock instead of a real customer. Here is what...
A white guy sent me some emails with words or phrases sounded like those from Lonestars songs (country rock),today I visited his facebook and found his 99/100 friends are all white. I also visited...
using namespace System;
ref class A
{
public:
A(){Console::WriteLine(L"A constructor");}
virtual void func(){foo();}
void foo()
{
Console::WriteLine(L"A from foo");
}
Yes, thank yu, that is why I ask whether or not should I minus one from the second function to match the two version ? For example, my current code is using the first function and I need to upgrade...
Ok why does the example in http://msdn.microsoft.com/en-us/library/s7wzt4be%28v=vs.80%29.aspx
yield 14 while
http://msdn.microsoft.com/en-us/library/5d7tc9zw%28v=vs.80%29.aspx 13 ?
I am proud to tell you that I a loyal user of this site, I have been here for almost 10 years. But I am very sad when I received replies from older users of this site about my question of...
No, I am listening, but I do need more information to have a good and correct argument for debates of what I should follow. All code in my library is not really hard, only the user-defined types used...
Thank you, for example, now I hand you in the Boost library and I would like you to write all unit-tests for the library's functions/methods in all classes using MSVS2012, what are you going to do...
Thank you, the only weird thing is I could not find any tutorials or example code to do what you suggested me. Are there any underlying claims for *never* mocking user-defined, COM related functions...
After joining a company with strict policy for source code that all coders are only allowed to access and read code via virtual machines. I find it horrible a policy they are implementing. Let me be...
That was a short quote from someone. But I have a hard time understanding his words and how to write a piece of code as to exemplify what he says.
for example
How do CG decide and accept an article if I "suddenly" would like to post an article for CG community ?
Should the article be about large applications or just coding tips ?
I don't know which to choose again now.
In cosatech I have to work on[in] time, hourly based(8AM-5PM). in SAP, if I am accepted, i can follow a flexible work hour rule.
In cosatech they offer me a...
:D thank you for your reply, I signed the job offer with the former (cosatech) but I will also come for the interview with the German team of the latter on this Sunday afternoon (only would want to...
I have been working in and out of some companies for a couple of years. I am thinking I will work for myself instead. I may need to run a tiny small business with some thousands of dollars (enough?)...
I have had 2 interviews cosatech.com and sap.com
both for the same position. the latter asked me to come for the second round interview with the German team.
I don't know which one I choose to...
My right eye's upper lid just has been twitched all the time since this early evening, I guess something really wrong is happening or is going to happen very soon.
My computer is now running out of space and I am thinking about buying and installing a new internal HD. What should I consider and check before buying then installing it ? I don't know anything...