💾
EC
  • Introduction
  • EC Course
    • Syllabus
    • Preparation for EC
    • Tutorial
      • Tutorial: arduino-stm32
        • Tutorial: arduino-stm32 Installation
        • Tutorial: arduino-stm32 Part1
        • Tutorial: arduino-stm32 Part2
      • Tutorial: MDK uVision
        • Tutorial: Installing MDK uVision
        • Tutorial: Create a Project with uVision
        • Tutorial: Adding library header in uVision
        • Tutorial: Re-using Project Configuration
        • Debugging in uVision
      • Tutorial: PlatformIO in CLion
      • Tutorial: PlatformIO in VSCode
      • Tutorial: Repository Management
      • Tutorial: Managing library header files
      • Tutorial: PinName Configuration
      • Tutorial: Bitwise Macro
      • Tutorial: Custom initialization
      • Tutorial: Documentation
      • Tutorial: Creating Application API
      • Tutorial: 7-Segment Display
      • Tutorial: DC motor driver connection
      • Tutorial: USART with TeraTerm
      • Tutorial: Finite State Machine programming
      • Tutorial: Bluetooth
      • Tutorial: Zigbee with Nucleo board
    • LAB
      • LAB Report Template
      • LAB: Smart mini-fan with STM32-duino
      • LAB: Portable Fan with mbed
      • LAB: GPIO Digital InOut
      • LAB: GPIO Digital InOut 7-segment
      • LAB: EXTI & SysTick
      • LAB: Timer & PWM
      • LAB: Stepper Motor
      • LAB: Input Capture - Ultrasonic
      • LAB: USART - LED, Bluetooth
      • LAB: ADC - IR reflective sensor
      • LAB: Line Tracing RC Car
    • Sample code
      • Code Templates
    • Hardware
      • Nucleo-F411RE
      • LAB Hardware
        • Electronic Chips
        • HUINS Embedded Kit
    • Projects
      • Line Tracing Car Project
      • Design Project
        • Past Projects
      • Project Grading Criteria
    • Study Resource for MCU
      • Hexa-Decimal Table
      • Bitwise Op for Register
      • System Clock
      • Timer
      • USART
      • ADC
  • STM32 M4 Programming
    • Documentation
      • C++ API Docs
    • Firmware Library
      • PinName Configuration
      • GPIO Digital
      • RCC
      • EXTI_SysTick
      • TIMER
      • USART
    • Troubleshooting
    • mbed for STM32
      • Tutorial: mbed-Part 1
      • Tutorial: mbed - Part 2
      • Tutorial: mbed - Part 3
      • Using mbed API on uVision
    • mbed OS
  • Other Programming
    • Arduino
    • Socket Programming
      • Window Socket Programming
      • Arduino WiFi
    • Cube-MX
    • Github
    • Markdown
      • Example: API documentation
    • MATLAB
  • C Programming
    • C-Programming Lessons
      • Installing Visual Studio Community
        • Visual Studio Community 2022
      • Installing VS Code(Mac/Linux)
      • Creating Header Lib
      • Pointer
      • Array
      • 2D Array
      • Structure
      • Dynamic Alloc
      • Bitwise Operation
  • Numerical Programming
    • Syllabus
    • Preparation for NP
    • Math Review
    • Tutorial
      • TA Session Video
      • Tutorial: NP Library Header Files
      • Tutorial - Sine Taylor
      • Tutorial: Passing a Function, Function callback
      • Tutorial: Nonlinear solver
      • Tutorial: Differentiation
      • Tutorial: Integration
      • Tutorial: Matrix Structure
      • Tutorial: Eigenvalue problem
      • Tutorial: ODE-IVP
      • Tutorial: Curve Fitting
      • Tutorial: Create Github Repos of NP lib
      • Tutorial: Version Control in Github
      • Tutorial: Documentation with Markdown
      • Exercise: Version Control and Documentation
    • Example: MATLAB
    • Example: NP Library
    • Assignment
      • Assignment Factorial and Power
      • Assignment: Version Control and Documentation
    • Problem Bank
Powered by GitBook
On this page
  • (Window)
  • (MAC/LINUX)
  • How to Install VS Community
  • VS 프로젝트 만들기

Was this helpful?

  1. C Programming
  2. C-Programming Lessons

Installing Visual Studio Community

PreviousC-Programming LessonsNextVisual Studio Community 2022

Last updated 8 months ago

Was this helpful?

(updated 2024-08)

(Window)

We will use Visual Studio Community 2019 or higher in Numerical Programming.

NP tutorials are based on 2019 version.

Also, you can use online C Compiler for a quick programming and compilation

(MAC/LINUX)

You can use VS Code for C/C++ programming

Read here for how to

How to Install VS Community

You can download for free if you have a MSN account.

Click "Free Download" of Visual Studio Community 2019. After downloading, install the program.

Select "C++ programming Desktop" Option. Optionally, select others such as "Visual Studio Extension Pack". Then Select Install button.

Visual Studio 2019 실행 후: MSN 로그인 .

한동대 이메일 ID 로 가입 후 로그인.

VS 프로젝트 경로 directory 확인하기

VS 실행 후 메뉴>'도구 > 옵션 선택

프로젝트 및 솔루션 > 위치 > 프로젝트 위치: 자유롭게 설정(변경하지 않아도 무관함)

프로젝트 위치: 프로젝트 생성시 소스코드를 포함한 프로젝트의 저장 경로를 의미

Default로 VS 프로젝트가 여기 경로에 생성이 됨.

VS 프로젝트 만들기

"Hello Handong" 테스트코드 작성하기

Visual Studio 2019 실행 후 새 프로젝트 만들기 > 빈 프로젝트

프로젝트 이름을 HelloHandong 으로 설정 후 만들기

보기 – 솔루션탐색기 > [프로젝트명] > 소스 파일 > 추가 > 새항목 click

C++ 파일(cpp) 선택 후 helloHandong.cpp 파일 생성

아래 소스코드 입력 후 실행 (CTRL+F5)

#include <stdio.h>

int main()
{
    printf("Hello, Handong!\n");

    return 0;
}

Expected Output

Download link:

For Visual Studio 2022, click here
Click here for Online Compiler
Install VS Code and C-make configuration
https://visualstudio.microsoft.com/ko/vs/community/
Source code