Google Answers Logo
View Question
 
Q: getenv( ) ( No Answer,   0 Comments )
Question  
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?
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

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 Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy