I think it's somewhat ironic that a Microsoft employee uses a Mac, especially while some Windows users here are complaining that this tutorial doesn't work for them. don't you think?
Who can you can cross-platform solutions using only one platform? And because on Windows Microsoft is forcing people to use Visual Studio (not VS Code)?
That's a great idea, for our next video we can pick up where we left off from this video and make a slightly bigger project. Is there anything else you would like to see or have explained?
Thank you for the reply, maybe an explanation on how to setup lauch.json for those kind of projects? I usually use the Cmake extension and run the projects from that but a basic undertsanding of how to setup launch.json would be nice. If I get some other ideas on what to ask i will do it in the next videos.@@AlexandraKemper
On Windows 10, VS Code 1.96.3, a few differences from the Mac tutorial, and still not working with the MSVC compiler in VS Code: - Launch VS Code from a Developer Command Prompt in the project directory with "code ." . - If you don't see the Welcome: Open Walkthrough, add a ">" (greater-than) after clicking ctrl-p. - Hello.cpp won't compile due to missing includes, e.g. float.h is needed for cfloat, but it's apparently not installed with the MSVC installation. (Yes, I've searched the drive for float.h.) Other tutorials show the steps for gcc and MYSYS2, not MSVC. Discussions at StackOverflow indicate MSVC works okay in the full Visual Studio. Gcc is common with Linux, anyway, so hopefully that works in VS Code. Otherwise there are other IDEs out there.
I cannot get any of these tutorials to work. I'm following built in steps with the extension as well as your video. Visual Code is not behaving in the same manner as you show. For instance typing "Open" doesn't result in any findings in the command pallet. I have installed a C++ compiler. The cl.exe one which automatically installed when I modified my Visual Code installation per another tutorial you have for visual code. However, I cannot link the compiler to Visual Code. So I have no way to build a project. It seems many of your tutorials are outdated and or incongruent. It's leaving me quite confused...
You need to open "Developer Command Prompt For VS" that was installed with visual studio and run "code ." in terminal from a folder of your c++ project. The Developer Command Prompt sets up PATH environment variable to point to c++ build tools like compilers, linkers etc.
We are working on it! Is there anything specific you would like to see in these videos? Helpful C++ features to know about? How to use Copilot for C++?
I'm running on Mac, everything is fine except one really annoying issue. Every time, I debug/run any cpp file, the mac's privacy and security window pops up and I have to press allow every single time. For example, I have a C++codes folder in my Documents folder and I have sample.cpp in this C++codes folder (along with all the required json files). Every time I debug/run the sample.cpp from VScode app, it pops a message that "sample would like to access files in your Documents folder". I get 2 options - Allow and Don't allow. This message does not come if I compile from terminal though, but I prefer to compile/run from VScode app; that was the whole purpose of installing it. I can also build on VS code and then run on in-built terminal without any permissions message, so I guess it's an issue arising from running debugger perhaps?
From what I've seen there aren't any good ones online. Your best bet is on books. The Deitel ones are classics. Also "Computing Concepts with C++ Essencials" and "C++ Primer",
learncpp website. I started from scratch with no prior coding experience and I have been having a blast. The site is free and teaches you everything from scratch.
This is not a good look, Microsoft. Let me correct this video title for you: "C++ in VS Code on Mac" If you're on Microsoft Windows, you have to install MINGW (Minimalist GNU for Windows, implementation of GNU Compiler Collection (GCC)), add it to your system environment variables. May have to restart your computer. Edit your user preferences to change the default shell. So on and so forth. You should rename this video and save Microsoft Windows users confusion when setting up their C++ environments. Or is this just meant to funnel people to proprietary Visual Studio? This type of stuff is PLATFORM-SPECIFIC!
Can't use special symbols here so it's my only option I wonder why if it's not some web input form. I could say it's is same getting started problem as Docker, which is now in every career requirement and all I want is to run it alone not with a team. This is cruel - half of students won't pass exam and this is a language for games, but don't need it if there is no game jam game/example made with blueprints. There is some tools css javascript processors you only heard about it and need it more than Opengl and Vulcan 3:06. So I think where do I find a terrain and where would I add it's tiled texture and here it's in some hidden terrain paint settings with normal maps which I know everything about. This was new and introduced with latest frameworks 4:07, but learning that again as project specific settings which is only learned by practicing it - I don't what to spend a day figuring out what that line of code does or why that version don't compile.
@@anonymusplayer3031just reinforcing what's said here: this MS made instructions for a MS program won't work in the MS environment. I spent awhile trying to get it working, then just followed another tutorial.
I have problem with installing Boost library in macOS with VScode, and final i switch to tmux and NeoVim is better we need more how to configure package, and …
Are you seeing the same terminal message as in the video? Is it stating that your password is incorrect? Or just that your keyboard is not letting you type?
This "tutorial" is mostly useless. If you are doing actual development, your project will consist of multiple files and multiple build targets. At the very least you will have a debug build and a release build. How do you set up dependencies, multiple build targets, control obj output, pre-compiled headers, etc.
I think it's somewhat ironic that a Microsoft employee uses a Mac, especially while some Windows users here are complaining that this tutorial doesn't work for them. don't you think?
Who can you can cross-platform solutions using only one platform? And because on Windows Microsoft is forcing people to use Visual Studio (not VS Code)?
Why does everyone at microsoft do vscode videos on a mac?
lol
Because they want you to use proprietary Visual Studio if you've already bought their proprietary operating system.
Ok, it would be nice to get a walkthrough on how to include a 3rd party library and create a project of multiple cpp files.
That's a great idea, for our next video we can pick up where we left off from this video and make a slightly bigger project. Is there anything else you would like to see or have explained?
Thank you for the reply, maybe an explanation on how to setup lauch.json for those kind of projects?
I usually use the Cmake extension and run the projects from that but a basic undertsanding of how to setup launch.json would be nice. If I get some other ideas on what to ask i will do it in the next videos.@@AlexandraKemper
Haa they solved the biggest problem of all time.
Thanks for coming up with this 🎉
i dont have the option to install a compiler. only gcc and g++
This happened to me too, on the right there are a few instructions to download one
i have enjoyed the pace at which you speak. I will try to incorporate that in work life.
When I try to do the 'open walkthrough' part, VS doesn't seem to have this on W11?
it does
Care to elaborate where we can find this then @SbDaBoy ? because using ctrl+p and typing "open walkthrough" doesnt return any results for me
yes -- I have the same problem @@JasperBerends-r4t
ctrl + shift + p for windows!
you may have forgot the >
it solved me alot of things , really really thank you❤
Can you do one for vs code on windows please 🙏
On Windows 10, VS Code 1.96.3, a few differences from the Mac tutorial, and still not working with the MSVC compiler in VS Code:
- Launch VS Code from a Developer Command Prompt in the project directory with "code ." .
- If you don't see the Welcome: Open Walkthrough, add a ">" (greater-than) after clicking ctrl-p.
- Hello.cpp won't compile due to missing includes, e.g. float.h is needed for cfloat, but it's apparently not installed with the MSVC installation. (Yes, I've searched the drive for float.h.)
Other tutorials show the steps for gcc and MYSYS2, not MSVC. Discussions at StackOverflow indicate MSVC works okay in the full Visual Studio.
Gcc is common with Linux, anyway, so hopefully that works in VS Code. Otherwise there are other IDEs out there.
I cannot get any of these tutorials to work. I'm following built in steps with the extension as well as your video. Visual Code is not behaving in the same manner as you show. For instance typing "Open" doesn't result in any findings in the command pallet. I have installed a C++ compiler. The cl.exe one which automatically installed when I modified my Visual Code installation per another tutorial you have for visual code. However, I cannot link the compiler to Visual Code. So I have no way to build a project. It seems many of your tutorials are outdated and or incongruent. It's leaving me quite confused...
You need to open "Developer Command Prompt For VS" that was installed with visual studio and run "code ." in terminal from a folder of your c++ project. The Developer Command Prompt sets up PATH environment variable to point to c++ build tools like compilers, linkers etc.
Theses video are extremly helpful!
Please make an amazing playlist on c++
We are working on it! Is there anything specific you would like to see in these videos? Helpful C++ features to know about? How to use Copilot for C++?
I'm running on Mac, everything is fine except one really annoying issue. Every time, I debug/run any cpp file, the mac's privacy and security window pops up and I have to press allow every single time. For example, I have a C++codes folder in my Documents folder and I have sample.cpp in this C++codes folder (along with all the required json files). Every time I debug/run the sample.cpp from VScode app, it pops a message that "sample would like to access files in your Documents folder". I get 2 options - Allow and Don't allow. This message does not come if I compile from terminal though, but I prefer to compile/run from VScode app; that was the whole purpose of installing it. I can also build on VS code and then run on in-built terminal without any permissions message, so I guess it's an issue arising from running debugger perhaps?
"Create issue in gituhub repo"... can you expand on this? Thanks
Quick setup fr C++, up and running, Nice ❤
какая нахер быстрая
What's the best course to start learning again C++?
From what I've seen there aren't any good ones online. Your best bet is on books. The Deitel ones are classics. Also "Computing Concepts with C++ Essencials" and "C++ Primer",
learncpp website. I started from scratch with no prior coding experience and I have been having a blast. The site is free and teaches you everything from scratch.
This is not a good look, Microsoft. Let me correct this video title for you: "C++ in VS Code on Mac"
If you're on Microsoft Windows, you have to install MINGW (Minimalist GNU for Windows, implementation of GNU Compiler Collection (GCC)), add it to your system environment variables. May have to restart your computer. Edit your user preferences to change the default shell. So on and so forth.
You should rename this video and save Microsoft Windows users confusion when setting up their C++ environments. Or is this just meant to funnel people to proprietary Visual Studio?
This type of stuff is PLATFORM-SPECIFIC!
It just installs multiple apps and downloading 1.5 gig just for a single compiler
Can't use special symbols here so it's my only option I wonder why if it's not some web input form. I could say it's is same getting started problem as Docker, which is now in every career requirement and all I want is to run it alone not with a team. This is cruel - half of students won't pass exam and this is a language for games, but don't need it if there is no game jam game/example made with blueprints. There is some tools css javascript processors you only heard about it and need it more than Opengl and Vulcan 3:06. So I think where do I find a terrain and where would I add it's tiled texture and here it's in some hidden terrain paint settings with normal maps which I know everything about. This was new and introduced with latest frameworks 4:07, but learning that again as project specific settings which is only learned by practicing it - I don't what to spend a day figuring out what that line of code does or why that version don't compile.
Thank you )
Watch Out Folks!! 0:53 Windows OS, ( It's not Ctrl+P !!! ) It's Ctrl+Shift+P
The popup menu is the same but with ">" symbol that transforms it into "command pallete", Ctrl+Shift+P just directly opens it.
Can I follow the same steps for Windows?
You think 😂 no you install mingw then you configure path variables and then you use code runner and you should be up and running
@@anonymusplayer3031just reinforcing what's said here: this MS made instructions for a MS program won't work in the MS environment. I spent awhile trying to get it working, then just followed another tutorial.
open walk through is not showing after .....pressing ctrl+p
Try ctrl+shift+p
If you are responsible for cpp integration, you failed miserably. I had to configure launch.json step by step and it's pain
that Didn't work with me! is there no one extension that do all the work to run & compile codes!!!
The Code Runner extension does.
Bruv using clang really? Not their own msvc
are there any equivalent for the c language?
Can you clarify your question? Equivalent what?
The same compiler compiles both C and C++
Nice! Now let's code for dummies I have zero expectations
There is no "Open Walkthrough" option for me
On windows it is ctrl+SHIFT+p for the command pallet.
You may have forgotten the > at first..
Mam please solve the problem of visual studio code when I am pressing and it says every time that n,n is not a command
I have problem with installing Boost library in macOS with VScode, and final i switch to tmux and NeoVim is better we need more how to configure package, and …
There is no "open walkthrough" - outdated video?
I'm not able to enter my password in terminal
Are you seeing the same terminal message as in the video? Is it stating that your password is incorrect? Or just that your keyboard is not letting you type?
my keyboard is not letting me write what should I do?
@@AlexandraKemper
Why is the text fuzzy?
I do not get the place to set configuration in my version of VS Studio?
What is the speed key for toggling breakpoints?
The Code Runner extension compiles with g++ (at least in Linux), and runs C++ without any setup. xD
thank you!
Typically MS, doesn't work the way it should!
0:45 Cpp walk through
brate ne radi ti ovo nesto neumete da objasnite
using a MACBOOK for this smh....
Omg she is using a white theme.
This "tutorial" is mostly useless. If you are doing actual development, your project will consist of multiple files and multiple build targets. At the very least you will have a debug build and a release build. How do you set up dependencies, multiple build targets, control obj output, pre-compiled headers, etc.
Great help for windows user… nnsns 😑🌵
A perfect Mac is the one installed with a Linux OS.
†
Some one really use light theme in vs code 😅???
It was the recommended video format ... my eyes were almost blinded by the brightness while recording 😆