How to Download and Set up NetBeans for Executing and Debugging C and C++ programs

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi everyone walid here today i will show you how to download and install netbeans to compile and run c and c plus plus programs in windows 10. let's download netflix head to the official website of netbeans here you you will find the latest release of netbeans okay click to download the latest version netbeans is available for windows linux and mac os i have windows 10 64-bit less download that means four windows here we have the link to download the executable file click to download okay wait until the download finishes now let's check if we have java installed in our machine open the command prompt and type java.version i don't have java installed so let's go to download and install java development key to be able to install netbeans ide open the browser and type java gdk and click on the first link and here we have the java se16 version it is the latest version click gdk download to go to download page okay here we have the gdk license scroll down to find the download links for all platforms i have windows 10 64-bit let's download the windows 64 installer click on this link and check to accept the license agreement and click on download jdk and wait until the download finishes now let's install the gdk select the installer and right click and run as administrator click next and this is the folder where the gdk will be installed click next and wait until it finishes you can click close now or click next steps to see the gdk documentation close the browser and open the command prompt to check if java is installed type java dash version and hit enter and here we have java version 16. and now let's go to install the netbeans ide select the setup and right click and run as administrator choose yes and wait until the setup configures the installer now you can customize the packs and run times what you want to use with netbeans click on customize i want to install them all just click ok and click next this is license agreement check i accept and click next if you want you can change the folder where netbeans will be installed i will install it in default folder with the gdk version 16 if you have another version of gdk you can click browse and select the gdk folder you want to install netbeans with and click next okay check for updates and click install and wait while the installer installs the netbeans ide the installation completed successfully click finish now let's open it means just double click on the desktop shortcut and it will start okay here it want to import the previous settings because i have a node version installed in my computer so i will click now to configure netbeans from scratch the first time you launch netbeans it will take some time and here we have the start page of netbeans close the start page and go to find and click new project and here you can choose the type of the project you want to create if you want to create c and c plus plus project click on c c plus and here in the description it says this feature is not yet enabled and this is only for lightweight c c plus project so close this window and let's go and install c and c plus plus netbeans plugin okay go to tools and click on plugin here in this plugins windows we have the available plugins and the downloaded and installed ones let's search for c and c plus plus plugin type c plus plus or let's first activate install lightweight c plus plus model select c c plus plus and click on activate down below click activate and wait until the installer finishes activating the selected plugin click on finish and go to settings to configure the update center and checking it means plugin portal and and go to available plugins and check for newest plugins check the c c plus plus plugin and click on install click next check i accept the license agreement and click on install now we have this message warning because in the latest version of gdk16 they have removed the impact 205 but use it to validate the downloaded plugins click on choose unpack 200 and search search for this file in the installed folder of the gdk you need to install the gre to get this impact 200. closing that means ide and open your browser and search for install java and click on the first link scroll down and click on money download and we have the online installer and windows offline installer click on windows offline 64-bit and the gra start downloading wait until it finishes go to download folder select the gre setup and right click and run as administrator click yes and we have java setup window click on install java successfully installed close this window and go to the installation folder to search for the impact 200 file and here we have the impact 200. xe file in the gre folder now open netbeans and let's try again to install c and c plus plugin that will help us in editing and running cnc plus mass programs go to tools and click on plugins click on check for updates make sure you have checked netbeans plugin portal and go to the available plugins window and check c slash c plus plus and click on install down below click next in this video we have the license agreement of each available plugin check i accept and click on install and the previous warning message disappeared click on continue and wait until the installation complete click finish and we have the c and c class plus c part including editing debugging and creating c and c plus plus projects now you can see in the installed plugin window user installs plugins with an active check mark and the temporary lightweight c c plus plus support comes installed in netbeans close this window and go to file and click on a new project and we have many options for c and c plus plus project let's create a c plus plus console application select c application and click on next choose a project name let's call it my first prog and you can choose the c plus version let's go with version 11 you can choose the compiler and where you want to store your project click on browse i will store it in netbeans projects folder click on finish now in project window we have our header files source files and the make file containing the compiler directives to run our project okay click on source files and open the main.cpp file netbeans automatically insert this code you can configure that means to skip that let's write some code to output some text in the console click on this icon to save your project and you can click on this icon to to build and run the program or go to run and click on with project or clean and build project we faded because the see out function defined in the iostream library and we are including cstd library let's add our stream and click on save and width and run again okay the tweet is successful now let's run the project the run is successful and here we have our output text now let's verify our compiler options go to options click on c c plus plus and here you can choose which compiler you want to use to compile your project with glue sciwin and mingw tool collection here we have the installation path of your compiler i have simon and michie w you can choose the default tool to build and run your projects i will choose mingw of mc64 click apply and click ok wait until netbeans update of the configuration let's test our compiler click on width and run and the run is successful here we have our output text we can also change the appearance of the ide go to options then click on appearance click on look and feed and choose your preferred one you can do your test and select your best theme click on apply and look and okay you need to restart netbeans to apply your selected look click on this message and netbeans will close and start again with your selected look it takes some time to start again and here it says closing native projects and here we have netbeans with dark theme let's delete these comments and with our our project and around again now close this project and let's create a new project go to file and click on a new project select c c plus plus application and click on next choose your compiler i will go with mingw the default one and choose a project name let's call it second test and let's choose this time c plus plus version 14 and click on finish open the source files and double click on main.cpp delete this code and let's write new one from scratch let's create two integer variables x and y and try to output the sum of them click on save and click on clean and width icon the width is successful click on the icon and here we have the sum of x and y integers now that's it close all projects and thank you friends see you in the next tutorial
Info
Channel: Walid Khames
Views: 2,365
Rating: undefined out of 5
Keywords: netbeans java, apache netbeans download, netbeans 12, download netbeans with jdk, download and install netbeans, download netbeans c, netbeans 12 c++ plugin, apache netbeans c, add c++ to netbeans 12, c++ gui netbeans, netbeans c compiler, netbeans c programming, netbeans c plugin, netbeans c tutorial, netbeans c sharp, netbeans c debugger, netbeans connector, netbeans c++ plugin, netbeans com jdk, netbeans change jdk, netbeans change theme, netbeans for c/c++ development
Id: DvhF8hXwVDo
Channel Id: undefined
Length: 13min 47sec (827 seconds)
Published: Fri Jul 23 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.