그래픽스 및 게임 엔진 블로그

  • 홈
  • 태그
  • 방명록

시스템프로그래밍 1

C++과 C# 반복문에서 배열 반복 사용

C++과 C#의 반복문에서 배열이나 벡터를 반복적으로 사용할 때의 예시입니다.다음은 C++과 C#의 코드 입니다. 1. C++#include int main() { std::vector v(10000); for (int i = 0; i (10000); }} 2. C#using System;using System.Collections.Generic;class Program { static void Main() { List v = new List(new int[10000]); for (int i = 0; i (new int[10000]); } }} 코드 설명1) C++의 std::vector와 C#의 List:C++의 std::vector는 동..

C++ Memory and Optimization 2024.10.21
이전
1
다음
더보기
프로필사진

그래픽스 및 게임 엔진 블로그

eofud0930@naver.com

  • 분류 전체보기 (98)
    • Algorithm Concepts and C++ .. (16)
    • C#_ Unity Game programming (22)
    • C++ Memory and Optimization (6)
    • Graphics Techniques (32)
    • CS Basic Concepts (1)
    • [Graphics] Mathematical Con.. (10)
    • C++ Language Concepts (2)
    • 자체엔진 제작 포트폴리오 (8)

Tag

perlin, 렌더링, rendering, DirectX, 유체시뮬레이션, hlsl, hlsli, 렌더링파이프라인, 그래픽스, ComputeShader, Ray Tracing, thread, RayTracing, C++, 메모리, rasterization, sph, PBR, graphics, 텍스춰링,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

  • eofud0930@naver.com (my email)

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/06   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바