Thank you for the video. Can you please let me know that each time we create a c program should we click again on file-new-project-empty project ? I tried to right click on the option Source files- Add -new item- c++ file-- changed extension to .c - clicked on add. Then I wrote the code and ran the file. It gave me the error as main() already defined. So my question is can the Source files folder have only one c program.Please let me know
Hi Tasneem Haf, hope you are doing good. In a console application, we can have one main method, it can be present in any file. Other files need to be connected to the main file that contains main method. Just sharing an example of how can you connect two files (example is related to c++ but I believe it'll work with c) . www.c-sharpcorner.com/article/how-to-use-multiple-code-files-in-cpp/
@@IAmUmair Hi Umair thank you for the quick reply and also for sharing the link. This made me subscribe to your channel .Really appreciate it. I checked out the link and it's very informative . I am yet to try it out on my system. I will do it soon. Thanks again Umair. Keep up the good work of making videos. Cheers
Thank you so much for your video! I was having difficulties installing the correct version of VS with the CPP compiler. I really appreciate the detailed tutorial on installing and writing programs using Visual Studio IDE.
Hi, We have three versions of Visual Studio, 1. Professional 2. Enterprise 3. Community Out of these, first two are paid and last one is free. So we as individual can use free version i.e. community, and it has almost all the features in it.
Thanks for tuning in! Don't forget to subscribe for more.
first video after watching so many, something useful, thx a lot
Glad to know it helped
Thank you so much short,clear,precise i really appreciate that!
Thanks
0 to 100...
Best vid for this
Thumbs up
Thanks bro
thank u so much bro
Always welcome
Thanks bro, God bless you!!☺🙌
Thanks 🙏
Thank you so much bro!
Happy to help
THANK YOU!! Really useful
Welcome, my pleasure
thanks bro, it's really informative
Welcome bro
why didn't you have to return 0; on the c project? i mean , doesn't that give an error?
It didn't give an error, but you are correct return 0 should have been used.
the best
Thanks heaps bruv
Tysm ❤️❤️ it's work
You're welcome!
Thank❤❤❤
(Im from Rasha)
thank you so much
You're welcome!
Thank you for the video. Can you please let me know that each time we create a c program should we click again on file-new-project-empty project ? I tried to right click on the option Source files- Add -new item- c++ file-- changed extension to .c - clicked on add. Then I wrote the code and ran the file. It gave me the error as main() already defined. So my question is can the Source files folder have only one c program.Please let me know
Hi Tasneem Haf, hope you are doing good.
In a console application, we can have one main method, it can be present in any file. Other files need to be connected to the main file that contains main method.
Just sharing an example of how can you connect two files (example is related to c++ but I believe it'll work with c) . www.c-sharpcorner.com/article/how-to-use-multiple-code-files-in-cpp/
@@IAmUmair Hi Umair thank you for the quick reply and also for sharing the link. This made me subscribe to your channel .Really appreciate it. I checked out the link and it's very informative . I am yet to try it out on my system. I will do it soon. Thanks again Umair. Keep up the good work of making videos. Cheers
thank u
When i create multiple source files they don't work except the first one,
First one will work because it contains main method. Try to use classes and use them in your main file
How to run the program? Do we have to install a compiler for running the program?
The compiler gets installed automatically.
You can run the project from the Visual studio toolbar, a triangular button
Thanks for the video, but the c program does not run when taking input from the user. How do I solve that?
please check this for more info:
visualstudio.microsoft.com/vs/features/cplusplus/
Thanks bro :)
Welcome bro
thanks!
Welcome!
Thank you so much for your video! I was having difficulties installing the correct version of VS with the CPP compiler. I really appreciate the detailed tutorial on installing and writing programs using Visual Studio IDE.
Glad it helped!
Thank you so much!
You're welcome!
Hello bro i confused with 3 options enterprise professional community
Hi,
We have three versions of Visual Studio,
1. Professional
2. Enterprise
3. Community
Out of these, first two are paid and last one is free. So we as individual can use free version i.e. community, and it has almost all the features in it.