본문 바로가기

분류 전체보기32

[Ubuntu]데스크탑에 우분투(Ubuntu) 설치: BalenaEtcher 사용법 포함 1. Ubuntu ISO 다운로드https://ubuntu.com/download Get Ubuntu | Download | UbuntuDownload Ubuntu desktop, Ubuntu Server, Ubuntu for Raspberry Pi and IoT devices, Ubuntu Core and all the Ubuntu flavours. Ubuntu is an open-source software platform that runs everywhere from the PC to the server and the cloud.ubuntu.com   공식 홈페이지 들어간 다음 데스크탑 및 서버 버전을 다운로드할 수 있다.그러나 현재 기준 가장 최신 버전인 24.04만 다운로드 가능하다. 홈페이지를.. 2025. 1. 26.
[VMware]Windows에서 Ubuntu 사용하기 1. VMware 홈페이지 방문https://www.vmware.com/products/desktop-hypervisor/workstation-and-fusion Desktop Hypervisor Solutions | VMwareVMware Workstation and VMware Fusion desktop hypervisors are the industry leaders in local virtualization. Learn how VMware’s local virtualization solutions provide an easier way to build, test and deliver any app for any device or cloud.www.vmware.com위 사이트에 들어가서 Downlo.. 2025. 1. 26.
[VSCode]Windows에서 VSCode 설치 1. Visual Studio Code 다운로드https://code.visualstudio.com/  Visual Studio Code - Code Editing. RedefinedVisual Studio Code redefines AI-powered coding with GitHub Copilot for building and debugging modern web and cloud applications. Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows.code.visualstudio.com Download for Windows를 다운로드 클릭.클릭할 경우 자동으로 다운로드가 될 .. 2025. 1. 26.
[C/C++]조건문: if문, if-else문, if-else if-else문, switch문, goto문 1. if문if (조건식) // 참일 때 실행되는 라인.int number;printf("정수를 입력하시오:");scanf("%d", &number);if (number > 0) printf("양수입니다.\n"); printf("입력된 값은 %d입니다.\n", number); 조건식의 결과가 참(true, 1이상의 값)일 때만 해당 라인을 실행한다.2. if-else문if (조건식) // 조건이 참일 때 실행else // 조건이 거짓일 때 실행int number;printf("정수를 입력하시오:");scanf("%d", &number);if (number % 2 == 0) printf("입력된 정수는 짝수입니다.\n");else printf("입력된 정수는 홀수입니다.\n"); 조건.. 2025. 1. 21.
[프로그래밍언어]쉽게 풀어쓴 C언어 Express 5장 수식과 연산자 Programming 01 사용자로부터 2개의 정수를 입력받아서 첫 번째 정수를 두 번째 정수로 나누었을 때 얻게 되는 몫과 나머지를 출력하는 프로그램을 작성하라.#include int main(){ int x, y; printf("2개의 정수를 입력하시오: "); scanf("%d %d", &x, &y); printf("몫:%d 나머지: %d\n", x / y, x % y); return 0;} 두 개를 연속해서 입력 받을 땐 위처럼 scanf()를 작성하면 된다.02 2개의 double 형 실수를 읽어서 합, 차, 곱, 몫을 구하는 프로그램을 작성하라.#include int main(){ double x, y; printf("실수를 입력하시오:"); scanf("%lf %lf", &x, &y); printf(".. 2025. 1. 15.
[프로그래밍언어]쉽게 풀어쓴 C언어 Express 5장 수식과 연산자 Exercise 01 다음 중 우선 순위가 가장 높은 연산자는?② 증감 연산자문항에 나와있는 항목들의 우선 순위는 증감 > 산술 > 대입 > 콤마이다.02 수식에서 어떤 연산자들이 먼저 계산되는지를 결정하는 것을 무엇이라고 하는가?③ 우선 순위피연산자 : 연산이 되는 대상결과값 : 연산이 끝나고 리턴되는 값.03 두 개의 피연산자가 모두 참인 경우에만 참이 되는 논리 연산자는?① &&정답은 논리 AND이기 때문에 둘 다 참인 경우에만 참을 리턴한다.|| : 피연산자 중 하나라도 참이면 참을 리턴.! : 피연산자의 논리 값을 뒤집는다.> : 왼쪽 값이 오른쪽보다 커야 참.04 다음 중 올바른 대입식이 아닌 것은?② 5 = x + y대입 연산자(=)의 좌측은 무조건 변수.05 다음 수식의 값을 적으시오.(a) 1.0 + 1.. 2025. 1. 14.