20190912-2 Command Line

 

This job requires see [https://edu.cnblogs.com/campus/nenu/2019fall/homework/6582]

1. familiar with the command line and console

Please d.exe develop applications in C, measured from the console command line parameter read command, and print out the respective values a, b, c in the console. Shaped operating results as the following example (6 points)

#include<stdio.h>
 int main(){
     int a;
     int b;
     int c;
     printf("d.exe ");
     scanf("a=%d b=%d c=%d", &a, &b, &c);
     printf("%d\n", a);
     printf("%d\n", b);
     printf("%d\n", c);
     return 0;
     
 }

  

       

 

 

       

 

 

       

 

 

 

 

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/ping2yingshi/p/11514227.html