This commit is contained in:
2026-02-25 12:50:54 +08:00
parent c69029e578
commit 71f12730cc
2 changed files with 21 additions and 0 deletions

10
cin数据输入.cpp Normal file
View File

@@ -0,0 +1,10 @@
//
// Created by viole on 2026/2/25.
//
#include <iostream>
using namespace std;
int main() {
int num ;
cin >> num;
cout << num << endl;
}

11
布尔数据类型.cpp Normal file
View File

@@ -0,0 +1,11 @@
//
// Created by viole on 2026/2/25.
//
#include "iostream"
using namespace std;
int main() {
bool flag = 1;
bool flag2 = 0;
cout << flag << endl;
cout << flag2 << endl;
}