<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pl-pl">
<link rel="self" type="application/atom+xml" href="https://forum.atnel.pl/feed.php?f=50&amp;t=12955&amp;mode" />

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2015-09-16T08:46:18+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=50&amp;t=12955&amp;mode</id>
<entry>
<author><name><![CDATA[daro2020]]></name></author>
<updated>2015-09-16T08:46:18+01:00</updated>
<published>2015-09-16T08:46:18+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=12955&amp;p=139943#p139943</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=12955&amp;p=139943#p139943"/>
<title type="html"><![CDATA[Re: klasa string]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=12955&amp;p=139943#p139943"><![CDATA[
Powiedzmy, że rozwiązałem częściowo problem używając zapisu tablicowego (i = numer znaku w stringu)<br />[syntax=cpp]cout &lt;&lt; tekst&#91;0&#93;&#91;i&#93;;[/syntax]<br />ale wiem też, że można zamiennie stosować zapis wskaźnikowy i na tym się zaklinowałem. Wie ktoś jak ów twór będzie wyglądał przy użyciu wskaźników?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1608">daro2020</a> — 16 wrz 2015, o 08:46</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[PROTON]]></name></author>
<updated>2015-09-15T22:52:33+01:00</updated>
<published>2015-09-15T22:52:33+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=12955&amp;p=139934#p139934</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=12955&amp;p=139934#p139934"/>
<title type="html"><![CDATA[Re: klasa string]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=12955&amp;p=139934#p139934"><![CDATA[
Pełny opis string<br /><!-- m --><a class="postlink" href="http://www.cplusplus.com/reference/string/string/" >http://www.cplusplus.com/reference/string/string/</a><!-- m --><br />Są tam opisane dwie metody:<br /><!-- m --><a class="postlink" href="http://www.cplusplus.com/reference/string/string/operator%5B%5D/" >http://www.cplusplus.com/reference/stri ... tor%5B%5D/</a><!-- m --><br /><br /><!-- m --><a class="postlink" href="http://www.cplusplus.com/reference/string/string/at/" >http://www.cplusplus.com/reference/string/string/at/</a><!-- m --><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1315">PROTON</a> — 15 wrz 2015, o 22:52</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[daro2020]]></name></author>
<updated>2015-09-15T17:32:29+01:00</updated>
<published>2015-09-15T17:32:29+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=12955&amp;p=139897#p139897</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=12955&amp;p=139897#p139897"/>
<title type="html"><![CDATA[klasa string]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=12955&amp;p=139897#p139897"><![CDATA[
Pytanie początkującego.<br />Otóż - tworzę nowy obiekt klasy string (a właściwue wskaźnik):<br />[syntax=cpp]string *tekst = new string;[/syntax]<br />Inicjalizuje obiekt:<br />[syntax=cpp]*tekst = &quot;Taki sobie tekst&quot;;[/syntax]<br />i wyrzucam na konsolę:<br />[syntax=cpp]cout &lt;&lt; *tekst;[/syntax]<br />Moje pytanie dotyczy tego jak uzyskać dostęp do obiektu string na poziomie pojedynczego znaku, tzn jak wyłuskać np 3 literę z powyższego stringa?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1608">daro2020</a> — 15 wrz 2015, o 17:32</p><hr />
]]></content>
</entry>
</feed>