-
October 22nd, 2009, 08:58 AM
#1
a few words i read forums
would you please tell me what do:
the production code
the driver vs the stub
mean ?
thank you
-
October 22nd, 2009, 06:51 PM
#2
Re: a few words i read forums
Originally Posted by Dragon5
would you please tell me what do:
the production code
the driver vs the stub
mean ?
If probably means that during development some dummy code (a stub) has been used which is to be replaced by the real thing (a driver) in the production version of the program delivered to customers.
-
October 22nd, 2009, 07:24 PM
#3
Re: a few words i read forums
Originally Posted by nuzzle
If probably means that during development some dummy code (a stub) has been used which is to be replaced by the real thing (a driver) in the production version of the program delivered to customers.
thank you nuzzle, that sounds to me like a puzzle, i don't understand.
can you please offer me an example quickly? i don't want to be stood up online like this.
and what do people mean by "production code" ?
thank you
-
October 22nd, 2009, 07:47 PM
#4
Re: a few words i read forums
Originally Posted by Dragon5
can you please offer me an example quickly? i don't want to be stood up online like this.
Sorry but I'm not into speed dating.
-
October 22nd, 2009, 07:50 PM
#5
Re: a few words i read forums
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
-
October 23rd, 2009, 01:04 PM
#6
Re: a few words i read forums
Couldnt you relate it to driver/stub functions??
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");
}
Maybe in a production context the driver would control the entire system and the stubs are smaller components????
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.
Last edited by g.eckert; October 23rd, 2009 at 01:08 PM.
-
October 23rd, 2009, 01:39 PM
#7
Re: a few words i read forums
Originally Posted by Dragon5
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
Calm down, dear. It's only a commercial!!
-
October 23rd, 2009, 02:05 PM
#8
Re: a few words i read forums
Originally Posted by Dragon5
thank you nuzzle, that sounds to me like a puzzle, i don't understand.
can you please offer me an example quickly? i don't want to be stood up online like this.
and what do people mean by "production code" ?
thank you
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.
-
October 23rd, 2009, 08:09 PM
#9
Re: a few words i read forums
g.eckert gets 100 points for the most correct reply. that is what i am learning 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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|