Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

[ TUTORIAL ] Understanding Basic C++ Programming (For Beginners Guide Only)

is this helpful? then what should you do?

  • yes it is and make this thread sticky.

    Votes: 42 95.5%
  • useless thread. delete it.

    Votes: 2 4.5%

  • Total voters
    44

guitarF

Apprentice
Advanced Member
Messages
77
Reaction score
0
Points
26
Una sa lahat, ginawa ko itong thread lalo na sa mga nag-uumpisa palang po sa C++ programming.
Inuulit ko po, basic C++ programming po ang matututunan ninyo dito sa thread.
Para sa mga advance C++ programmer po jan, welcome din po kayo para makatulong sa iba.
Sana lang po ang hiling ko lang, walang mag-aaway dito o magyayabangan ng mga codes.
I-share po natin ang nalalaman natin sa magandang pakikitungo.

Console Programming po ang gagawin dito hindi po Windows Form.

Para sa compiler na pwedeng gamitin sa C++, pwede po tayong gumamit ng:


ITO PO ANG MGA LESSONS PARA SA BASIC C++ PROGRAMMING
Code:
[LIST]
[*] LESSON #1 [URL="http://www.symbianize.com/showpost.php?p=10707940&postcount=2"]Some concepts you need to know[/URL]
[*] LESSON #2 [URL="http://www.symbianize.com/showpost.php?p=10707940&postcount=2"]Your first program / code[/URL]
[*] LESSON #3 [URL="http://www.symbianize.com/showpost.php?p=10707940&postcount=2"]Formatting your program output[/URL]
[*] LESSON #4 [URL="http://www.symbianize.com/showpost.php?p=10709150&postcount=3"]Printing or Displaying the variables[/URL]
[*] LESSON #5 [URL="http://www.symbianize.com/showpost.php?p=10709150&postcount=3"]Using void instead of int[/URL]
[*] LESSON #6 [URL="http://www.symbianize.com/showpost.php?p=10713525&postcount=6"]Calling another Function and Display functionalities[/URL]
[*] LESSON #7 [URL="http://www.symbianize.com/showpost.php?p=10718242&postcount=9"]Organizing your codes[/URL]
[*] LESSON #8 [URL="http://www.symbianize.com/showpost.php?p=10718242&postcount=9"]Inputing data and Displaying it.[/URL]
[*] LESSON #9 [URL="http://www.symbianize.com/showpost.php?p=10727540&postcount=14"]Using IF-ELSE Statement[/URL]
[*] LESSON #10 [URL="http://www.symbianize.com/showpost.php?p=10728223&postcount=17"]Using IF-ELSE + ELSE IF for better error handling[/URL]
[*] LESSON #11 [URL="http://www.symbianize.com/showpost.php?p=10735884&postcount=22"]Using SWITCH-CASE Statement[/URL]
[*] LESSON #12 [URL="http://www.symbianize.com/showpost.php?p=10774998&postcount=23"]Using DO-WHILE Statement[/URL]
[/LIST]

Mga kasymb, pasyensya kung naiinip na kayo. Alam kong basic na basic talaga ito. Para talaga sa mga walang knowledge pa ito sa C++. :yipee:

 
Last edited:
LESSON #1
Some concepts you need to know
basic variables
  • int - para sa mga numbers po yan (example: 3)
  • float - para sa number po with decimals. 7 digits. (example: 1.89)
  • double - para sa numbers po with decimals pero mas malaki compared sa float. 15 digits.
  • char - para po sa isang letter lang po (example: 'A')
  • string - para po sa sentence or word po (example: "Hello Symbianizer")
  • bool - bale pang return ng value po kung true or false
  • // or /* */ - gamit po yan sa pagcomment sa codes or notes. (example: //This is a note or /*This is a note*/)

LESSON #2
Your first program / code (Picture only)
Magtype po tayo huwag po copy paste para matuto tayo.
Pwede pong huwag i-type ang mga nilagay na comments.

000.jpg


Ito ang output kapag narun mo ang code
001.jpg


LESSON #3
Formatting your program output
Kung mapapansin ninyo sa lesson 2, hindi maganda ang pagkadisplay ng output

using endl
image.jpg


using \n
image.jpg


the same output po ito
image.jpg


using \t (TAB)
image.jpg


output ng tab
image.jpg
 
LESSON #4
Printing or Displaying the variables


code:
008.jpg


output:
009.jpg


LESSON #5
Using void instead of int


code:
010.jpg


output:
009.jpg
 
Re: [ TUTORIAL ] Understanding Basic C++ Programming (For Beginners Guide Only)

nice one TS tambay po ako dito..
kaya lang turbo c++ gamit namen at C hindi po c++
pro ok lang po para masanay na din po ako sa pagconvert ng codes... halos pareho lang naman po sila diba..

thanks dito
 
Re: [ TUTORIAL ] Understanding Basic C++ Programming (For Beginners Guide Only)

opo halos pareho lang. syntax lang ang nagkaiba. kasi tinry ko rin dati ang turbo C++.
un ata yung printf at scanf
 
LESSON #6
Calling another Function and Display functionalities


code:
002.jpg


code: pwede mo ring gawing ganito
004.jpg


output:
003.jpg
 
Last edited:
Re: [ TUTORIAL ] Understanding Basic C++ Programming (For Beginners Guide Only)

opo halos pareho lang. syntax lang ang nagkaiba. kasi tinry ko rin dati ang turbo C++.
un ata yung printf at scanf

opo sir un nga po un...
wait pa po ako ng mga ipopost mo
 
Re: [ TUTORIAL ] Understanding Basic C++ Programming (For Beginners Guide Only)

ok toh TS pa subscribe na din ako may matutunan ako dito at pwede din akong mag-share ng mga alam ko.. :thumbsup:
 
Last edited:
LESSON #7
Organizing your codes


code:
000.jpg


LESSON #8

Inputing data and Displaying it.


code:
001.jpg


output:
002.jpg


after entering 3:
003.jpg
 
Last edited:
Re: [ TUTORIAL ] Understanding Basic C++ Programming (For Beginners Guide Only)

Nice TS. Malaking tulong ito sa mga nagseself-study o kaya nagrerefresh sa C++ . Lagay ka din ng mga problems para medyo mahasa ung logic sa pagcoconstruct ng codes :D
 
Re: [ TUTORIAL ] Understanding Basic C++ Programming (For Beginners Guide Only)

pa bm muna ts hehe ayus to sakin hehe
 
Re: [ TUTORIAL ] Understanding Basic C++ Programming (For Beginners Guide Only)

sali ako dito although hindi ito ang language
na pinag-aralan ko dati meron mga parehong
syntax kaya nakakarelate ako kahit onti...

magrerefresh lang ako its been 10 years na
at kalawangin na yun utak ko...:lmao:
 
Re: [ TUTORIAL ] Understanding Basic C++ Programming (For Beginners Guide Only)

thanks sa suggestion sir. oo nga para mas ma-aaply rin hehe
 
LESSON #9
Using IF-ELSE Statement


code:
000.jpg


output Y:
001.jpg


output N:
002.jpg
 
Last edited:
Re: [ TUTORIAL ] Understanding Basic C++ Programming (For Beginners Guide Only)

sir pa check naman po ng visual basic express 2010.. dead link na po ata..
 
Re: [ TUTORIAL ] Understanding Basic C++ Programming (For Beginners Guide Only)

ka-symb, dun kay TS sa thread po kayo magtanong. sa thread po niya kasi un.
 
LESSON #10
Using IF-ELSE + ELSE IF for better error handling


code:
003.jpg


outputs:
 
Last edited:
Re: [ TUTORIAL ] Understanding Basic C++ Programming (For Beginners Guide Only)

thanks dito ts., basa basa muna ako sa page nyo., like ko mag aral nito kaso walang pang enroll hehhehehe
 
Re: [ TUTORIAL ] Understanding Basic C++ Programming (For Beginners Guide Only)

thanks dito ts., basa basa muna ako sa page nyo., like ko mag aral nito kaso walang pang enroll hehhehehe

sige lang sir welcome kayo dito. :salute:
ituturo ko po dito mga basic programming.
kung gusto ninyong mag-advance after nito, madami
ditong mga magagaling. try natin silang tawagin next time :salute:
 
Re: [ TUTORIAL ] Understanding Basic C++ Programming (For Beginners Guide Only)

DEVC++
DOWNLOAD DEVC++ HERE
Microsoft Visual Studio 2005/2008/2010
DOWNLOAD MICROSOFT VISUAL STUDIO HERE Credits to romeomarco09




anu po ba gagamitin dito? wla akong idea eh akala ko naman sa notepad lang pwede na eh ang laki ng file ng visual eh
 
Back
Top Bottom