분류 전체보기

1. React.useState() retunrs Array. const state = React.useState() The value of state[0] is undefined.2. Plus, The value of state[1] is Function.3. With this,const [a, b, _, c] = [1, 2, 3, 4, 5, 6, 7, 8]; the value of c is 4. 4. With this,const [n, setN] = React.useState();When we call setN(1), the value of 'n' changes to 1 and the component is rendered again.5. With this,const [n, setN] = React...
https://opentutorials.org/module/4075 JavaScript Immutability수업소개 자바스크립트에서 데이터를 불변하게 다루는 방법에 대한 수업입니다. 이 수업에서는 아래와 같은 내용을 다루고 있습니다.  원시 데이터 타입과 객체의 동작방법 간의 차이 객체를opentutorials.org이 강좌를 참고하여 정리한 글입니다.불변성이란?먼저 javascript의 **immuatability(불변성; 데이터를 변하지 못하게 함)**를 공부하기CRUD에서 가장 중요한 것은? Create, Read -원본 데이터(origin)를 생성하고 읽음⇒ 원본 데이터의 일부분을 불변하게 만든다면? 필요한 부분만 가변할 수 있음 🙂이름에 대한 불변함내용에 대한 불변함js가 변수가 어떤 값을 ..
과제 Q22~25 + 27import java.util.Scanner;public class MainClass { public static void main(String[] args) { Scanner sc = new Scanner(System.in); // 과제22 // 1 ~ 100 사이의 10개의 수를 입력 받아서 // 최소 값과 최대 값을 출력하는 프로그램을 작성하시오 /* int number[] = new int[10]; for(int i = 0;i number[i]) { min = number[i]; } } System.out.println("최소값:" + min); */ // 과제23 /* 5명의 학생의 국어..
231107 복습public class MainClass { public static void main(String[] args) { /* 제어문 조건문 if if else if else if else switch case break 반복문 for while do while 제어자 break continue */ int number = 5; if(number == 5) { System.out.println("number는 5입니다"); } if(number > 0 && number 3) { System.out.println("number는 0보다 작거나 3보다 큽..
Control Statement 제어문if문if (조건( true / false ) ) {    처리} else  if (조건 2) {    처리2} else  {} 논리연산자&& ; and|| ; or! ; not부등호> >=   삼항연산자조건 ? 참일 때 결과 : 거짓일 때 결과 public class MainClass { public static void main(String[] args) { /* 조건문 논리연산자: && || ! 부등호: > >= 0 && number 10 ) { System.out.println("number는 5보다 작거나 10보다 크다"); } // boolean을 사용 if ( true ) { System.out.print..
Scanner 입력import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.util.Scanner;public class MainClass { public static void main(String[] args) throws IOException {// boolean Scanner sc = new Scanner(System.in); boolean areYouWoman; System.out.println("당신은 여성이신가요? = "); areYouWoman = sc.nextBoolean(); System.out.println("Are you woman? " + areYo..
프로그래밍 언어 Java자바 프로그램 (by 자바 개발 방식)자바 애플리케이션독립적으로 실행할 수 있는 일반적인 애플리케이션자바 실행 환경 자바 애플릿웹 브라우저에서 구동하는 프로그램보안상 문제 有, 사용가능한 자원에 제약 有자바 서블릿웹서버에서 동작하는 프로그램서버가 처리하는 모듈 = 서블릿데이터베이스 연동 등 복잡한 프로그램 구현할 때 사용자바 SE자바의 핵심 기능을 포함하는 표준 자바 플랫폼자바 EE주로 분산 환경에서 필요한 서버용 자바 플랫폼자바 ME자원이 제한된 임베디드 시스템용 플랫폼JRE ⊂ JDKJVM은 바이트 코드를 해석해 실항하는 시스템 소프트웨어이다.컴파일러는 소스 코드를 기계어로 변환한다.바이트 코드는 하드웨어 기반 플랫폼에 독립적이다. 자바 가상 머신은 하드웨어 기반 플랫폼에 독립..
https://netmarble.engineering/creating-a-simple-game-scenario-with-chatgpt/ ChatGPT로 간단한 게임 시나리오를 만들기까지 - 넷마블 기술 블로그 ChatGPT에 관한 관심이 뜨겁습니다! 이 글에서는 ChatGPT가 어떤 기술인지를 살펴보고 ChatGPT를 이용한 캐릭터 페르소나 정립과 간단한 게임 시나리오 생성이라는 실험 과정을 소개해 게임 분야에서 netmarble.engineering ChatGPT 간단 소개, GPT3와 비교 및 요약 정리 ChatGPT를 통해 게임 시나리오 만드는 예시
동기와 기억력을 가진 25명의 AI 요원을 마을 시뮬레이션에 집어넣었더니 발렌타인 데이 파티를 개최하는 등 복잡한 행동을 하고 ‘사람 플레이어들보다 더 사람스럽다’는 평가를 받는 데에 성공했다… “미래의 비디오 게임은 개인화된 ‘꿈’이다.”란 말을 떠올린다. https://t.co/0WPpjexCiJ — Daun (@daun_ai) April 12, 2023 Here's an example of the multi-AI simulation at work. You can watch the whole thing here, and switch between AI characters by clicking on them: https://t.co/3Hqtsosdeg pic.twitter.com/yxb3eBZBdE —..
wave_traveler
'분류 전체보기' 카테고리의 글 목록 (2 Page)