eGospodarka.pl
eGospodarka.pl poleca

eGospodarka.plGrupypl.comp.programmingC is number one (znowu)Re: C is number one (znowu)
  • X-Received: by 2002:a37:4d97:: with SMTP id a145mr3522804qkb.380.1594720912991; Tue,
    14 Jul 2020 03:01:52 -0700 (PDT)
    X-Received: by 2002:a37:4d97:: with SMTP id a145mr3522804qkb.380.1594720912991; Tue,
    14 Jul 2020 03:01:52 -0700 (PDT)
    Path: news-archive.icm.edu.pl!news.icm.edu.pl!wsisiz.edu.pl!goblin3!goblin1!goblin.st
    u.neva.ru!news-out.google.com!nntp.google.com!postnews.google.com!google-groups
    .googlegroups.com!not-for-mail
    Newsgroups: pl.comp.programming
    Date: Tue, 14 Jul 2020 03:01:52 -0700 (PDT)
    In-Reply-To: <e...@g...com>
    Complaints-To: g...@g...com
    Injection-Info: google-groups.googlegroups.com; posting-host=213.192.68.153;
    posting-account=f7iIKQoAAAAkDKpUafc-4IXhmRAzdB5r
    NNTP-Posting-Host: 213.192.68.153
    References: <a...@g...com>
    <r9o6rb$lp5$1@news.icm.edu.pl>
    <1...@g...com>
    <rassv4$9ti$1@news.icm.edu.pl>
    <2...@g...com>
    <rdhlvh$udp$1@news.icm.edu.pl>
    <a...@g...com>
    <rdl4s1$abp$1@news.icm.edu.pl>
    <e...@g...com>
    <rduo26$ofp$1@news.icm.edu.pl>
    <c...@g...com>
    <re1unm$8vq$1@dont-email.me>
    <b...@g...com>
    <rec454$cbq$1@news.icm.edu.pl>
    <6...@g...com>
    <c...@g...com>
    <7...@g...com>
    <d...@g...com>
    <3...@g...com>
    <e...@g...com>
    User-Agent: G2/1.0
    MIME-Version: 1.0
    Message-ID: <1...@g...com>
    Subject: Re: C is number one (znowu)
    From: g...@g...com
    Injection-Date: Tue, 14 Jul 2020 10:01:53 +0000
    Content-Type: text/plain; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable
    Xref: news-archive.icm.edu.pl pl.comp.programming:215054
    [ ukryj nagłówki ]

    W dniu poniedziałek, 13 lipca 2020 20:49:14 UTC+2 użytkownik Maciej Sobczak napisał:

    > [...]
    >
    > A coś o smart pointerach tam jest?

    Wszystko tam jest. Wystarczy przeczytać.
    Na podlinkowanej przez Ciebie stronie wiki.

    Wskaźniki vs. referencje:

    "A pointer is a simple, more concrete implementation of the more abstract reference
    data type. Several languages, especially low-level languages, support some type of
    pointer, although some have more restrictions on their use than others. While
    "pointer" has been used to refer to references in general, it more properly applies
    to data structures whose interface explicitly allows the pointer to be manipulated
    (arithmetically via pointer arithmetic) as a memory address, as opposed to a magic
    cookie or capability which does not allow such"

    Wskaźniki vs. smart pointery:

    "Since C++11, the C++ standard library also provides smart pointers (unique_ptr,
    shared_ptr and weak_ptr) which can be used in some situations as a safer alternative
    to primitive C pointers"

    gdzie "smart pointers" przenosi nas do odrębnej strony na wiki, gdzie można
    przeczytać:

    "In computer science, a smart pointer is an abstract data type that simulates a
    pointer while providing added features, such as automatic memory management or bounds
    checking"

Podziel się

Poleć ten post znajomemu poleć

Wydrukuj ten post drukuj


Następne wpisy z tego wątku

Najnowsze wątki z tej grupy


Najnowsze wątki

Szukaj w grupach

Eksperci egospodarka.pl

1 1 1

Wpisz nazwę miasta, dla którego chcesz znaleźć jednostkę ZUS.

Wzory dokumentów

Bezpłatne wzory dokumentów i formularzy.
Wyszukaj i pobierz za darmo: