일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- github
- 함수
- 사칙연산
- 파이썬
- 조건문
- document
- 자바스크립트
- property
- IF문
- window
- 백준 알고리즘
- 배열
- sql injection
- 포인터
- burp suite
- object
- suninatas 풀이
- Pwndbg
- blind sql injection
- xss game
- 백준 파이썬
- 메소드
- 김성엽 대표님
- htmlspecialchars
- python
- element 조회
- jQuery
- 객체
- xss game 풀이
- lord of sql injection
Archives
- Today
- Total
목록원 면적과 둘레 구하는 방법 (1)
power-girl0-0

#include #include using namespace std; class Circle{ int radius; string name; public: Circle(); ~Circle(){}; void setRadius(string n,int r){name = n; radius = r;} double getArea(){return 3.14*radius*radius;} double getSize(){return (radius+radius)*3.14;} string getName(){return name;} }; Circle::Circle(){ radius = 1; } int main(){ cout n; //원의 개수 입력 Circle *pArray = new Circle [n]; //n개의 circle ..
언어/C++
2021. 4. 6. 16:02