+ Reply to Thread
Results 1 to 5 of 5
  1. [C++]Algoritmi vectori

    #1
    Moderator:
    Programare
    ~Wolf~'s Avatar
    Member since
    Jan 2017
    Location
    Dark abyss
    Posts
    3,101
    Last username
    GaBiTzU M@riju@n@ |Wolf| WarGods | Wolf
    Mentioned
    39 Post(s)
    Achievements Visitor Messages Given 1 Days Registered 3 Mentions Received 1 Mentions Given 2 Mentions Given 1 Visitor Messages Received 2 Visitor Messages Received 1 Total Posts 3
    Doneaza
    Sustine Comunitatea WarGods!
    Fii unul de-al nostru! Doneaza
    Doneaza in Cont Bancar
    Click aici pentru a face o Donatie

    [C++]Algoritmi vectori

    Algoritmi cu vectori


    NOTA!
    -voi posta la fel ca in topicul "Algoritmi cu cifre"

    Citirea si afisarea unui vector
    C++ Code:
    You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!


    **NOTA!
    -cand declarati un vector global toate elementele sale vor avea valoarea initiala 0



    O alta metoda de declarare a vectorului pe care eu o prefer este urmatoarea:
    C++ Code:
    You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!


    Am declarat astfel cu scopul de a salva cat mai multa memorie, fiindca atunci cand se declara un vector de 10 elemente dar tu folosesti doar 5, celelalte 5 raman tot acolo in memorie.Cu metoda de mai sus declar un vector de atatea elemente cate am nevoie si de cate voi folosi.

    Suma elementelor unui vector
    C++ Code:
    You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!
    Last edited by ~Wolf~; 17-09-2020 at 12:42 PM.
    Tutoriale C++: CLICK AICI

  2. [C++]Algoritmi vectori

    #2
    VIP ~TraNda~'s Avatar
    Member since
    Feb 2014
    Location
    WarGods
    Posts
    12,109
    Last username
    LiOn. ~JoK3r ~
    Blog Entries
    4
    Mentioned
    95 Post(s)
    Achievements Days Registered 4 Mentions Received 2 Mentions Received 1 Mentions Given 4 Mentions Given 3 Mentions Given 2 Mentions Given 1 Threads Rating Received 1
    Doneaza
    Sustine Comunitatea WarGods!
    Fii unul de-al nostru! Doneaza
    Doneaza in Cont Bancar
    Click aici pentru a face o Donatie

    Cum afisezi invers in vector:

    C++ Code:
    You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!



    Algoritm pentru a afla elementele de pe pozitii pare, respectiv impare

    C++ Code:
    You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!


    C++ Code:
    You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!



    Algoritm de calcul a numerelor negative, respectiv pozitive, dintr-un vector

    C++ Code:
    You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!
    Last edited by ~TraNda~; 05-03-2020 at 03:14 PM.
    -------------

    TraNda - WarGods | R.R.M - AngeL - LiOn. - pichacku - Jok3r - UnicA

    P A C E

    DISCORD: unknown.cfg

    Like ~Wolf~ a dat Like acetui post

  3. [C++]Algoritmi vectori

    #3
    Moderator:
    Programare
    ~Wolf~'s Avatar
    Member since
    Jan 2017
    Location
    Dark abyss
    Posts
    3,101
    Last username
    GaBiTzU M@riju@n@ |Wolf| WarGods | Wolf
    Mentioned
    39 Post(s)
    Achievements Visitor Messages Given 1 Days Registered 3 Mentions Received 1 Mentions Given 2 Mentions Given 1 Visitor Messages Received 2 Visitor Messages Received 1 Total Posts 3
    Doneaza
    Sustine Comunitatea WarGods!
    Fii unul de-al nostru! Doneaza
    Doneaza in Cont Bancar
    Click aici pentru a face o Donatie

    Minimul si maximul unui vector
    C++ Code:
    You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!



    Algoritm pentru afisarea indicelui valorii minime si valorii maxime a unui vector
    C++ Code:
    You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!


    Afisarea elementelor dintre valoarea minima si valoarea maxima a unui vector, inclusiv ele
    C++ Code:
    You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!
    Last edited by ~Wolf~; 26-10-2020 at 09:15 AM.
    Tutoriale C++: CLICK AICI

  4. [C++]Algoritmi vectori

    #4
    Moderator:
    Programare
    ~Wolf~'s Avatar
    Member since
    Jan 2017
    Location
    Dark abyss
    Posts
    3,101
    Last username
    GaBiTzU M@riju@n@ |Wolf| WarGods | Wolf
    Mentioned
    39 Post(s)
    Achievements Visitor Messages Given 1 Days Registered 3 Mentions Received 1 Mentions Given 2 Mentions Given 1 Visitor Messages Received 2 Visitor Messages Received 1 Total Posts 3
    Doneaza
    Sustine Comunitatea WarGods!
    Fii unul de-al nostru! Doneaza
    Doneaza in Cont Bancar
    Click aici pentru a face o Donatie

    Algoritm pentru suma elementelor dintre primul element par si ultimul element par al unui vector
    C++ Code:
    You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!


    Media artimetica a n elemente dintr-un vector
    C++ Code:
    You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!


    Algoritm de numarare a perechilor de numere prime intre ele dintr-un vector
    C++ Code:
    You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!
    Last edited by ~Wolf~; 09-03-2020 at 05:20 PM.
    Tutoriale C++: CLICK AICI

  5. [C++]Algoritmi vectori

    #5
    Moderator:
    Programare
    ~Wolf~'s Avatar
    Member since
    Jan 2017
    Location
    Dark abyss
    Posts
    3,101
    Last username
    GaBiTzU M@riju@n@ |Wolf| WarGods | Wolf
    Mentioned
    39 Post(s)
    Achievements Visitor Messages Given 1 Days Registered 3 Mentions Received 1 Mentions Given 2 Mentions Given 1 Visitor Messages Received 2 Visitor Messages Received 1 Total Posts 3
    Doneaza
    Sustine Comunitatea WarGods!
    Fii unul de-al nostru! Doneaza
    Doneaza in Cont Bancar
    Click aici pentru a face o Donatie

    Suma primelor n elemente, apoi primelor n-1 elemente, s.a.md dintr-un vector
    C++ Code:
    You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!
    Tutoriale C++: CLICK AICI

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Partners
Humble Monthly Bundle
Voucher PC-Garage