"Hello, World !" The beginning of a never ending nightmares
@dean15347 жыл бұрын
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.
@LearningLad7 жыл бұрын
Thank you. keep Learning :)
@pavithrasori8416 Жыл бұрын
can you help me from where i open c++ compiler
@jetswhiteout9619 жыл бұрын
These C vids will help me for the winter term in university, cause one of my comp science courses uses C I believe.
@sivakiran83309 жыл бұрын
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
@MsIalSs8 жыл бұрын
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.
@LearningLad8 жыл бұрын
+ial523 glad that your problem solved :)
@thakurnikhilsingh20277 жыл бұрын
even though it is showing the same error can u help me out please......
@anastariq13107 жыл бұрын
Can you help me out with same problem
@datascientistoflife85506 жыл бұрын
I have never seen someone make the things so easy , and easy to digest..
@samdavepollard4 жыл бұрын
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.
@LearningLad4 жыл бұрын
Glad you like my video's. all the best :)
@THECHINMAYSATI8 жыл бұрын
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 ?
@mohdshahfaisal29818 жыл бұрын
CHINMAY SATI yeah we can execute program even by just main() and without return0
@0xwhoami7 жыл бұрын
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
@pinklady71847 жыл бұрын
CHINMAY SATI, Int is a return type, so if there is nothing to return, just type in return 0.
@lazy_wolf_unofficial6 жыл бұрын
Is there any necessary of Conio.h in Dev c ++
@petergorgioski20436 жыл бұрын
Wow so informative, you're awesome! You deserve more views my friend
@LearningLad6 жыл бұрын
thank you. keep learning :)
@umarbunu64726 жыл бұрын
man this is really helping... You're very good at it
@LearningLad6 жыл бұрын
Thank you. keep Learning :)
@johnyvicewax737510 жыл бұрын
Mr.Anil now i got to know why we use return 0 in programming , after watching video 23 about functions, thank you for that.
@LearningLad10 жыл бұрын
Yogananda Kh glad that you understood the concept :)
@digvijaya20175 жыл бұрын
Why?
@sweetysahi55135 жыл бұрын
I'm 1st year b.tech ECE student sir...I have algorithm and c programming languages.. are u doing this in notepad?
@sayandey66676 жыл бұрын
Your learning process is very good..
@yamunaperumalsamy47686 жыл бұрын
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?
@ubcxlt5 жыл бұрын
Yes, I was surprised at this.
@aakash43518 жыл бұрын
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.
@LearningLad8 жыл бұрын
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.
@aakash43518 жыл бұрын
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.
@LearningLad8 жыл бұрын
aakash singh thanks man :)
@praveena91587 жыл бұрын
wow! just amazing this tutorials are very useful and easy you understand . thank you sir
@LearningLad7 жыл бұрын
pleasure :)
@sujaypuvvadi23428 жыл бұрын
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 :)
@LearningLad8 жыл бұрын
+Sujay Puvvadi sorry for late reply. download and install orwell dev cpp. it will solve your problem.
@sujaypuvvadi23428 жыл бұрын
+LearningLad Thanks a lot! :D
@amishranjanofficial5 жыл бұрын
Should I open code blocks ide app to write this source code or any other app
@pokerbuddy624 жыл бұрын
What IDE are you using? My codeblocks looks nothing like this
@arifrahman79439 жыл бұрын
dude ur boss.......very very helpful.
@DeepakKumar-dy5hw6 жыл бұрын
Arif Rahman
@ricobanderas72817 жыл бұрын
Thank You and Happy Independence day!
@LearningLad7 жыл бұрын
Same to you :)
@deepak330310 жыл бұрын
Hi, What is need for using int main() for printing a string? Please explain
@LearningLad10 жыл бұрын
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 :)
@kishorkumardas46096 жыл бұрын
What compiler r u use sir??
@sujashrocks35769 жыл бұрын
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.
@aryanbharadwaj22868 жыл бұрын
I am using turbo C7 for programming, does it make any difference?
@jabyerre8 жыл бұрын
Hello. Is possible in C convert text into voice synthesis Google? I searched for information and just explain to do in Android Studio.
@ROCKINGHISTORY10 жыл бұрын
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
@903govind9 жыл бұрын
ty bro but why should we use return 0; why not other value than 0
@LearningLad9 жыл бұрын
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 :)
@903govind9 жыл бұрын
tnx bro damn helpful
@bopon40908 жыл бұрын
i m using windows 10 to open devc++. i get G++.exe stop working problem what should i do now to fix it?
@LearningLad8 жыл бұрын
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.
@bopon40908 жыл бұрын
thank you sir
@telanganareporterss8 жыл бұрын
ya same problem
@gopiselvamrgs47268 жыл бұрын
me too the same problem(running after compilation)
@anishnair98918 жыл бұрын
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_sachin8 жыл бұрын
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.
@LearningLad8 жыл бұрын
download and install orwell dev cpp
@Smile-lp4ds8 жыл бұрын
there are so many links what can I use?
@ixdoi7 жыл бұрын
"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 ?
@LearningLad7 жыл бұрын
you can download and install orwell dev cpp. it will work
@ixdoi7 жыл бұрын
thank you for the fast replying & tutorials
@shauryapatil2958 жыл бұрын
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.
@LearningLad8 жыл бұрын
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)
@abinash1387 жыл бұрын
why should we use return statement? what happens if u dont use it??? plz reply
@the_goddess56549 жыл бұрын
Hi there. Thank you for the video. I do not understand where the 'compiler' button is. Can you please guide me in that ?
@LearningLad9 жыл бұрын
+shreya gupta sorry for late reply. Go to Execute and then click on Build and Run :)
@LearningLad9 жыл бұрын
+shreya gupta It will compile and then run your program :)
@jayprakashjaiswal43696 жыл бұрын
Don't give up ,one day your Chanel will fomous
@LearningLad6 жыл бұрын
sure. will be remaking this video series.
@calitherenhicka52098 жыл бұрын
What's the difference between void main( ) and int main( )??
@vibunkumarvs57448 жыл бұрын
i am unable to download the compiler u mentioned in the previous video .. Please help me in this concern
@LearningLad8 жыл бұрын
+Vibunkumar V S Download the Orwell dev cpp just do a google search and you will find download link.
So are saying every single information clearly thank you.
@LearningLad7 жыл бұрын
pleasure :)
@smjelani297 жыл бұрын
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?
@soujanya568 жыл бұрын
Instead of int main() if we write void main() .... it is showing return type of main is not int .... What is that all about ??????
@21ujjwalmishra8 жыл бұрын
Why are we writing 0 in 'return 0' and not some other integer inside the bracket?
@gnanam59336 жыл бұрын
by following your lectures can i program all programs easily >
@a.niranjan18587 жыл бұрын
Hello. I installed v5.11 , but after completing the program it is showing an error that "[Error] expected declaration specified or '...' before 'printf'
@a.niranjan18587 жыл бұрын
hey i solved the problem , by reading all the other comments. Anyways thanks for the tutorials.
@LearningLad7 жыл бұрын
:)
@MuhammadAsif-bo8os9 жыл бұрын
Excellent Work
@LearningLad9 жыл бұрын
Muhammad Asif thank you :)
@joshuaurbanski748810 жыл бұрын
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
@LearningLad10 жыл бұрын
hi Joshua Urbanski, check out Downloading and Installing CodeBlocks IDE for C and C++ -03- C++ Programming Video Tutorial
@maulikchaudhary966510 жыл бұрын
sir wat dose that "return 0; " means hera??????????????
@LearningLad10 жыл бұрын
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.
@jiyarahman26738 жыл бұрын
what i have to do when it shows source file not compiled when i give run???
@LearningLad8 жыл бұрын
+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-ee7vk6 жыл бұрын
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
@balagopalbehera56719 жыл бұрын
How I will compile and run the code?
@LearningLad9 жыл бұрын
hi Balagopal Behera i have explained that in this video :)
@kingdomofh2a29 жыл бұрын
Balagopal Behera You can do it by pressing f9 for compile and f10 for run
@jaituteja90058 жыл бұрын
what is different between int main and void main?
@username-zg8og7 жыл бұрын
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)?
@dalenaleon99996 жыл бұрын
Why did you downloaded codeblocks and mingw if then you are just gonna use dev c++???
@axolotl83163 жыл бұрын
excellent tutorial
@LearningLad3 жыл бұрын
Thanks:)
@saurabhde-wan95678 жыл бұрын
why do we use # before including the header file?
@sanchareechattopadhyay87688 жыл бұрын
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 .
@LearningLad8 жыл бұрын
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 )
@sanchareechattopadhyay87688 жыл бұрын
Now its working .... thank you sir ..
@rafarooqui9 жыл бұрын
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??
@LearningLad9 жыл бұрын
+Riaz Farooqui use orwell dev c++. sourceforge.net/projects/orwelldevcpp/
@rafarooqui9 жыл бұрын
+LearningLad same result still not showing any result. is there any possibility that the VIRUS SCANNER on my laptop stopping it?
@LearningLad9 жыл бұрын
Riaz Farooqui Do u get any messages saying a potential virus or something is detected??
@rafarooqui9 жыл бұрын
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.
@pankajtanwar47869 жыл бұрын
when do we right scanf ????
@LearningLad9 жыл бұрын
+pankaj tanwar scanf() is used for receiving input :)
@rukhsarkiran52188 жыл бұрын
Is use of "return 0" is necssary?
@mohdshahfaisal29818 жыл бұрын
Rukhsar Kiran in case of int main() must
@rukhsarkiran52188 жыл бұрын
ok thnx
@m1kerb1ker277 жыл бұрын
your videos are helping me a lot, thank you very much for making this simple and helpful videos you are awesome ;)
@mohammedsaeed37426 жыл бұрын
HEY ...how to launch This GNU compiler to write the programme
@LearningLad6 жыл бұрын
you can write the program in a text editor. if you are using an ide then use the text editor which comes with it.
@shakti0518 жыл бұрын
Sir, How to change font size and colour. Thanks........ Regards..........
@ankithprabhu45529 жыл бұрын
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)
@smilygupta48799 жыл бұрын
sir why we use int main instead of void main
@harshavardhanupputuri62117 жыл бұрын
Why u used return 0 what's the diff if we use return 1
@ashishakshantal18689 жыл бұрын
how to compile and run??? please help me out
@LearningLad9 жыл бұрын
+Ashish Akshantal i have explained in the video. if i'm not wrong, u can press f9 key to compile and run :)
@bsthishvarma8 жыл бұрын
why we should we write return 0 in the program
@umangshrestha66738 жыл бұрын
Sir I am sooooo soooo soooo thanksfull to you .......you are really doing a great job
@LearningLad8 жыл бұрын
glad that my tutorials are helping you :)
@aryanbharadwaj22865 жыл бұрын
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.
@boro37755 жыл бұрын
Use turbo c++
@MrVivianwilliams8 жыл бұрын
Why did you add int main()??
@LearningLad8 жыл бұрын
+Vivian williams main is the starting point of a c program. a c program must have a main function.
@shehzan92638 жыл бұрын
what is the key to save and compile
@SahithNayudu9 жыл бұрын
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
@LearningLad9 жыл бұрын
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 Жыл бұрын
from where i open c++ compiler please anybdy help me
@LearningLad Жыл бұрын
kzbin.info/www/bejne/sKS1o5KHp8loitE
@Harshadsarswa9 жыл бұрын
thank you sir for ur videos great work
@LearningLad9 жыл бұрын
Harshad Sarswa my pleasure man :) thank you :)
@wrbeasts90303 жыл бұрын
learing new laungues is too fun !
@hirshitharajee93228 жыл бұрын
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..?
@hirshitharajee93228 жыл бұрын
***** thank q
@entertainmentdeliveredhere9 жыл бұрын
hello learning lad when i tried to run my program it is saying SOURCE FILE NOT COMPILED so plzz help me
@LearningLad9 жыл бұрын
+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 :)
@entertainmentdeliveredhere9 жыл бұрын
Thankyou learning lad
@yokeshwaran73058 жыл бұрын
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
@kartick12418 жыл бұрын
you have to use system("cls"); clrscr() is not valid anymore they have changed the syntax
@yokeshwaran73058 жыл бұрын
tq 4 ur help bro
@HarmanSingh-xp2rs10 жыл бұрын
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
@LearningLad10 жыл бұрын
harman singh Dev C++ has some problems with windows 8. So use other Ide's like CodeBlocks or Eclipse. Hope this will help :)
@phalpriya9 жыл бұрын
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
@LearningLad9 жыл бұрын
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 :)
@rprock510 жыл бұрын
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
@LearningLad10 жыл бұрын
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!
@jiritichy68559 жыл бұрын
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...?
@tuzkiiiii9 жыл бұрын
+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.
@nandankulkarni56048 жыл бұрын
+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.
@maheshdharshanala74837 жыл бұрын
just tell me the difference between the mani() and void main() and int main() and int main(void)
@nandwanigift6256 жыл бұрын
what's the shortcut key for saving and compiling
@chandankumar-kv8ko6 жыл бұрын
pls help... from where i open compiler
@sravanilasya14177 жыл бұрын
sir i download code blocks and how do we use that for c not cpp
@LearningLad7 жыл бұрын
while creating project, you have the options for c and c++. at that time select c.
@abhijeetraj79528 жыл бұрын
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?
@connectciomer4 жыл бұрын
Thank u buddy I am glad.
@LearningLad4 жыл бұрын
welcome :)
@bhargavdayal85959 жыл бұрын
i am able to compile the program and run it
@vedanthbaliga9 жыл бұрын
what will happen if we do return 1; instead of return 0; please explain??
@elvinjafarli62578 жыл бұрын
Nothing
@jayrajbhaikantrodia96107 жыл бұрын
how to provide border lines to the address???
@abhayankit28788 жыл бұрын
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.boris47134 жыл бұрын
what if i give return 1 or 100 ??
@jaiminmodi271510 жыл бұрын
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 ?
@LearningLad10 жыл бұрын
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-wk3ei7 жыл бұрын
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.boris47134 жыл бұрын
if will happen if i put something in brackets of getch()
@srivallimaganti23177 жыл бұрын
how to complied n run the program
@vishnuvijayan28824 жыл бұрын
sir i am using online compiler where it is showing error for CONIO.H