๐Ÿ’ป Information/Computer 24

[ํ‹ฐ์Šคํ† ๋ฆฌ] ์นดํ…Œ๊ณ ๋ฆฌ ์น˜ํ™˜์ž ๋‚ด๋ถ€ ์†Œ์Šค

ํ‹ฐ์Šคํ† ๋ฆฌ์—์„œ ์น˜ํ™˜์ž๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๊ฒƒ์€ ๊ฐ„ํŽธํ•˜์ง€๋งŒ ์ปค์Šคํ„ฐ๋งˆ์ด์ง•์ด ๋ถˆํŽธํ•˜๋‹ค. ๋‚ด๋ถ€์˜ ์–ด๋–ค ํด๋ž˜์Šค๋ช…์ด ์žˆ๋Š”์ง€ ์•Œ์•„๋ณด์•˜๋‹ค. ์นดํ…Œ๊ณ ๋ฆฌ ํ‹ฐ์Šคํ† ๋ฆฌ ์น˜ํ™˜์ž ์˜ ๋‚ด๋ถ€ ์†Œ์Šค123456789101112131415 ๋ถ„๋ฅ˜ ์ „์ฒด๋ณด๊ธฐ (๊ธ€๊ฐฏ์ˆ˜) ์นดํ…Œ๊ณ ๋ฆฌ๋ช… (๊ธ€๊ฐฏ์ˆ˜) ์„œ๋ธŒ ์นดํ…Œ๊ณ ๋ฆฌ๋ช… (๊ธ€๊ฐฏ์ˆ˜) Colored by Color Scriptercs ํ‹ฐ์Šคํ† ๋ฆฌ ์น˜ํ™˜์ž ์„ค๋ช… ์ฃผ์†Œ : https://tistory.github.io/document-tistory-skin/common/global.html

[C++] ๋™์  ๋ฉ”๋ชจ๋ฆฌ ํ• ๋‹น

[C++] ๋™์  ๋ฉ”๋ชจ๋ฆฌ ํ• ๋‹น์— ๊ด€ํ•œ ์ฝ”๋“œ์ž…๋‹ˆ๋‹ค. 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253#include using namespace std; class Circle{ int radius;public: Circle(); Circle(int r); ~Circle(); void setRadius(int r) { radius = r; } double getArea() { return 3.14*radius*radius; } double getRadius() { return radius; } }; Circle::Circle(){ radius = 1;} Circle::Circle(in..

[C++] ์ƒ์„ฑ์ž, ์†Œ๋ฉธ์ž ์ •์‚ฌ๊ฐํ˜• ํŒ๋ณ„

[C++] ์ƒ์„ฑ์ž, ์†Œ๋ฉธ์ž ์ •์‚ฌ๊ฐํ˜• ํŒ๋ณ„์— ๊ด€ํ•œ ์ฝ”๋“œ ์ž…๋‹ˆ๋‹ค. 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657#includeusing namespace std; class Rectangle{public: int width, height; Rectangle(); Rectangle(int w, int h); Rectangle(int l); int isSquare(); ~Rectangle();}; Rectangle::Rectangle(){ width = height = 1;} Rectangle::Rectangle(int w, int h){ width = w; height..