| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
- 파이참
- 티스토리챌린지
- 회귀분석
- Clock Domain Crossing
- 임베디드레시피
- ADsP
- SystemVerilog
- BeautifulSoup4
- Dithering
- arduino
- 아두이노
- 인덕터
- 군산가볼만한곳
- systemverilog assertions
- data structure
- SVA
- Bash
- 임베디드시스템
- tkinter
- Metastability
- 오블완
- 자료구조
- 디더링
- git
- Dither
- STM32
- assertion
- openpyxl
- IOT
- c++ 기초
- Today
- Total
목록Programming/C++ (16)
리미창고
#include using namespace std; int main() { // 축구선수 struct MyStruct // 구조체 선언 { // 멤버 변수 string name; string position; int height; int weight; } B; // 구조체를 선언하면서 변수 선언 가능 // 1. 초기화 MyStruct A = { // 변수 선언 "Son", "Striker", 183, 77 }; cout
#include using namespace std; int main() { char char1[20]; char char2[20] = "jaguar"; //char1 = char2; //불가능 string str1; string str2 = "panda"; string str3 = "potato"; str1 = str2; // 가능 cout
#include #include using namespace std; int main() { //사용자 입력 const int Size = 15; char name1[Size]; // 비어있는 배열 char name2[Size] = "C++programing"; // 문자열 상수로 초기화된 배열 cout
#include // 전처리 지시자 using namespace std; // 없으면 std::을 붙여서 함수를 사용해야함 int main() { // main의 이름을 가지고 있는 함수가 있어야 한다. short month[12] = { 1,2,3 }; cout
#include // 전처리 지시자 using namespace std; // 없으면 std::을 붙여서 함수를 사용해야함 int main() { // main의 이름을 가지고 있는 함수가 있어야 한다. int a = 10; int b = 3; int c = a + b; int d = a - b; int e = a * b; int f = a / b; int g = a % b; cout
#include // 전처리 지시자 // #define PIE 3.1415926535 C style 상수 정의 방법 using namespace std; // 없으면 std::을 붙여서 함수를 사용해야함 //원의 넓이를 구하는 프로그램 //반지름 * 반지름 * 파이 int main() { // main의 이름을 가지고 있는 함수가 있어야 한다. //1.상수 //(1)바뀔 필요가 없는 수 //(2)바뀌어서는 안되는 수 const float PIE = 3.1415926535; int r = 3; float s = r * r * PIE; cout
