-

   rss_rss_hh_new

 - e-mail

 

 -

 LiveInternet.ru:
: 17.03.2011
:
:
: 51

:


/++ Linux Visual Studio Code

, 19 2017 . 09:37 +
, GDB Linux . , ? /++ Linux Visual Studio Code.



.

Linux. Windows, , , /++, printf- .

. sublime ( gedit/kate/emacs), , . ? . Git , .

Visual Studio Code.


Ubuntu/Debian
  1. VS Code .deb
  2. , (cd ~/ cd ~/Downloads)
  3. , ( ).deb , :
    sudo dpkg -i ( ).deb
    	sudo apt-get install -f

OpenSUSE/SLE Based distrs
  1. :
    sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
    sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/VScode\nenabled=1\ntype=rpm-md\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/zypp/repos.d/VScode.repo'
  2. VS Code:
    sudo zypper refresh
    sudo zypper install code

/++


VS Code /++, cpptools. .



, .



. ( , ).



C/C++. .



. printf.

1. .c/.cpp, () .

2. Ctrl+Shift+B. VS Code , .


3. : -> Others.

4. . , . , (gcc , command). .cpp, command g++ c++, .c gcc.

5. args , . , : -g, < >.

: , . -g( -g3). .

makefile, command make, .


6. . F5 C++.



7. . ${workspaceRoot}/a.out, -o , : ${workspaceRoot}/main.


8. , VS Code. .


(, , , Ctrl+Shift+B).



main, . , . , , , , main() "return 0;".


. "return 0;" F9.


, , , .

F5.



, . .



. .


, - , , F10 F11 .

, , , , , . . ( watch).



:
  1. .
  2. VS Code , . .
  3. , , Ctrl+Shift+B.

.



C#, , Microsoft Student Partner. .NET . WPF(MVVM)+C#, MySQL, 4- C#. Xamarin. , /++ Linux.
Original source: habrahabr.ru (comments, light).

https://habrahabr.ru/post/333680/

:  

: [1] []
 

:
: 

: ( )

:

  URL