![]() |
|
|
| Subject:
getenv( )
Category: Computers > Operating Systems Asked by: davvy-ga List Price: $10.00 |
Posted:
11 Dec 2002 23:10 PST
Expires: 10 Jan 2003 23:10 PST Question ID: 123499 |
# include <iostream.h>
# include <stdio.h>
# include <string.h>
# include <stdlib.h>
char* Process Environment Variable (char* enu_name);
void Parse String For Envir Var (char Name []);
void main (int argc, char* argv[]);
{
char physical_name [256];
char logical_name [256];
strcpy (physical_name, argv[1]);
strcpy (logical_name, argv [2]);
cout <<"physical Name: "<<physical_name<<endl;
cout <<"logical Name: "<<logical_name<<endl;
Parse String For Envir Var (physical_name);
Report
Parse String For Envir(logical_name);
Report
}
Question:The program should take 2 commands, it accept one or two variables and
it has to pass through an argument.Fill in missing codes? |
|
| There is no answer at this time. |
|
| There are no comments at this time. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
| Search Google Answers for |
| Google Home - Answers FAQ - Terms of Service - Privacy Policy |