본문 바로가기

기초9

[Español] Family (스페인어 기초, 회화, 가족, 동물, 단어) Vocabulario · wife : esposa · husband : esposo · grandmother : abuela · grandfather : abuelo · father : padre (m) · mother : madre (f) · brother : hermano · sister : hermana · daughter : hija · son : hijo · dog : perro · cat : gato · car : carro · bycicle : bicicleta · house : casa · live : vivir - vivo vives vive viven · very : muy · good : bien · elegant : elegante · intelligent : inteligente .. 2022. 3. 25.
[Unity] Roll a Ball CameraController.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraController : MonoBehaviour { public GameObject player; private Vector3 offset; // Start is called before the first frame update void Start() { offset = transform.position - player.transform.position; } // Update is called once per frame void LateUpdate() { transform.position = pl.. 2022. 2. 15.
[GLSL] Hello World https://thebookofshaders.com/02/ The Book of Shaders Gentle step-by-step guide through the abstract and complex universe of Fragment Shaders. thebookofshaders.com #ifdef GL_ES precision mediump float; #endif void main() { gl_FragColor = vec4(1.0,0.0,1.0,1.0); } 1. Shader Language is C-flavored language. 2. The final pixel color is assigned to the reserved global variable gl_FragColor. 3. Shader .. 2022. 1. 5.
[Android] Java 안 써본 컴공 4학년의 안드로이드 하루컷하기 안드로이드는 MainActivity.java가 진입점이다. 앱을 실행하면 이 Activity의 인스턴스를 실행하고 레이아웃을 로드한다. activity_main.xml 이런 식으로 xml 파일로 UI 레이아웃을 정의한다. build.gradle은 프로젝트에 하나, 모듈에 하나 같은 이름의 파일이 두 개 있다. 실행이 안될 때는 여기를 참고하자. https://developer.android.com/training/basics/firstapp/running-app 앱 실행 | Android 개발자 | Android Developers 이전 과정에서는 'Hello, World!'를 표시하는 Android 앱을 만들었습니다. 이제 실제 기기 또는 에뮬레이터에서 앱을 실행할 수 있습니다. 실제 기기에서 실행 다.. 2021. 5. 29.
[C 프로그래밍 실습] 중간고사 문제 1. 한 줄로 입력된 문자열의 사칙 연산을 수행하는 프로그램을 쓰시오. (20점) 연산자들(+, -, *, /)은 우선 순위가 동일하다. 피연산자와 연산자 사이에는 하나 이상의 공백으로 구분된다. 문자열 연산식을 한번에 읽어 들이고, 토큰으로 분할하여 처리한다. 아래 예시와 같이 연자자 사용 오류와 0으로 나누기 오류에 대해서만 처리한다. 2. 재귀호출 함수(recursive function)를 사용하여 string의 length를 계산하는 프로그램을 쓰시오. (20점) 3. 다음을 참고로 [파스칼의 삼각형]을 출력하는 프로그램을 작성하시오. (20점) 정수형 이차원 배열 pascal[10][10]을 선언 크기 입력 값에 따라 최대 10행까지 [파스칼의 삼각형]을 생성하여 저장 후 출력 pascal[n].. 2021. 1. 3.
[Español] Restaurant (스페인어 기초, 회화, 여행 스페인어, 식당, 주문) Vocabulario · salad : ensalada· hamburger : hamburguesa· sandwich : sándwich· cheese : queso· meat : carne· fish : pescado· sugar : azúcar· salt : sal· tomato : tomate· apple : manzana· orange : naranja· juice : jugo· coffee : café · person : persona· restaurant : restaurante· check : cuenta · pay : pagar - pago pagas paga pagan · table : mesa· cup : taza· glass : vaso · with : con· without : si.. 2020. 6. 22.
[Español] Travel (스페인어 기초, 회화, 여행 스페인어) Vocabulario · airport : aeropuerto · train : tren (m) · bus : autobús (m) · taxi : taxi (m) · ticket office : taquilla · hotel : hotel (m) · bank : banco · bathroom : baño · hospital : hospital (m) · supermarket : supermercado · museum : museo · street : calle · phone : teléfono · suitcase : maleta · passport : pasaporte (m) · ticket : boleto · money : dinero · reservation : reserva · my : mi · .. 2020. 6. 9.
[Español] Phrases (스페인어 기초, 회화, 인사) Vocabulario · English : inglés · Spanish : español · speak : hablar - hablo hables habla hablan Frase ¿Tú hables inglés? Do you speak English? No, yo hablo español. No, I speak Spanish. Hola, mucho gusto. Hi, nice to meet you. Sí, por favor. Gracias. Yes, please. Thanks. De nada. You're welcome. No, lo siento. No, sorry. Disculpe. Excuse me. Perdón. Perdon. ¡Buenos días! Good morning! Buenas tar.. 2020. 6. 8.
[Español] Intro (스페인어 기초, 스페인어 회화) Vocabulario · a : un (m) una (f) · the : la (f) el (m) · I : yo · she : ella · he : él · you : tú · be : soy (1) eres (2) es (3) son (3s) · girl : niña (f) · boy : niño (m) · man : hombre (m) · woman : mujer (f) · apple : manzana (f) · bread : pan (m) · water : agua (m) · milk : leche (f) · eat : comer - como (1) comes (2) come (3) comen (3s) · drink : beber - bebo (1) bebes (2) bebe (3) beben (.. 2020. 6. 8.