I always dislike the fact that I have to install Visual Studio to develop in C/C++. I'm more involved with Linux, but sometimes I would like to work on Windows. Thank you for sharing your knowledge about development on Windows; it's invaluable.
@Finkelfunk
6 ай бұрын
I never understood why Microsoft makes such a deliberate effort to make programming in C that much more difficult on Windows. It's as if they want you to stop developing something better.
@kreuner11
6 ай бұрын
You don't have to. You may use mingw
@Zeioth
6 ай бұрын
On Linux it takes literally one line: sudo apt install gcc
@arunavabasak8330
6 ай бұрын
sudo apt install build-essential
@cybernit3
6 ай бұрын
The sublime text editor looks good but not free; there is also notepad++ which is sort of good and basic. Thank you for some tips to setting up the tools for C programming for Windows; I assumed you had to install Visual Studio.
@DaniCrunch
6 ай бұрын
I mean you can use it for free, but it will pop up a message box every now and then to tell you to register. Should have mentioned that in the video. I do own a license for it but also haven't added the license to the laptop install haha. Plenty of other free options available though, that is true.
@Pedro-jj7gp
2 ай бұрын
Awesome video! Do you think you could make a longer in-depth tutorial on using the debugger? I think it'd be very helpful! :)
@starc0w
5 ай бұрын
Very good! Thx!🍀 Your whole approach is really very good! ✨ Also that you use a batch file (I do the same): Simply great!
@plato4ek
6 ай бұрын
It's better without music. Or at least consider making it MUCH more quiet.
@wertigon
6 ай бұрын
Here are my failproof instructions: Step 1, install WSL. Step 2, apt install build-essential git vim cmake Step 3, git gud with vim, gcc and git That's it folks! Best of it all, no need to care about licenses and complex IDEs :) Other than that, msys2 does not require a Linux VM (Which WSL essentially is) or any other steps than adding the bin folder to your $PATH.
@newsofthenerd
6 ай бұрын
installing Linux inside of a malicious OS will not help, you need to remove any viruses from your computer first.
@velikanskaglava2087
6 ай бұрын
Thank you. Nice approach, useful!
@revengerwizard
6 ай бұрын
Only Microsoft could have used / as a cmd option character
@DaniCrunch
6 ай бұрын
Yeah it is awkward haha. I saw someone use - for cl as well so maybe they now support both. The docs however still only list / so I went with that.
@lliamnan
5 ай бұрын
this was top notch dude
@miikavihersaari3104
6 ай бұрын
Thanks Dani for making these videos!
@watashiwahatchi
6 ай бұрын
This is awesome
@johnnylee3505
6 ай бұрын
Just install Msys2
@jaitjacob
6 ай бұрын
this was really useful.. i really hope you make more videos. e.g. compilation and linking(static .lib, dynamic .dll)
@pacstrap9370
6 ай бұрын
linux: apt install gcc Done!
@user-tw2kr6hg4r
6 ай бұрын
some people have to develop for windows
@aphextwiner
6 ай бұрын
@@user-tw2kr6hg4r build for windows in linux
@ImRiz1
6 ай бұрын
or just double click on codeblock.exe setup and done instead of this stupid ass tutoriAl !!!!
@androth1502
6 ай бұрын
that's not "linux" that's ubuntu. meh. if you're going to bother with linux, might as well use the best linux distro there is; microsoft windows. you can have ubuntu and several other linux-based OSes running at the same time.
@TokyoXtreme
6 ай бұрын
"pofit"?
@DaniCrunch
6 ай бұрын
That was a typo 🤣
@georgehelyar
6 ай бұрын
To install build tools, you can go to the Microsoft download page for visual studio, scroll down and expand "tools for visual studio", and then to "Build Tools for Visual Studio 2022" This is really useful if you want to set up a self hosted build agent for CI/CD too.
@DaniCrunch
6 ай бұрын
I failed to mention that the PortableBuildTool installation also leaves out some UWP and WinRT stuff. I really just tried to go with a minimal installation. And as far as i know the build tools package needs you to use the bat script to init environment variables for the command prompt (or you use the cmd shortcut for developers that it provides). But yeah I don’t know how i ended up on that msdn site for build tools when they are just available in the way you described.
@georgehelyar
6 ай бұрын
I think you can pick which workloads and components you want to install with command line arguments on the installer too but it's been a while since I tried. As well as compilers and runtimes, this could include tools like git, cmake, vcpkg etc I think but I can't remember how much of that is in the build tools and how much is in the full VS installer
@DaniCrunch
6 ай бұрын
@@georgehelyar Yeah I do remember that being in the full VS installer. I should check out the build tools installer when I have to setup a new machine again. Was just so used to the PortableBuildTools installer haha
@dankodnevic3222
6 ай бұрын
VS Code would be good alternative for editor with a ton of extensions, which can easily switch between CL, GCC....
@imrank340
6 ай бұрын
Increase the Font size please.
@DaniCrunch
6 ай бұрын
I noticed too late in the editing stage that I haven’t used the usual font sizes since everything was recorded from a laptop this time around. I tried to zoom in as best as I could without the footage looking bad. But most of the information about the commands should be on the slides with bigger font. Don’t think you’ll miss much else.
@alimctavish998
6 ай бұрын
great video ! ........ why there is a newd interest in c recently ?
@DaniCrunch
6 ай бұрын
I noticed in the places I frequent online that C/C++ interests have spiked after the whitehouse released guidance on memory safe languages. It is rather silly and could just be a coincidence.
@alimctavish998
6 ай бұрын
@@DaniCrunch basically i have an interest these days on c , after i coded for sometime with c++ and opengl , now i feel like i wanna know more so started to work with c cuz some sdks like pspsdk are written in c , thats why i asked this question cuz i rencently started developing in c
@DaniCrunch
6 ай бұрын
Nice. Making stuff for the Psp sounds like fun.
@androth1502
6 ай бұрын
US government said don't use C, so naturally, people don't trust the government (with good reason) and do the exact opposite.
Пікірлер: 41