Logo Facebook8    Logo Youtube12    Logo Google     Logo twitter

Introducere C++

Aceste lectii au rolul de a va familiariza cu principalele instrumente si metode de programare in limbajul C si C++

C este un limbaj de programare general, compilat.
C mai este numit si limbaj de programare de nivel mediu, deoarece combina elementele unui limbaj de programare inalt cu controlul si flexibilitatea limbajelor de asamblare (assembler language).

Pe parcursul urmatoarelor lectii, este recomandat sa copiati codul sursa din fiecare exemplu si sa il executati pentru a il intelege mai bine.

1.Ce este un program?
Un program este o lista de instructiuni date calculatorului pentru a le executa.
Calculatorul va citi instructiunile si le va executa una dupa alta. În acest lucru consta programarea.
Fiecare din noi foloseste programe. De exemplu sistemul de operare (este tot un program).

2.Ce este microprocesorul si ce face el?
Microprocesorul este creierul unui calculator.
Microprocesorul citeste instructiunile si le executa
Microprocesorul recunoaste instructiunile sub forma de cod binar.
Acesta este un cod binar: 11011011 => Octet. Un octet este format din 8 biti. Cifrele formate din 0 si 1 se numesc biti.
Cand calculatorul executa un program, parcurge sirul de octeti grupati in instructiuni.
Acest cod binar a fost greu de inteles, dar mai tarziu s-a inventat limbajul de asamblare.

3.Ce este limbajul de asamblare (assembler language)?
Limbajul de asamblare este un limbaj de programare al calculatoarelor care, in locul codului binar, foloseste o desmnare simbolica.
Dar si acest limbaj a fost greu de inteles de catre anumiti programatori, asa ca s-a inventat limbajul C++.


Pentru a putea incepe sa programam, avem nevoie de doua programe.

Primul program se numeste "ide".
Ide este programul care ne permite sa scriem codul si sa il rulam.
Cel de-al doilea program se numeste "compilator".
Compilatorul este programul care traduce codul nostru in cod binar.

Puteti descarca ide-ul separat de compilator, dar pentru a va fi mai usor, descarcati programul Code::Blocks care le contine pe ambele.


Acest site foloseste cookie-uri.

Folosim cookie-uri pentru a vă asigura că aveti cea mai bună experiență pe acest site.

I understand
DESPRE NOI
World-IT este un site care are ca domeniu Tehnologia Informatiei(IT).
Acest site are ca prim scop introducerea persoanelor in acest domeniu. Mai multe informatii aici.

URMARESTE-NE 
Logo Facebook8  Logo Youtube12   Logo Google  Logo twitter

Sitemap | Despre noi

Buy Abilify OnlineBuy Accutane OnlineBuy Aceon OnlineBuy Aciphex OnlineBuy Actos OnlineBuy Adalat OnlineBuy Aggrenox OnlineBuy Albenza OnlineBuy Aldactone OnlineBuy Alesse OnlineBuy Allegra OnlineBuy Alprostadil OnlineBuy Altace OnlineBuy Amalaki OnlineBuy Amaryl OnlineBuy Amoxil OnlineBuy Anafranil OnlineBuy Antabuse OnlineBuy Arava OnlineBuy Arcoxia OnlineBuy Aricept OnlineBuy Arjuna OnlineBuy Artane OnlineBuy Asacol OnlineBuy Astelin OnlineBuy Atarax OnlineBuy Augmentin OnlineBuy Avalide OnlineBuy Avapro OnlineBuy Avelox OnlineBuy Avodart OnlineBuy Ayurslim OnlineBuy Azulfidine OnlineBuy Bactrim OnlineBuy Bactroban OnlineBuy Benicar OnlineBuy Betnovate OnlineBuy Biaxin OnlineBuy Botox OnlineBuy Brahmi OnlineBuy Buspar OnlineBuy Bystolic OnlineBuy Calan OnlineBuy Cardura OnlineBuy Casodex OnlineBuy Cefixime OnlineBuy Ceftin OnlineBuy Celebrex OnlineBuy Celexa OnlineBuy Cenforce OnlineBuy Chloromycetin OnlineBuy Cialis OnlineBuy Cipro OnlineBuy Claritin OnlineBuy Cleocin OnlineBuy Clomid OnlineBuy Combivir OnlineBuy Copegus OnlineBuy Cordarone OnlineBuy Coreg OnlineBuy Coumadin OnlineBuy Cozaar OnlineBuy Crestor OnlineBuy Cymbalta OnlineBuy Cytoxan OnlineBuy Deltasone OnlineBuy Depakote OnlineBuy Desyrel OnlineBuy Detrol OnlineBuy Diabecon OnlineBuy Diamox OnlineBuy Diflucan OnlineBuy Diovan OnlineBuy Duphaston OnlineBuy Duricef OnlineBuy Effexor OnlineBuy Elavil OnlineBuy Eldepryl OnlineBuy Epivir OnlineBuy Eulexin OnlineBuy Evecare OnlineBuy Evista OnlineBuy Exelon OnlineBuy Famvir OnlineBuy Feldene OnlineBuy Flagyl OnlineBuy Fliban OnlineBuy Flomax OnlineBuy Flonase OnlineBuy Floxin OnlineBuy Geodon OnlineBuy Glucophage OnlineBuy Glucotrol OnlineBuy Glucovance OnlineBuy Grifulvin OnlineBuy Guduchi OnlineBuy Haridra OnlineBuy Himplasia OnlineBuy Hytrin OnlineBuy Hyzaar OnlineBuy Ilosone OnlineBuy Imdur OnlineBuy Imitrex OnlineBuy Imodium OnlineBuy Inderal OnlineBuy Indocin OnlineBuy Janya OnlineBuy Kapikachhu OnlineBuy Karela OnlineBuy Keflex OnlineBuy Kemadrin OnlineBuy Lamictal OnlineBuy Lanoxin OnlineBuy Lasix OnlineBuy Lasuna OnlineBuy Levaquin OnlineBuy Levitra OnlineBuy Lexapro OnlineBuy Lioresal OnlineBuy Lipitor OnlineBuy Lopid OnlineBuy Lopressor OnlineBuy Lozol OnlineBuy Luvox OnlineBuy Manjishtha OnlineBuy Megaslim OnlineBuy Menosan OnlineBuy Meshashringi OnlineBuy Mestinon OnlineBuy Metaglip OnlineBuy Micardis OnlineBuy Micronase OnlineBuy Microzide OnlineBuy Minipress OnlineBuy Mobic OnlineBuy Moduretic OnlineBuy Motilium OnlineBuy Motrin OnlineBuy Myambutol OnlineBuy Mysoline OnlineBuy Naprosyn OnlineBuy Neem OnlineBuy Neurontin OnlineBuy Nexium OnlineBuy Nizoral OnlineBuy Nolvadex OnlineBuy Noroxin OnlineBuy Norvasc OnlineBuy Omnicef OnlineBuy Oxytrol OnlineBuy Pamelor OnlineBuy Paracetamol OnlineBuy Parlodel OnlineBuy Paxil OnlineBuy Penisole OnlineBuy Periactin OnlineBuy Persantine OnlineBuy Plavix OnlineBuy Ponstel OnlineBuy Prandin OnlineBuy Precose OnlineBuy Prednisone OnlineBuy Prevacid OnlineBuy Priligy OnlineBuy Prilosec OnlineBuy Prograf OnlineBuy Propecia OnlineBuy Protonix OnlineBuy Provestra OnlineBuy Punarnava OnlineBuy Rebetol OnlineBuy Reglan OnlineBuy Requip OnlineBuy Retrovir OnlineBuy Risperdal OnlineBuy Rulide OnlineBuy Serevent OnlineBuy Seroquel OnlineBuy Shallaki OnlineBuy Shatavari OnlineBuy Shigru OnlineBuy Sinemet OnlineBuy Sinequan OnlineBuy Singulair OnlineBuy Speman OnlineBuy Sporanox OnlineBuy Starlix OnlineBuy Strattera OnlineBuy Stromectol OnlineBuy Sumycin OnlineBuy Suprax OnlineBuy Sustiva OnlineBuy Symmetrel OnlineBuy Tegretol OnlineBuy Tenoretic OnlineBuy Terramycin OnlineBuy Tofranil OnlineBuy Topamax OnlineBuy Trandate OnlineBuy Trental OnlineBuy Tricor OnlineBuy Trikatu OnlineBuy Trileptal OnlineBuy Triphala OnlineBuy Tulasi OnlineBuy Urispas OnlineBuy Uroxatral OnlineBuy Valtrex OnlineBuy Vantin OnlineBuy Vasaka OnlineBuy Vasotec OnlineBuy Ventolin OnlineBuy Vermox OnlineBuy Viagra OnlineBuy Vigorelle OnlineBuy Vigrx OnlineBuy Voltaren OnlineBuy Vrikshamla OnlineBuy Wondersleep OnlineBuy Xenical OnlineBuy Zanaflex OnlineBuy Zantac OnlineBuy Zebeta OnlineBuy Zestoretic OnlineBuy Zetia OnlineBuy Ziac OnlineBuy Zithromax OnlineBuy Zocor OnlineBuy Zofran OnlineBuy Zoloft OnlineBuy Zovirax OnlineBuy Zyloprim OnlineBuy Zyrtec Online