C/C++调用DOS命令
使用system(“…”);
C要#include <stdlib.h>
C++直接(只要iostream
C:
1 |
|
1 | 该程序, |
C++:
1 |
|
1 | 用date命令显示当前日期: |
使用system(“…”);
C要#include <stdlib.h>
C++直接(只要iostream
1 | #include <stdio.h> |
1 | 该程序, |
1 | #include <iostream> |
1 | 用date命令显示当前日期: |
WeChat Pay
Alipay