Creating First Program ( Hello World ) in C Programming Language Video Tutorial

  Рет қаралды 560,665

LearningLad

LearningLad

Күн бұрын

Пікірлер
@robiot
@robiot 4 жыл бұрын
"Hello, World !" The beginning of a never ending nightmares
@dean1534
@dean1534 7 жыл бұрын
Man, I love you. Looked all over the internet confused by it all, came here and one hour later i've got my first program running.
@LearningLad
@LearningLad 7 жыл бұрын
Thank you. keep Learning :)
@pavithrasori8416
@pavithrasori8416 Жыл бұрын
can you help me from where i open c++ compiler
@jetswhiteout961
@jetswhiteout961 9 жыл бұрын
These C vids will help me for the winter term in university, cause one of my comp science courses uses C I believe.
@sivakiran8330
@sivakiran8330 9 жыл бұрын
hello,Mr anil you did really great i want to ask you a doubt : i want to type two dialogues also iam able to compile but there is no space b/w them wt should i do to get space or to get it in next line
@MsIalSs
@MsIalSs 8 жыл бұрын
When I compiled and tried to run the program, I got this error saying that "Source file not compiled". However, this can be solved by going to: C:\Dev-Cpp\libexec\gcc\mingw32\3.4.2 , then deleting collect2.exe :-) . And thanks for the tutorials.
@LearningLad
@LearningLad 8 жыл бұрын
+ial523 glad that your problem solved :)
@thakurnikhilsingh2027
@thakurnikhilsingh2027 7 жыл бұрын
even though it is showing the same error can u help me out please......
@anastariq1310
@anastariq1310 7 жыл бұрын
Can you help me out with same problem
@datascientistoflife8550
@datascientistoflife8550 6 жыл бұрын
I have never seen someone make the things so easy , and easy to digest..
@samdavepollard
@samdavepollard 4 жыл бұрын
Yours is one of those channels where I'm happy to let the ads run. Especially that guy from udemy who keeps telling me that 'Python is where it's at.' :-) Many Thanks for sharing your knowledge.
@LearningLad
@LearningLad 4 жыл бұрын
Glad you like my video's. all the best :)
@THECHINMAYSATI
@THECHINMAYSATI 8 жыл бұрын
Hi. Can you please explain what was the use of int main? As you the main function is gonna return some integer value. What does that mean. And there was a return command in the end to work with the main function. But why did we need an integer here as we are trying to print Alphabetical Output ?
@mohdshahfaisal2981
@mohdshahfaisal2981 8 жыл бұрын
CHINMAY SATI yeah we can execute program even by just main() and without return0
@0xwhoami
@0xwhoami 7 жыл бұрын
int main ... that mean we will return and int value... later on you will see void or whatever with main ... but the most important is that you need 1 main
@pinklady7184
@pinklady7184 7 жыл бұрын
CHINMAY SATI, Int is a return type, so if there is nothing to return, just type in return 0.
@lazy_wolf_unofficial
@lazy_wolf_unofficial 6 жыл бұрын
Is there any necessary of Conio.h in Dev c ++
@petergorgioski2043
@petergorgioski2043 6 жыл бұрын
Wow so informative, you're awesome! You deserve more views my friend
@LearningLad
@LearningLad 6 жыл бұрын
thank you. keep learning :)
@umarbunu6472
@umarbunu6472 6 жыл бұрын
man this is really helping... You're very good at it
@LearningLad
@LearningLad 6 жыл бұрын
Thank you. keep Learning :)
@johnyvicewax7375
@johnyvicewax7375 10 жыл бұрын
Mr.Anil now i got to know why we use return 0 in programming , after watching video 23 about functions, thank you for that.
@LearningLad
@LearningLad 10 жыл бұрын
Yogananda Kh glad that you understood the concept :)
@digvijaya2017
@digvijaya2017 5 жыл бұрын
Why?
@sweetysahi5513
@sweetysahi5513 5 жыл бұрын
I'm 1st year b.tech ECE student sir...I have algorithm and c programming languages.. are u doing this in notepad?
@sayandey6667
@sayandey6667 6 жыл бұрын
Your learning process is very good..
@yamunaperumalsamy4768
@yamunaperumalsamy4768 6 жыл бұрын
Hello sir.. u asked to install codeblocks in the previous videos.. but now you use a different compiler.. how can I install this? Will codeblocks be used in the following videos?
@ubcxlt
@ubcxlt 5 жыл бұрын
Yes, I was surprised at this.
@aakash4351
@aakash4351 8 жыл бұрын
I have read somewhere that conio.h is not a standard c library. Then why we use it in c? Sorry if question is dumb, i'm new to programming.
@LearningLad
@LearningLad 8 жыл бұрын
yes it is not a part of c standard library. only some compilers provide it. but whenever it is available, it provides some console input output functions which will make your interaction with console pretty easy.
@aakash4351
@aakash4351 8 жыл бұрын
ok thank you sir! And You are a great teacher. The way you explain everything in such a short video even i as a mechanical engineer had no problem understanding basics. Thanks again sir.
@LearningLad
@LearningLad 8 жыл бұрын
aakash singh thanks man :)
@praveena9158
@praveena9158 7 жыл бұрын
wow! just amazing this tutorials are very useful and easy you understand . thank you sir
@LearningLad
@LearningLad 7 жыл бұрын
pleasure :)
@sujaypuvvadi2342
@sujaypuvvadi2342 8 жыл бұрын
Hey nice video! I've got a problem, after i compile the program (It says 'Done'), I'm not able to run it. It says "Source file not compiled". What might be the problem? And how do i resolve it? Thanks in advance :)
@LearningLad
@LearningLad 8 жыл бұрын
+Sujay Puvvadi sorry for late reply. download and install orwell dev cpp. it will solve your problem.
@sujaypuvvadi2342
@sujaypuvvadi2342 8 жыл бұрын
+LearningLad Thanks a lot! :D
@amishranjanofficial
@amishranjanofficial 5 жыл бұрын
Should I open code blocks ide app to write this source code or any other app
@pokerbuddy62
@pokerbuddy62 4 жыл бұрын
What IDE are you using? My codeblocks looks nothing like this
@arifrahman7943
@arifrahman7943 9 жыл бұрын
dude ur boss.......very very helpful.
@DeepakKumar-dy5hw
@DeepakKumar-dy5hw 6 жыл бұрын
Arif Rahman
@ricobanderas7281
@ricobanderas7281 7 жыл бұрын
Thank You and Happy Independence day!
@LearningLad
@LearningLad 7 жыл бұрын
Same to you :)
@deepak3303
@deepak3303 10 жыл бұрын
Hi, What is need for using int main() for printing a string? Please explain
@LearningLad
@LearningLad 10 жыл бұрын
deepak chowdarymain function is the starting point of your program or in other words the execution of your program starts from the main function.Inside the main function we have the printf() function which is used for console output. Please watch the tutorial completely because i have explained all these things in it :)
@kishorkumardas4609
@kishorkumardas4609 6 жыл бұрын
What compiler r u use sir??
@sujashrocks3576
@sujashrocks3576 9 жыл бұрын
can't we use "void" as a data type for the main function in c programming.....as we can use it in c++ programming? if yes, my compiler must be at error......plzz reply.
@aryanbharadwaj2286
@aryanbharadwaj2286 8 жыл бұрын
I am using turbo C7 for programming, does it make any difference?
@jabyerre
@jabyerre 8 жыл бұрын
Hello. Is possible in C convert text into voice synthesis Google? I searched for information and just explain to do in Android Studio.
@ROCKINGHISTORY
@ROCKINGHISTORY 10 жыл бұрын
hi mr anil iam using win 7 whenever i complie the program it shows done for the first time then my antivirus shows trojan in the folder i saved my programm and delets the complied file then whenever i try to run it it shows source file not found help me
@903govind
@903govind 9 жыл бұрын
ty bro but why should we use return 0; why not other value than 0
@LearningLad
@LearningLad 9 жыл бұрын
govind rao When you declare your main function as "int main" it means that "main function will return integer data type". So we are using the return statement to return an integer value(in our program it is 0 means our program succeeded, any other value means our program exited due to some error or anomaly. It's like the error code). Some compilers accept and compile the code even if we don't return an integer value. because that'll happen automatically when main terminates. But it is good programming practice to use return 0 and make sure that your main return a known value. if main is declared like "void main", then there's no need of return statement. But it is not allowed in C and C++ standard. But some compilers(non C, C++ standard compilers) allow it. It varies from compiler to compiler. Hope this helps :)
@903govind
@903govind 9 жыл бұрын
tnx bro damn helpful
@bopon4090
@bopon4090 8 жыл бұрын
i m using windows 10 to open devc++. i get G++.exe stop working problem what should i do now to fix it?
@LearningLad
@LearningLad 8 жыл бұрын
thats because the dev cpp ( bloodshed ) which you have installed has some issues in windows 8 or later versions. uninstall it and then google for orwell dev cpp and then download and install it.
@bopon4090
@bopon4090 8 жыл бұрын
thank you sir
@telanganareporterss
@telanganareporterss 8 жыл бұрын
ya same problem
@gopiselvamrgs4726
@gopiselvamrgs4726 8 жыл бұрын
me too the same problem(running after compilation)
@anishnair9891
@anishnair9891 8 жыл бұрын
Hi sir i installed orwell dev cpp and executed the program but i didnot get the display is there any particular setting that i am suppose to make ??? it shows 0 errors 0 warnings ..kinldy hlp
@mellamo_sachin
@mellamo_sachin 8 жыл бұрын
which version of dev c++ software should i use for windows 10. ? currently i m using 4.9.9.2 of that and its showing error.
@LearningLad
@LearningLad 8 жыл бұрын
download and install orwell dev cpp
@Smile-lp4ds
@Smile-lp4ds 8 жыл бұрын
there are so many links what can I use?
@ixdoi
@ixdoi 7 жыл бұрын
"Source file not compiled". is there is another way to open it with dev c ++ I don't want to use codeblocks or I have no choice ?
@LearningLad
@LearningLad 7 жыл бұрын
you can download and install orwell dev cpp. it will work
@ixdoi
@ixdoi 7 жыл бұрын
thank you for the fast replying & tutorials
@shauryapatil295
@shauryapatil295 8 жыл бұрын
Hi, I did exactly the same way u've shown on Dev c++ but it won't run the program saying the source file isn't compiled idk what to do.
@LearningLad
@LearningLad 8 жыл бұрын
sorry for late reply. the dev cpp which you have installed has some issues with windows 8 or later version of os. download and install orwel dev cpp. it will work. (i have also added an annotation about this in the video. you might have missed that)
@abinash138
@abinash138 7 жыл бұрын
why should we use return statement? what happens if u dont use it??? plz reply
@the_goddess5654
@the_goddess5654 9 жыл бұрын
Hi there. Thank you for the video. I do not understand where the 'compiler' button is. Can you please guide me in that ?
@LearningLad
@LearningLad 9 жыл бұрын
+shreya gupta sorry for late reply. Go to Execute and then click on Build and Run :)
@LearningLad
@LearningLad 9 жыл бұрын
+shreya gupta It will compile and then run your program :)
@jayprakashjaiswal4369
@jayprakashjaiswal4369 6 жыл бұрын
Don't give up ,one day your Chanel will fomous
@LearningLad
@LearningLad 6 жыл бұрын
sure. will be remaking this video series.
@calitherenhicka5209
@calitherenhicka5209 8 жыл бұрын
What's the difference between void main( ) and int main( )??
@vibunkumarvs5744
@vibunkumarvs5744 8 жыл бұрын
i am unable to download the compiler u mentioned in the previous video .. Please help me in this concern
@LearningLad
@LearningLad 8 жыл бұрын
+Vibunkumar V S Download the Orwell dev cpp just do a google search and you will find download link.
@pjmaths4427
@pjmaths4427 5 жыл бұрын
#include #include void main() { clrscr(); printf("hello world"); getch(); } hope it helped :)
@heenakouser1998
@heenakouser1998 7 жыл бұрын
So are saying every single information clearly thank you.
@LearningLad
@LearningLad 7 жыл бұрын
pleasure :)
@smjelani29
@smjelani29 7 жыл бұрын
How are you saving and compiling the program? You didnt showed it on the screen. You did it from keyboard. 2. Why did you gave space like between line 2nd and 4th and other spaces?
@soujanya56
@soujanya56 8 жыл бұрын
Instead of int main() if we write void main() .... it is showing return type of main is not int .... What is that all about ??????
@21ujjwalmishra
@21ujjwalmishra 8 жыл бұрын
Why are we writing 0 in 'return 0' and not some other integer inside the bracket?
@gnanam5933
@gnanam5933 6 жыл бұрын
by following your lectures can i program all programs easily >
@a.niranjan1858
@a.niranjan1858 7 жыл бұрын
Hello. I installed v5.11 , but after completing the program it is showing an error that "[Error] expected declaration specified or '...' before 'printf'
@a.niranjan1858
@a.niranjan1858 7 жыл бұрын
hey i solved the problem , by reading all the other comments. Anyways thanks for the tutorials.
@LearningLad
@LearningLad 7 жыл бұрын
:)
@MuhammadAsif-bo8os
@MuhammadAsif-bo8os 9 жыл бұрын
Excellent Work
@LearningLad
@LearningLad 9 жыл бұрын
Muhammad Asif thank you :)
@joshuaurbanski7488
@joshuaurbanski7488 10 жыл бұрын
hi, i use windows 8.1 and got the same problem everyone else is having, u said u made a tutorial for what to download to fix the problem but i cannot find the video. would you mind posting a link to that tutorial it would be much appreciated
@LearningLad
@LearningLad 10 жыл бұрын
hi Joshua Urbanski, check out Downloading and Installing CodeBlocks IDE for C and C++ -03- C++ Programming Video Tutorial
@maulikchaudhary9665
@maulikchaudhary9665 10 жыл бұрын
sir wat dose that "return 0; " means hera??????????????
@LearningLad
@LearningLad 10 жыл бұрын
Maulik Chaudhary, The declaration int main () says that main returns an int value. You have to return an int value, otherwise the compiler is going to complain. What value you return in a main function depends on what you want to communicate with the code that called main function in the first place. In this case return 0 means that execution was successful and there was no error.
@jiyarahman2673
@jiyarahman2673 8 жыл бұрын
what i have to do when it shows source file not compiled when i give run???
@LearningLad
@LearningLad 8 жыл бұрын
+Jiya Rahman just download and install orwell dev cpp. The current one you have installed has some issues in windows 8 and later versions of os
@AdityaKumar-ee7vk
@AdityaKumar-ee7vk 6 жыл бұрын
hi i compiled the program without writing the return 0.it is compiled.can you please tell me what is the use of return 0 in this programing
@balagopalbehera5671
@balagopalbehera5671 9 жыл бұрын
How I will compile and run the code?
@LearningLad
@LearningLad 9 жыл бұрын
hi Balagopal Behera i have explained that in this video :)
@kingdomofh2a2
@kingdomofh2a2 9 жыл бұрын
Balagopal Behera You can do it by pressing f9 for compile and f10 for run
@jaituteja9005
@jaituteja9005 8 жыл бұрын
what is different between int main and void main?
@username-zg8og
@username-zg8og 7 жыл бұрын
Sir,why I am getting an error saying 'main must return' if I use void main instead of int main? ( I did not use return 0 when I use void main)?
@dalenaleon9999
@dalenaleon9999 6 жыл бұрын
Why did you downloaded codeblocks and mingw if then you are just gonna use dev c++???
@axolotl8316
@axolotl8316 3 жыл бұрын
excellent tutorial
@LearningLad
@LearningLad 3 жыл бұрын
Thanks:)
@saurabhde-wan9567
@saurabhde-wan9567 8 жыл бұрын
why do we use # before including the header file?
@sanchareechattopadhyay8768
@sanchareechattopadhyay8768 8 жыл бұрын
Sir I did exactly the way you said but even after compiling a message appears on the screen "source file not compiled " when I try to run it .
@LearningLad
@LearningLad 8 жыл бұрын
The dev cpp which you have downloaded( blood shed dev cpp ) has some issues in windows 8 or later versions. So Uninstall it and then download and install orwell dev cpp ( just do a google search and you will get the download page ). ( I have added an annotation about this but you may have missed it )
@sanchareechattopadhyay8768
@sanchareechattopadhyay8768 8 жыл бұрын
Now its working .... thank you sir ..
@rafarooqui
@rafarooqui 9 жыл бұрын
I am running this dev c++ compiler on WIndows 8.1, it is compiling correctly but now showing any output. is there any compatibility issue with windows 8.1??
@LearningLad
@LearningLad 9 жыл бұрын
+Riaz Farooqui use orwell dev c++. sourceforge.net/projects/orwelldevcpp/
@rafarooqui
@rafarooqui 9 жыл бұрын
+LearningLad same result still not showing any result. is there any possibility that the VIRUS SCANNER on my laptop stopping it?
@LearningLad
@LearningLad 9 жыл бұрын
Riaz Farooqui Do u get any messages saying a potential virus or something is detected??
@rafarooqui
@rafarooqui 9 жыл бұрын
Yes only first time when I tried to ran my app, it says some console* has potential virus, then after that it is not showing any error nor showing any output.
@pankajtanwar4786
@pankajtanwar4786 9 жыл бұрын
when do we right scanf ????
@LearningLad
@LearningLad 9 жыл бұрын
+pankaj tanwar scanf() is used for receiving input :)
@rukhsarkiran5218
@rukhsarkiran5218 8 жыл бұрын
Is use of "return 0" is necssary?
@mohdshahfaisal2981
@mohdshahfaisal2981 8 жыл бұрын
Rukhsar Kiran in case of int main() must
@rukhsarkiran5218
@rukhsarkiran5218 8 жыл бұрын
ok thnx
@m1kerb1ker27
@m1kerb1ker27 7 жыл бұрын
your videos are helping me a lot, thank you very much for making this simple and helpful videos you are awesome ;)
@mohammedsaeed3742
@mohammedsaeed3742 6 жыл бұрын
HEY ...how to launch This GNU compiler to write the programme
@LearningLad
@LearningLad 6 жыл бұрын
you can write the program in a text editor. if you are using an ide then use the text editor which comes with it.
@shakti051
@shakti051 8 жыл бұрын
Sir, How to change font size and colour. Thanks........ Regards..........
@ankithprabhu4552
@ankithprabhu4552 9 жыл бұрын
Anil bhaiya, why dont u use a ";" in the main function?? what are "parameters" that u had mentioned to be passed in ( ) please reply great job bro B)
@smilygupta4879
@smilygupta4879 9 жыл бұрын
sir why we use int main instead of void main
@harshavardhanupputuri6211
@harshavardhanupputuri6211 7 жыл бұрын
Why u used return 0 what's the diff if we use return 1
@ashishakshantal1868
@ashishakshantal1868 9 жыл бұрын
how to compile and run??? please help me out
@LearningLad
@LearningLad 9 жыл бұрын
+Ashish Akshantal i have explained in the video. if i'm not wrong, u can press f9 key to compile and run :)
@bsthishvarma
@bsthishvarma 8 жыл бұрын
why we should we write return 0 in the program
@umangshrestha6673
@umangshrestha6673 8 жыл бұрын
Sir I am sooooo soooo soooo thanksfull to you .......you are really doing a great job
@LearningLad
@LearningLad 8 жыл бұрын
glad that my tutorials are helping you :)
@aryanbharadwaj2286
@aryanbharadwaj2286 5 жыл бұрын
When I run the program, the text i entered in printf gets printed an unlimited number of times. What could I be doing wrong? I'm using TurboC7.
@boro3775
@boro3775 5 жыл бұрын
Use turbo c++
@MrVivianwilliams
@MrVivianwilliams 8 жыл бұрын
Why did you add int main()??
@LearningLad
@LearningLad 8 жыл бұрын
+Vivian williams main is the starting point of a c program. a c program must have a main function.
@shehzan9263
@shehzan9263 8 жыл бұрын
what is the key to save and compile
@SahithNayudu
@SahithNayudu 9 жыл бұрын
When I compile and run the program I get a "warning: source file not compiled" What should i do? can someone help me? i am using Windows 7
@LearningLad
@LearningLad 9 жыл бұрын
Sahith Nayudu sorry for late reply. dev cpp is not updated these days. So update to a new ide called codeblocks. Here is the link to the video which explains that. kzbin.info/www/bejne/g3Wtaqh7fambnLc Hope this helps :)
@pavithrasori8416
@pavithrasori8416 Жыл бұрын
from where i open c++ compiler please anybdy help me
@LearningLad
@LearningLad Жыл бұрын
kzbin.info/www/bejne/sKS1o5KHp8loitE
@Harshadsarswa
@Harshadsarswa 9 жыл бұрын
thank you sir for ur videos great work
@LearningLad
@LearningLad 9 жыл бұрын
Harshad Sarswa my pleasure man :) thank you :)
@wrbeasts9030
@wrbeasts9030 3 жыл бұрын
learing new laungues is too fun !
@hirshitharajee9322
@hirshitharajee9322 8 жыл бұрын
I have already learnt java but I don't know much about C.....pls tell me how is 'cout 'and 'printh' are different from each other..?
@hirshitharajee9322
@hirshitharajee9322 8 жыл бұрын
***** thank q
@entertainmentdeliveredhere
@entertainmentdeliveredhere 9 жыл бұрын
hello learning lad when i tried to run my program it is saying SOURCE FILE NOT COMPILED so plzz help me
@LearningLad
@LearningLad 9 жыл бұрын
+entertainment delivered dev c++ has some issues in windows 8 and later os. ( I have added an annotation about this issue in the video and also stated about it in the description. may be you have missed it.) so i suggest you to download and install codeblocks. checkout our video kzbin.info/www/bejne/g3Wtaqh7fambnLc Hope this helps :)
@entertainmentdeliveredhere
@entertainmentdeliveredhere 9 жыл бұрын
Thankyou learning lad
@yokeshwaran7305
@yokeshwaran7305 8 жыл бұрын
If i use clrscr(); in the prg ..it says "Undefined reference to clrscr();" but i have also added conio.h..but it still throws error...Can u help me bro
@kartick1241
@kartick1241 8 жыл бұрын
you have to use system("cls"); clrscr() is not valid anymore they have changed the syntax
@yokeshwaran7305
@yokeshwaran7305 8 жыл бұрын
tq 4 ur help bro
@HarmanSingh-xp2rs
@HarmanSingh-xp2rs 10 жыл бұрын
sir, i click F9 for compile and run but a pop up says "Source file not compiled".plzz help me i am using windows 8
@LearningLad
@LearningLad 10 жыл бұрын
harman singh Dev C++ has some problems with windows 8. So use other Ide's like CodeBlocks or Eclipse. Hope this will help :)
@phalpriya
@phalpriya 9 жыл бұрын
hello sir when I compile my program it shows the status as done but when I run, it says "source file not compiled" what could be the problem :( please help
@LearningLad
@LearningLad 9 жыл бұрын
Phalguna Priya sorry for late reply! Dev CPP ide has some issues with windows 8 and later os. so you can use codeblocks ide for programming in c. checkout kzbin.info/www/bejne/g3Wtaqh7fambnLc to download and install it. Hope this helps :)
@rprock5
@rprock5 10 жыл бұрын
Sir when I run program it gives me an error source file not compiled Video 3 I am very new to this can you please help
@LearningLad
@LearningLad 10 жыл бұрын
Rutvij Pathak hi if you are using windows 8 operating system then dev c++ has some issues. so i suggest you to download and install code::blocks ide for c and c++. Here is the link of a video which explains how to set up codeblocks. kzbin.info/www/bejne/g3Wtaqh7fambnLc you can try out all of our c tutorials with codeblocks also. It works fine. Hope this helps :) happy Learning!
@jiritichy6855
@jiritichy6855 9 жыл бұрын
Hello. I am starting self paced learning of C just from KZbin videos, like yours.. And right from the beginning I am not getting few things here: No1: why I need to include :"int main" statement and then "return 0"...where I am actually telling the machine returning the integer 0. Seems like the first statement is not needed, then. What if I say "return 1.20"??? Would it return Integer(and if so, which one?) or Real-the one I comanded...i.e. 1.2???. No2: I would assume, that after printing statement "Hello, learner" the machine will actually print out the 0 (which I commanded with statement "return 0'). But no such thing has happened...which would lead me to think, that something went wrong with my program....And if the machine doesn't actually display the 0 (even if I command it), then why to command it at all??? What good does it do for me, if I cannot visually confirm, that it actually returned the 0...?
@tuzkiiiii
@tuzkiiiii 9 жыл бұрын
+Jiri Tichy This is a month old reply, so i don't know if you actually get why we need the int main() and the return, but i will explain it for others anyway, so the int main() is the "main" function, meaning that we need this function so our program can run correctly, every C program needs a main(), if you don't include it, the compiler will be confused and throws an error at you. about the return 0, the return keyword doesn't mean that you give this value to the program to print it (this is the printf job), the 0 is actually a value that the program returns to the operating system to say that it is done executing and that was no error in the process. This is the simplest way to explain the return value without confusing you about functions and return values, so i hope you know at least its purpose.
@nandankulkarni5604
@nandankulkarni5604 8 жыл бұрын
+Jiri Tichy when you 'int main' it means that your main function is going to return a value which is an integer. So when you write 'return 0' it means that you are returning an integer as you had told the compiler that you'll be returning an int. If you don't return anything or if you return 1.20, then this means that the expected value is not return since 1.20 is not an int. This will give an error.
@maheshdharshanala7483
@maheshdharshanala7483 7 жыл бұрын
just tell me the difference between the mani() and void main() and int main() and int main(void)
@nandwanigift625
@nandwanigift625 6 жыл бұрын
what's the shortcut key for saving and compiling
@chandankumar-kv8ko
@chandankumar-kv8ko 6 жыл бұрын
pls help... from where i open compiler
@sravanilasya1417
@sravanilasya1417 7 жыл бұрын
sir i download code blocks and how do we use that for c not cpp
@LearningLad
@LearningLad 7 жыл бұрын
while creating project, you have the options for c and c++. at that time select c.
@abhijeetraj7952
@abhijeetraj7952 8 жыл бұрын
return 0; ?? Didn't get this command? Why you used only 0 after return keyword? Why can't 1 or 2 or abny other integer? Can You Tell about it more?
@connectciomer
@connectciomer 4 жыл бұрын
Thank u buddy I am glad.
@LearningLad
@LearningLad 4 жыл бұрын
welcome :)
@bhargavdayal8595
@bhargavdayal8595 9 жыл бұрын
i am able to compile the program and run it
@vedanthbaliga
@vedanthbaliga 9 жыл бұрын
what will happen if we do return 1; instead of return 0; please explain??
@elvinjafarli6257
@elvinjafarli6257 8 жыл бұрын
Nothing
@jayrajbhaikantrodia9610
@jayrajbhaikantrodia9610 7 жыл бұрын
how to provide border lines to the address???
@abhayankit2878
@abhayankit2878 8 жыл бұрын
hello sir.. there is a problem I am facing...the program I have written is not running,it is showing that 'source file not complied'.......what to do sir????
@sgt.boris4713
@sgt.boris4713 4 жыл бұрын
what if i give return 1 or 100 ??
@jaiminmodi2715
@jaiminmodi2715 10 жыл бұрын
after compiling the program i get the same message "source file not compiled". I am using windows 7. Any other websites from where i can download C sofware ?
@LearningLad
@LearningLad 10 жыл бұрын
hi jaimin, You can use CodeBlocks IDE. It is available along with C/C++ Compiler. I have already made a tutorial on it. Pls check it out if u get any problem while installing CodeBlocks. Thank you.
@SravanKumar-wk3ei
@SravanKumar-wk3ei 7 жыл бұрын
i am getting error as " Source File Not Compilied ". i tried Orwell dev cpp, I uninstalled and installed twice, i installed Code block as you replied to other comment. But nothiing is Working Sir. So Can I know why and what can i do further to get complile. i am Using Windows 10.
@sgt.boris4713
@sgt.boris4713 4 жыл бұрын
if will happen if i put something in brackets of getch()
@srivallimaganti2317
@srivallimaganti2317 7 жыл бұрын
how to complied n run the program
@vishnuvijayan2882
@vishnuvijayan2882 4 жыл бұрын
sir i am using online compiler where it is showing error for CONIO.H
struct Basics | C Programming Tutorial
24:44
Portfolio Courses
Рет қаралды 156 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
قصه ايوب عليه السلام و شده وصبره البلاء
3:49
قصص الانبياء
Рет қаралды 321
C_84 Introduction to Functions - part 1 | C Language Tutorials
25:27
Jenny's Lectures CS IT
Рет қаралды 1 МЛН
C while loops ♾️
3:51
Bro Code
Рет қаралды 76 М.
C Video Tutorial
23:55
Derek Banas
Рет қаралды 348 М.
#23 C Pointers | C Programming For Beginners
11:01
Programiz
Рет қаралды 155 М.
C Programming - Features & The First C Program
14:58
Neso Academy
Рет қаралды 1,8 МЛН
C function prototypes 🤖
4:37
Bro Code
Рет қаралды 59 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН