Bago yan, magdownload muna kayo ng application na makikita sa aking Downloads page.
I-download niyo muna ang Dev C++ for C Programming.
Pag nadownload mu na at nainstall mu na siya, make a New Source File then save as (.c) file
Explanation:
So this is your First Program na ipapatakbo mo sa computer mo.
Sa source file na ito, ilalagay mo ang #include <stdio.h> Ibig sabihin
nito ay, standard, input, output. Everytime na may ipoprogram ka,
dapat nilalagay mu ito sa una pa lang. Importante din dito ang int main(void).
Ito ang magsisilbing main function mo to run your program. Then ilagay mo
ang mga enclose brackets { }. Ipasok mu sila sa main function. These brackets
also your statement and command. So anu bang gagawin mo dito? Anung
command ba? Statement? Well Pinakamadaling command is the "Hello World"
Style. So sa ibaba ng enclose bracket, may nakalagay printf. That is a Print
function. Or Print a Text kumbaga. Then Lagay ka ng parenthesis with Quotation
Marks in it "". Ilagay mo kung anung gusto mung sabihin. Then after dun, pag tapos
ka na sa command or statement mo, wag ding kalimutang maglagay ng semi-colon
to end up a statement. Then sa ibaba may getch(); thing dun. That means get characther.
Which nagaantay ito kung anung itatype mo.
Then Compile & Run. Pag nagawa mu yun. Congratulations! Nakarun ka na ng isang
program or application in your life.
Output :
Hello World!