would you please tell me what do:
the production code
the driver vs the stub
mean ?
thank you
Printable View
would you please tell me what do:
the production code
the driver vs the stub
mean ?
thank you
dating ?
the way you offer such a reply to my thread is mainly to keep me online right ?
if you can not provide any helpful messages please stop messing my thread up
in the hope to beautify yourself...
thank you
Couldnt you relate it to driver/stub functions??
Maybe in a production context the driver would control the entire system and the stubs are smaller components????Code:/* Main is my driver function */
int main()
{
cout<<"Testing the stubs"<<endl;
stub1();
return(0);
}
/* Stub function 1 */
int stub1()
{
cout<<"Making sure this works"<<endl;
stub2();
return(1);
}
/* Stub Function 2*/
string stub2()
{
cout<<"Making sure stub 2 works"<<endl;
return("Working");
}
AFAIK. Production code is programs that are used by customers.. My school projects are not production code, programs that are sold to customers are production code.
Wasn't nuzzle clear when he said in the production version of the program delivered to customers.
Production code is code that users or custoemrs are actually using to do their work as opposed to code that's currently being developed or tested. A stub means there's a function or some kind of code that you can call to get other sections of code written, but doesn't actually do anything yet.
g.eckert gets 100 points for the most correct reply. that is what i am learning :D thank you so much g.eckert
nuzzle just doesn't seem to have been graduated from a cs department.
i am now taking a course in c/c++ in a local college to fill up the gap of my cs knowledge.
thanks GCDEF for your clearification
again thanks everyone for you replies anyway