Raised This Month: $32 Target: $400
 8% 

Visual Studio Code : Compiling C++


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ish12321
Veteran Member
Join Date: May 2016
Old 06-05-2018 , 15:27   Visual Studio Code : Compiling C++
Reply With Quote #1

Hello,
So, I've been using Visual Studio Code for a long time along with AMXXPawn extension. I like it and wish to use it further. I'm recently starting to learn C++. Could someone please help me how to compile in Visual Studio Code for both, linux and windows. Is there any inbuilt extension in Visual Studio Code for compilation (including cross compilation in linux) ? If so, please tell me its name. If not, can someone please help me through steps in detail if there is any other way by which I can accomplish what I need to.
__________________
['O|s|G'] | Death Wins a.k.a Ish Chhabra was here

Last edited by ish12321; 06-05-2018 at 19:05.
ish12321 is offline
Garey
Member
Join Date: Feb 2008
Location: Russian Federation
Old 06-05-2018 , 16:42   Re: Visual Studio Code : Compiling C++
Reply With Quote #2

I use CLion (for C/C++) its have SSH-connector to WSL (Linux subsystem for Windows 10), where i can compile projects with GCC, but u can do it manually if u have Windows 10 and WSL...
__________________
Sorry for my bad english
Garey is offline
Send a message via ICQ to Garey
ish12321
Veteran Member
Join Date: May 2016
Old 06-05-2018 , 19:05   Re: Visual Studio Code : Compiling C++
Reply With Quote #3

Quote:
Originally Posted by Garey View Post
I use CLion (for C/C++) its have SSH-connector to WSL (Linux subsystem for Windows 10), where i can compile projects with GCC, but u can do it manually if u have Windows 10 and WSL...
Link please.
__________________
['O|s|G'] | Death Wins a.k.a Ish Chhabra was here
ish12321 is offline
Garey
Member
Join Date: Feb 2008
Location: Russian Federation
Old 06-05-2018 , 19:13   Re: Visual Studio Code : Compiling C++
Reply With Quote #4

https://www.jetbrains.com/clion/
https://www.jetbrains.com/help/clion...-in-clion.html
__________________
Sorry for my bad english
Garey is offline
Send a message via ICQ to Garey
ish12321
Veteran Member
Join Date: May 2016
Old 06-05-2018 , 20:09   Re: Visual Studio Code : Compiling C++
Reply With Quote #5

Clion is paid. :/
__________________
['O|s|G'] | Death Wins a.k.a Ish Chhabra was here
ish12321 is offline
ish12321
Veteran Member
Join Date: May 2016
Old 06-05-2018 , 20:12   Re: Visual Studio Code : Compiling C++
Reply With Quote #6

I'm using visual studio code as told and so can even compile with command line (though it'll be better if someone could help with configuring it in the app). Just need someone tell how to compile on windows for linux..
__________________
['O|s|G'] | Death Wins a.k.a Ish Chhabra was here
ish12321 is offline
Garey
Member
Join Date: Feb 2008
Location: Russian Federation
Old 06-06-2018 , 06:04   Re: Visual Studio Code : Compiling C++
Reply With Quote #7

Quote:
Originally Posted by ish12321 View Post
I'm using visual studio code as told and so can even compile with command line (though it'll be better if someone could help with configuring it in the app). Just need someone tell how to compile on windows for linux..
Then just install WSL for windows 10 and there tons of info in internet "How to compile C++" in linux...
__________________
Sorry for my bad english
Garey is offline
Send a message via ICQ to Garey
ish12321
Veteran Member
Join Date: May 2016
Old 06-06-2018 , 10:25   Re: Visual Studio Code : Compiling C++
Reply With Quote #8

Do the subsystem provides a GUI or just command line ? A GUI is preferred as in that way I could instead of making in win10 and compiling in ubuntu by opening it directly install a linux IDE in my win10
__________________
['O|s|G'] | Death Wins a.k.a Ish Chhabra was here
ish12321 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:09.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode