Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

How to compile and Execute in vim or Gvim Like tmwilliam168 and the and the flags of c++

Правка en3, от BTSprathampatel, 2020-09-10 07:20:38

This is my vim commands for compile and Execute the code

  1. :w
  2. :!g++ %
  3. :!filename.exe

This is my Gvim c++ flags for c++

~~~~~ :!g++ -std=c++17 -Wshadow -Wall -o "%:r" "%" -O2 -Wno-unused-result `~~~~

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский BTSprathampatel 2020-09-10 07:20:38 4 Tiny change: 'Wall -o "%e" "%f" -O2 -Wno' -> 'Wall -o "%:r" "%" -O2 -Wno'
en2 Английский BTSprathampatel 2020-09-04 09:09:54 37
en1 Английский BTSprathampatel 2020-09-04 09:08:55 284 Initial revision (published)