<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[kleine anfängerfrage]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich arbeite jetzt schon ein wenig c++ und wollte mal ein paar kleine alltags programme schreiben.</p>
<p>allerdings fehlt mir eine sache die ich wissen muss.</p>
<p>zB ich möchte ein programmschreiben, welches firefox automatisch startet und eine url in suchleiste kopiert.</p>
<p>nach welchen stichwörtern muss ich suchen ?</p>
<p>memory reading ?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/291133/kleine-anfängerfrage</link><generator>RSS for Node</generator><lastBuildDate>Mon, 17 Aug 2026 21:25:27 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/291133.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 11 Aug 2011 09:44:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to kleine anfängerfrage on Thu, 11 Aug 2011 09:44:09 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich arbeite jetzt schon ein wenig c++ und wollte mal ein paar kleine alltags programme schreiben.</p>
<p>allerdings fehlt mir eine sache die ich wissen muss.</p>
<p>zB ich möchte ein programmschreiben, welches firefox automatisch startet und eine url in suchleiste kopiert.</p>
<p>nach welchen stichwörtern muss ich suchen ?</p>
<p>memory reading ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2104786</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2104786</guid><dc:creator><![CDATA[meeydoo]]></dc:creator><pubDate>Thu, 11 Aug 2011 09:44:09 GMT</pubDate></item><item><title><![CDATA[Reply to kleine anfängerfrage on Thu, 11 Aug 2011 10:17:46 GMT]]></title><description><![CDATA[<p>öhmm meinst du sowas ?</p>
<pre><code class="language-cpp">#include &lt;cstdlib&gt;

using namespace std;

int main(int argc, char** argv) {
    system(&quot;start firefox http://www.google.de/&quot;);
    return 0;
}
</code></pre>
<p>Ich kann dir leider nicht sagen ob das funktioniert da ich kein Firefox benutze.<br />
Das sollte Firefox mit einer Webseite starten. (in den fall google)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2104797</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2104797</guid><dc:creator><![CDATA[TomHalo]]></dc:creator><pubDate>Thu, 11 Aug 2011 10:17:46 GMT</pubDate></item><item><title><![CDATA[Reply to kleine anfängerfrage on Thu, 11 Aug 2011 10:22:03 GMT]]></title><description><![CDATA[<p>hey danke für deine antwort.<br />
es funktioniert leider nicht.<br />
aber es ist eine interressante funktion.</p>
<p><a href="http://www.cplusplus.com/reference/clibrary/cstdlib/system/" rel="nofollow">http://www.cplusplus.com/reference/clibrary/cstdlib/system/</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2104804</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2104804</guid><dc:creator><![CDATA[meeydoo]]></dc:creator><pubDate>Thu, 11 Aug 2011 10:22:03 GMT</pubDate></item><item><title><![CDATA[Reply to kleine anfängerfrage on Thu, 11 Aug 2011 10:35:08 GMT]]></title><description><![CDATA[<p>Hört sich für mich eher nach etwas für eine Batch-Datei an, die dann einfach so aussehen könnte:</p>
<pre><code>&quot;call &quot;C:\Programme\Mozilla Firefox\firefox.exe&quot; http://www.c-plusplus.net
</code></pre>
<p>Falls der Pfad zum Fuchs ein anderer ist, muss der natürlich angepasst werden.<br />
Mit memory reading hat das allerdings nichts zu tun. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2104810</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2104810</guid><dc:creator><![CDATA[Dobi]]></dc:creator><pubDate>Thu, 11 Aug 2011 10:35:08 GMT</pubDate></item><item><title><![CDATA[Reply to kleine anfängerfrage on Thu, 11 Aug 2011 10:46:13 GMT]]></title><description><![CDATA[<p>okay das ist interressant =).</p>
<p>schonmal danke <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p>gibt es aber vielleicht auch eine alternative in c++ dafür ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2104817</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2104817</guid><dc:creator><![CDATA[meeydoo]]></dc:creator><pubDate>Thu, 11 Aug 2011 10:46:13 GMT</pubDate></item><item><title><![CDATA[Reply to kleine anfängerfrage on Thu, 11 Aug 2011 10:52:09 GMT]]></title><description><![CDATA[<p>Ja, die gibts. TomHalo hat sie ja schon gezeigt.<br />
Also bei mir funktioniert folgendes wunderbar. Der Pfad zur Exe muss halt stimmen.</p>
<pre><code class="language-cpp">#include &lt;cstdlib&gt;
using namespace std;
int main(int argc, char** argv) {
    system(&quot;start \&quot;C:\\Programme\\Mozilla Firefox\\firefox.exe\&quot; http://www.google.de/&quot;);
    return 0;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2104822</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2104822</guid><dc:creator><![CDATA[Dobi]]></dc:creator><pubDate>Thu, 11 Aug 2011 10:52:09 GMT</pubDate></item><item><title><![CDATA[Reply to kleine anfängerfrage on Thu, 11 Aug 2011 11:30:13 GMT]]></title><description><![CDATA[<p>hey super vielen dank !</p>
<p>jetzt bräuchte ich nur noch eine if abfrage ist das mit dem befehl möglich ?</p>
<p>system(&quot;start \&quot;C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe\&quot; <a href="http://www.google.de/" rel="nofollow">http://www.google.de/</a>&quot;</p>
<p>kann ich eine if abfrage machen ob ich zB auf <a href="http://www.google.de/" rel="nofollow">http://www.google.de/</a> bin ?</p>
<p>ich meine ich könnte auch eine variable setzen und diese dann abfragen, aber mir wäre es lieber wenn ich es direkt rauslesen könnte.</p>
<pre><code class="language-cpp">bool check;
   if (system(&quot;start \&quot;C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe\&quot; http://www.google.de/&quot;))
   {
	   check = true;
   }
   else 
   {
	   check = false;
   }
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2104842</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2104842</guid><dc:creator><![CDATA[meeydoo]]></dc:creator><pubDate>Thu, 11 Aug 2011 11:30:13 GMT</pubDate></item><item><title><![CDATA[Reply to kleine anfängerfrage on Thu, 11 Aug 2011 11:47:37 GMT]]></title><description><![CDATA[<p>system gibt einen Integer zurück. Auf der Seite mit der Doku zu dem Befehl, zu der du den Link gepostet hattest, steht dazu was zu unter &quot;Return Value&quot;.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2104846</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2104846</guid><dc:creator><![CDATA[Dobi]]></dc:creator><pubDate>Thu, 11 Aug 2011 11:47:37 GMT</pubDate></item><item><title><![CDATA[Reply to kleine anfängerfrage on Thu, 11 Aug 2011 12:54:52 GMT]]></title><description><![CDATA[<p>ich glaube ich habe mir unglücklich ausgedrückt ^^.</p>
<p>ich weiß das system() einen systemspezifischen wert zurück gibt wenn es erfolgreich war. ich glaub in windows ist es 0</p>
<p>naja egal.</p>
<p>ich dachte mehr an eine abfrage , zB wenn ich firefox gestartet habe und ich bin zB auf <a href="http://www.google.de" rel="nofollow">www.google.de</a> dann soll das programm wissen ob ich wirklich auf google bin und wenn das nicht der fall ist soll ich auf <a href="http://google.de" rel="nofollow">google.de</a> weiter geleitet werden.</p>
<p>Oder zb wenn ich auf <a href="http://www.c-plusplus.net" rel="nofollow">http://www.c-plusplus.net</a> bin soll es mir automatisch auch andere c++ seiten in verschiedenen tabs öffnen.</p>
<p>das ist wahrscheinlich noch zu kompliziert für mich oder ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2104873</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2104873</guid><dc:creator><![CDATA[meeydoo]]></dc:creator><pubDate>Thu, 11 Aug 2011 12:54:52 GMT</pubDate></item><item><title><![CDATA[Reply to kleine anfängerfrage on Thu, 11 Aug 2011 13:05:53 GMT]]></title><description><![CDATA[<p>meeydoo schrieb:</p>
<blockquote>
<p>das ist wahrscheinlich noch zu kompliziert für mich oder ?</p>
</blockquote>
<p>Nicht nur das, ich würde fast sagen es ist unmöglich bzw sehr schwer.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2104879</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2104879</guid><dc:creator><![CDATA[314159265358979]]></dc:creator><pubDate>Thu, 11 Aug 2011 13:05:53 GMT</pubDate></item><item><title><![CDATA[Reply to kleine anfängerfrage on Thu, 11 Aug 2011 13:22:27 GMT]]></title><description><![CDATA[<p>ok ich glaube ich habe es gefunden<br />
ShellExecute()</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2104885</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2104885</guid><dc:creator><![CDATA[meeydoo]]></dc:creator><pubDate>Thu, 11 Aug 2011 13:22:27 GMT</pubDate></item><item><title><![CDATA[Reply to kleine anfängerfrage on Thu, 11 Aug 2011 15:35:01 GMT]]></title><description><![CDATA[<p>Also Shellexecute ist im prinzip komplexer...</p>
<pre><code class="language-cpp">#include &lt;windows.h&gt;

int main(){

ShellExecute(NULL, &quot;open&quot;, &quot;www.c-plusplus.net/forum/291133&quot;, NULL, NULL, SW_MAXIMIZE);

return 0;
}
</code></pre>
<p>Übrigens, das sieht eigentlich so aus:</p>
<pre><code class="language-cpp">bool check=false;

if (...)
    check = true;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2104952</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2104952</guid><dc:creator><![CDATA[aid4you]]></dc:creator><pubDate>Thu, 11 Aug 2011 15:35:01 GMT</pubDate></item><item><title><![CDATA[Reply to kleine anfängerfrage on Thu, 11 Aug 2011 15:52:59 GMT]]></title><description><![CDATA[<p>Wie wärs wenn du einfach Google als Startseite einstellst? Nichts gegen deine Person, aber scheinbar bist du jemand, der von der Programmierung gehört hat und sich nun denkt, dass das alles ein Ponyhof ist und es wohl jeder kann. Es ist nicht einfach, auf die Suchleiste von Firefox zu zugreifen, zu prüfen ob man sich auf Google befindet und jenachdem die Seite zu wechseln. Bzw. ist es für dich nicht einfach und du kannst nicht damit rechnen alles vorgekaut zu bekommen. Da musst du dich wahrscheinlich eher an den WinAPI Bereich des Forums wenden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2104955</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2104955</guid><dc:creator><![CDATA[freaky]]></dc:creator><pubDate>Thu, 11 Aug 2011 15:52:59 GMT</pubDate></item><item><title><![CDATA[Reply to kleine anfängerfrage on Thu, 11 Aug 2011 16:09:55 GMT]]></title><description><![CDATA[<p>FreakY&lt;3Cpp schrieb:</p>
<blockquote>
<p>Wie wärs wenn du einfach Google als Startseite einstellst? Nichts gegen deine Person, aber scheinbar bist du jemand, der von der Programmierung gehört hat und sich nun denkt, dass das alles ein Ponyhof ist und es wohl jeder kann. Es ist nicht einfach, auf die Suchleiste von Firefox zu zugreifen, zu prüfen ob man sich auf Google befindet und jenachdem die Seite zu wechseln. Bzw. ist es für dich nicht einfach und du kannst nicht damit rechnen alles vorgekaut zu bekommen. Da musst du dich wahrscheinlich eher an den WinAPI Bereich des Forums wenden.</p>
</blockquote>
<p>also ich hab schon alles was ich brauche danke <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title="=)"
      alt="🙂"
    /></p>
<p>ich hatte nur früher mit autoit gearbeitet und damit war es sehr simple. nur c++ lernen ohne selber programme zu schreiben ist irgentwie sehr öde.</p>
<p>naja ich hab meine programme jetzt danke für die hilfe <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/2764.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--red_heart"
      title="&lt;3"
      alt="❤"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2104962</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2104962</guid><dc:creator><![CDATA[meeydoo]]></dc:creator><pubDate>Thu, 11 Aug 2011 16:09:55 GMT</pubDate></item></channel></rss>