-
[C++20] 컴파일 - (g++ main.cpp -g -std=c++20코딩Coding/C++__C언어 2022. 2. 18. 09:32728x90
g++ main.cpp -g -std=c++20 파일 이름은 main.cpp 로 해야하나봄 ------------------------------------ 파일 여러개 일때? g++ -g -std=c++20 -o *.cpp --------------------------------------- g++ -g -std=c++20 main.cpp
#include <iostream> int main() { auto result = (10 <=> 20) > 0; std::cout << result << std::endl; }
코드 적응 안된다. ㅎㅎㅎ
[C++20] 컴파일 -
https://kukuta.tistory.com/m/225[C++20] 컴파일
g++ g++ 버전 8부터 C++20의 컴파일이 가능합니다. C++20을 컴파일 하기 위해서는 커맨드라인에 아래 파라메터를 추가 합니다. g++ -std=c++20 만일 g++에서 코루틴을 사용한다면 -fcoroutines 옵션을 추가 해
kukuta.tistory.com
다른글 보기
https://economiceco.tistory.com/12484
C++20 Tutorial - 공부
A statement is a basic unit of computation in a C++ program Every C++ program is a collection of statements organized in a certain way to achieve some goal Statements end..
economiceco.tistory.com
반응형'코딩Coding > C++__C언어' 카테고리의 다른 글
C++20 웹에서 실행 가능한 사이트 (0) 2022.02.18 Learn C++ tutorials (31hr) 죽인다 c++20 (0) 2022.02.18 C & C++]sizeof operator in C- GeeksforGeeks (0) 2022.02.18 C언어]scanf_s(프린트 출력 할때 형식 지정자 %d %e 등등)[형식 지정자 format-type specifiers] (0) 2022.02.18 C언어] scanf 와 scanf_s의 차이 (0) 2022.02.17 C와 C++ 차이점 (0) 2022.02.17 C++] Constant references are not always your friends (0) 2022.02.16 C언어 Float형식 (0) 2022.02.14