<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Μαθαίνοντας C++...</title>
	<atom:link href="http://learningcplus.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://learningcplus.wordpress.com</link>
	<description>Τα πρώτα βήματα στον προγραμματισμό</description>
	<lastBuildDate>Mon, 11 May 2009 14:20:09 +0000</lastBuildDate>
	<language>el</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='learningcplus.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Μαθαίνοντας C++...</title>
		<link>http://learningcplus.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://learningcplus.wordpress.com/osd.xml" title="Μαθαίνοντας C++..." />
	<atom:link rel='hub' href='http://learningcplus.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Δομή επανάληψης for</title>
		<link>http://learningcplus.wordpress.com/2009/05/11/%ce%b4%ce%bf%ce%bc%ce%ae-%ce%b5%cf%80%ce%b1%ce%bd%ce%ac%ce%bb%ce%b7%cf%88%ce%b7%cf%82-for/</link>
		<comments>http://learningcplus.wordpress.com/2009/05/11/%ce%b4%ce%bf%ce%bc%ce%ae-%ce%b5%cf%80%ce%b1%ce%bd%ce%ac%ce%bb%ce%b7%cf%88%ce%b7%cf%82-for/#comments</comments>
		<pubDate>Mon, 11 May 2009 14:20:09 +0000</pubDate>
		<dc:creator>maidenas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://learningcplus.wordpress.com/?p=47</guid>
		<description><![CDATA[Συχνά χρειαζόμαστε να εκτελεστεί εάν block εντολών πολλές φορές. Αντί να γράφουμε την ίδια εντολή πολλές φορές, μπορούμε να την γράψουμε μόνο μία φορά μέσα σε μια δομή επανάληψης for. H  συντάσσεται κατά τον ακόλουθο τρόπο: for(i=0;i&#60;x;i++) { } Αναλυτικότερα for(i=0;i&#60;x;i++)       &#60;&#60; ι =0 δίνουμε μια τιμή στην μεταβλητή i . i&#60;x : για χ [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningcplus.wordpress.com&amp;blog=7693093&amp;post=47&amp;subd=learningcplus&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Συχνά χρειαζόμαστε να εκτελεστεί εάν block εντολών πολλές φορές. Αντί να γράφουμε την ίδια εντολή πολλές φορές, μπορούμε να την γράψουμε μόνο μία φορά μέσα σε μια <strong>δομή επανάληψης for.</strong> H  συντάσσεται κατά τον ακόλουθο τρόπο:</p>
<blockquote><p>for(i=0;i&lt;x;i++)<br />
{ }</p></blockquote>
<p><strong>Αναλυτικότερα</strong></p>
<blockquote><p>for(i=0;i&lt;x;i++)       &lt;&lt; ι =0 δίνουμε μια τιμή στην μεταβλητή i . i&lt;x : για χ φορές εκτέλεσε το παρακάτω μπλοκ εντολών. i++ κάθε φορά αύξανε την τιμή του i κατά 1<br />
{ }                  &lt;&lt;Εδώ γράφουμε το μπλοκ εντολών που θέλουμε να εκτελεστεί</p></blockquote>
<p>Για καλύτερη κατανόηση, κατέβασε το παρακάτω αρχείο</p>
<p><a href="http://www.mediafire.com/?2yzfhwqklyd" target="_blank"><strong>Κατέβασε αρχείο</strong></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/learningcplus.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/learningcplus.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/learningcplus.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/learningcplus.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/learningcplus.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/learningcplus.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/learningcplus.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/learningcplus.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/learningcplus.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/learningcplus.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/learningcplus.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/learningcplus.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/learningcplus.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/learningcplus.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningcplus.wordpress.com&amp;blog=7693093&amp;post=47&amp;subd=learningcplus&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://learningcplus.wordpress.com/2009/05/11/%ce%b4%ce%bf%ce%bc%ce%ae-%ce%b5%cf%80%ce%b1%ce%bd%ce%ac%ce%bb%ce%b7%cf%88%ce%b7%cf%82-for/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/76cfea31ae6e5d2280754992af1f5172?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">maidenas</media:title>
		</media:content>
	</item>
		<item>
		<title>Functions</title>
		<link>http://learningcplus.wordpress.com/2009/05/10/functions/</link>
		<comments>http://learningcplus.wordpress.com/2009/05/10/functions/#comments</comments>
		<pubDate>Sun, 10 May 2009 16:48:04 +0000</pubDate>
		<dc:creator>maidenas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://learningcplus.wordpress.com/?p=37</guid>
		<description><![CDATA[Στο πρώτο πρόγραμμα εξηγώ με ένα πολύ απλό παράδειγμα τι δουλεία κάνουν οι συναρτήσεις. Οι συναρτήσεις είναι κομμάτια προγράμματος που τα ανεξαρτητοποιείς από το κύριο πρόγραμμα για κάποιους λόγους. 1)Για να μπορείς να τα επαναχρησιμοποιήσεις 2)Για να αποφορτίζεις το κύριο σου πρόγραμμα 3) Για να είναι πιο ευανάγνωστος ο κώδικας Ένα πρώτο θέμα είναι τι [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningcplus.wordpress.com&amp;blog=7693093&amp;post=37&amp;subd=learningcplus&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Στο πρώτο πρόγραμμα εξηγώ με ένα πολύ απλό παράδειγμα τι δουλεία κάνουν οι συναρτήσεις. Οι συναρτήσεις είναι κομμάτια προγράμματος που τα ανεξαρτητοποιείς από το κύριο πρόγραμμα για κάποιους λόγους.<br />
1)Για να μπορείς να τα επαναχρησιμοποιήσεις<br />
2)Για να αποφορτίζεις το κύριο σου πρόγραμμα<br />
3) Για να είναι πιο ευανάγνωστος ο κώδικας<br />
Ένα πρώτο θέμα είναι τι εκτελείται κάθε φορά.</p>
<p>Στο δεύτερο πρόγραμμα μπορεί κάποιος εύκολα να καταλάβει τι δουλειά κάνουν οι βιβλιοθήκες ή τα αρχεία επικεφαλίδας που συμπεριλαμβάνουμε κάθε φορά. Η συνάρτηση abs() υπάρχει στην cstlib όπως και πάρα πολλές άλλες συναρτήσεις που μπορείς να τις βρείς εδω:<br />
<a href="http://www.cplusplus.com/reference/clibrary/cstdlib/" target="_blank">http://www.cplusplus.com/reference/clibrary/cstdlib/</a><br />
το <a href="http://www.cplusplus.com/" target="_blank">http://www.cplusplus.com/</a> είναι μια πολύ καλή online αναφορά για την C++.</p>
<p>Άρα με το include&lt;cstlid&gt; συμπεριλαμβάνουμε μια βιβλιοθήκη που περιέχει την abs().</p>
<p><strong><a href="http://www.mediafire.com/?hmwjqmjjdnn" target="_self">Κατέβασε το πρώτο αρχείο</a><br />
<a href="http://www.mediafire.com/?cyz5idxtnxi" target="_self">Κατέβασε το δεύτερο αρχείο</a></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/learningcplus.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/learningcplus.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/learningcplus.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/learningcplus.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/learningcplus.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/learningcplus.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/learningcplus.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/learningcplus.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/learningcplus.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/learningcplus.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/learningcplus.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/learningcplus.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/learningcplus.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/learningcplus.wordpress.com/37/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningcplus.wordpress.com&amp;blog=7693093&amp;post=37&amp;subd=learningcplus&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://learningcplus.wordpress.com/2009/05/10/functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/76cfea31ae6e5d2280754992af1f5172?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">maidenas</media:title>
		</media:content>
	</item>
		<item>
		<title>Άσκηση: Πυθαγόρειο Θεώρημα</title>
		<link>http://learningcplus.wordpress.com/2009/05/10/%ce%ac%cf%83%ce%ba%ce%b7%cf%83%ce%b7-%cf%80%cf%85%ce%b8%ce%b1%ce%b3%cf%8c%cf%81%ce%b5%ce%b9%ce%bf-%ce%b8%ce%b5%cf%8e%cf%81%ce%b7%ce%bc%ce%b1/</link>
		<comments>http://learningcplus.wordpress.com/2009/05/10/%ce%ac%cf%83%ce%ba%ce%b7%cf%83%ce%b7-%cf%80%cf%85%ce%b8%ce%b1%ce%b3%cf%8c%cf%81%ce%b5%ce%b9%ce%bf-%ce%b8%ce%b5%cf%8e%cf%81%ce%b7%ce%bc%ce%b1/#comments</comments>
		<pubDate>Sun, 10 May 2009 16:23:31 +0000</pubDate>
		<dc:creator>maidenas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://learningcplus.wordpress.com/?p=33</guid>
		<description><![CDATA[Να φτιάξεις ένα πρόγραμμα που χρησιμοποιώντας το Πυθαγόρειο Θεώρημα θα: υπολογίζει την υποτείνουσα (παίρνοντας απ&#8217;τον χρήστη τις τιμές των δύο κάθετων πλευρών) υπολογίζει μια καθετη πλευρα (παίρνοντας απ&#8217;τον χρήστη τις τιμές της υποτείνουσας και της μίας κάθετης πλευράς) ελέγχει εάν το τρίγωνο είναι ορθογώνιο (Αντιστροφο Πυθαγορείου) Σημείωση: Ο υπολογισμός της τετραγωνικής ρίζας γίνεται δίνοντας την [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningcplus.wordpress.com&amp;blog=7693093&amp;post=33&amp;subd=learningcplus&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Να φτιάξεις ένα πρόγραμμα που χρησιμοποιώντας το Πυθαγόρειο Θεώρημα θα:</p>
<ol>
<li>υπολογίζει την υποτείνουσα (παίρνοντας απ&#8217;τον χρήστη τις τιμές των δύο κάθετων πλευρών)</li>
<li>υπολογίζει μια καθετη πλευρα (παίρνοντας απ&#8217;τον χρήστη τις τιμές της υποτείνουσας και της μίας κάθετης πλευράς)</li>
<li>ελέγχει εάν το τρίγωνο είναι ορθογώνιο (Αντιστροφο Πυθαγορείου)</li>
</ol>
<p>Σημείωση: Ο υπολογισμός της τετραγωνικής ρίζας γίνεται δίνοντας την εντολή sqrt(x) όπου χ ο αριθμός.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/learningcplus.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/learningcplus.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/learningcplus.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/learningcplus.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/learningcplus.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/learningcplus.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/learningcplus.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/learningcplus.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/learningcplus.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/learningcplus.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/learningcplus.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/learningcplus.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/learningcplus.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/learningcplus.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningcplus.wordpress.com&amp;blog=7693093&amp;post=33&amp;subd=learningcplus&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://learningcplus.wordpress.com/2009/05/10/%ce%ac%cf%83%ce%ba%ce%b7%cf%83%ce%b7-%cf%80%cf%85%ce%b8%ce%b1%ce%b3%cf%8c%cf%81%ce%b5%ce%b9%ce%bf-%ce%b8%ce%b5%cf%8e%cf%81%ce%b7%ce%bc%ce%b1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/76cfea31ae6e5d2280754992af1f5172?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">maidenas</media:title>
		</media:content>
	</item>
		<item>
		<title>Πρώτο πρόγραμμα: Απλή αριθμομηχανή</title>
		<link>http://learningcplus.wordpress.com/2009/05/10/%ce%b1%cf%80%ce%bb%ce%ae-%ce%b1%cf%81%ce%b9%ce%b8%ce%bc%ce%bf%ce%bc%ce%b7%cf%87%ce%b1%ce%bd%ce%ae/</link>
		<comments>http://learningcplus.wordpress.com/2009/05/10/%ce%b1%cf%80%ce%bb%ce%ae-%ce%b1%cf%81%ce%b9%ce%b8%ce%bc%ce%bf%ce%bc%ce%b7%cf%87%ce%b1%ce%bd%ce%ae/#comments</comments>
		<pubDate>Sun, 10 May 2009 15:53:30 +0000</pubDate>
		<dc:creator>maidenas</dc:creator>
				<category><![CDATA[Ασκήσεις]]></category>

		<guid isPermaLink="false">http://learningcplus.wordpress.com/?p=25</guid>
		<description><![CDATA[Απλή αριθμομηχανή: Κατέβασε τον κώδικα από εδώ Για να τρέξεις το πρόγραμμα, άνοιξε τον κώδικα με το DevC++ και πάτησε το F9! Το πρόγραμμα θα εκτελεστεί αμέσως! Να διαβάσεις καλά τον κώδικα! Για οποιαδήποτε απορία, γράψε comment στο τέλος αυτού του post! Σημείωση: Το πρόγραμμα εκτελείται σε CMD (Command Prompt) καθώς δεν έχει γραφτεί να [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningcplus.wordpress.com&amp;blog=7693093&amp;post=25&amp;subd=learningcplus&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Απλή αριθμομηχανή:</strong></p>
<p>Κατέβασε τον κώδικα από <a href="http://www.mediafire.com/?vhqdhmmwdmd" target="_blank">εδώ</a></p>
<p>Για να τρέξεις το πρόγραμμα, άνοιξε τον κώδικα με το DevC++ και πάτησε το F9! Το πρόγραμμα θα εκτελεστεί αμέσως! Να διαβάσεις καλά τον κώδικα! Για οποιαδήποτε απορία, γράψε comment στο τέλος αυτού του post!</p>
<p>Σημείωση: Το πρόγραμμα εκτελείται σε CMD (Command Prompt) καθώς δεν έχει γραφτεί να περιέχει γραφικό περιβάλλον (GUI)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/learningcplus.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/learningcplus.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/learningcplus.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/learningcplus.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/learningcplus.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/learningcplus.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/learningcplus.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/learningcplus.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/learningcplus.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/learningcplus.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/learningcplus.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/learningcplus.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/learningcplus.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/learningcplus.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningcplus.wordpress.com&amp;blog=7693093&amp;post=25&amp;subd=learningcplus&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://learningcplus.wordpress.com/2009/05/10/%ce%b1%cf%80%ce%bb%ce%ae-%ce%b1%cf%81%ce%b9%ce%b8%ce%bc%ce%bf%ce%bc%ce%b7%cf%87%ce%b1%ce%bd%ce%ae/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/76cfea31ae6e5d2280754992af1f5172?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">maidenas</media:title>
		</media:content>
	</item>
		<item>
		<title>Συγκριτικοί Τελεστές και Boolean Operators</title>
		<link>http://learningcplus.wordpress.com/2009/05/10/%cf%83%cf%85%ce%b3%ce%ba%cf%81%ce%b9%cf%84%ce%b9%ce%ba%ce%bf%ce%af-%cf%84%ce%b5%ce%bb%ce%b5%cf%83%cf%84%ce%ad%cf%82-%ce%ba%ce%b1%ce%b9-boolean-operators/</link>
		<comments>http://learningcplus.wordpress.com/2009/05/10/%cf%83%cf%85%ce%b3%ce%ba%cf%81%ce%b9%cf%84%ce%b9%ce%ba%ce%bf%ce%af-%cf%84%ce%b5%ce%bb%ce%b5%cf%83%cf%84%ce%ad%cf%82-%ce%ba%ce%b1%ce%b9-boolean-operators/#comments</comments>
		<pubDate>Sun, 10 May 2009 15:32:26 +0000</pubDate>
		<dc:creator>maidenas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://learningcplus.wordpress.com/?p=21</guid>
		<description><![CDATA[Τι είναι τελεστής(operator);Είναι ένα ειδικό σύμβολο που χρησιμοποιούμε για να δηλώσουμε μια επεξεργασία. Στην C++ υπάρχει ένα σύνολο τελεστών που χρησιμοποιείται θα ξεκινήσουμε από τους βασικούς τελεστες και θα εμπλουτίζουμε σιγά-σιγά αυτό το σύνολο. Καταρχήν οι αριθμητικοί τελεστές: +  Πρόσθεση -   Αφαίρεση /   Διαίρεση *   Πολλαπλασιασμός % Ευκλείδειας Διαίρεσης Αλλά και άλλοι τελεστές όπως: &#60;&#60;   [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningcplus.wordpress.com&amp;blog=7693093&amp;post=21&amp;subd=learningcplus&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="color:#000000;"><strong>Τι είναι τελεστής(operator);</strong><br style="color:#33cc00;" />Είναι ένα ειδικό σύμβολο που χρησιμοποιούμε για να δηλώσουμε μια επεξεργασία. Στην C++ υπάρχει ένα σύνολο τελεστών που χρησιμοποιείται θα ξεκινήσουμε από τους βασικούς τελεστες και θα εμπλουτίζουμε σιγά-σιγά αυτό το σύνολο.</span><br />
<span style="background-color:#ffffff;">Καταρχήν οι αριθμητικοί τελεστές:</span><br />
+  Πρόσθεση<br />
-   Αφαίρεση<br />
/   Διαίρεση<br />
*   Πολλαπλασιασμός<br />
% Ευκλείδειας Διαίρεσης<br />
<strong>Αλλά και άλλοι τελεστές όπως:</strong><br />
&lt;&lt;   Τελεστής εξόδου (input operator)<br />
&gt;&gt;   Τελεστής εισόδου (output operator)</p>
<p><strong>Συγκριτικοί Τελεστές</strong><br />
==  Ίσον<br />
!=    Διάφορο<br />
&lt;     Μικρότερο<br />
&gt;     Μεγαλύτερο<br />
&gt;=   Μεγαλύτερο ίσο<br />
&lt;=    Μικρότερο ίσο<br />
Οι συνθήκες που <span class="il">φτιάχνει</span>ς έχουν δυο πιθανά αποτελέσματα true ή false.</p>
<p>Με αυτούς μπορείς να <span class="il">φτιάχνει</span>ς συνθήκες έτσι στην If &#8230;. else</p>
<p><span style="background-color:#ffffff;color:#ff0000;">=     Τελεστής Ανάθεσης- Εκχώρησης τιμής (assignment operator)</span><br />
<span style="color:#ff0000;">Ο τελευταίος τελεστής έχει τεράστια σημασία και δεν έχει καμία απολύτως σχέση με ισότητα!!!. Ο τελεστής αυτός παίρνει το περιεχόμενο που υπάρχει δεξιά του και το αναθέτει σε ότι υπάρχει αριστερά του. ΔΕΝ ΦΤΙΑΧΝΕΙ ΣΕ ΚΑΜΙΑ ΠΕΡΙΠΤΩΣΗ ΣΥΝΘΗΚΕΣ!<br />
</span></p>
<p>Επίσης</p>
<blockquote><p>if (a&gt;b)<br />
cout &lt;&lt; a;<br />
else<br />
cout &lt;&lt;b;</p></blockquote>
<p><span style="color:#ff0000;">Λογικοί τελεστές <span class="il">Boolean</span> operators</span><br />
<span style="color:#ff0000;">&amp;&amp;   AND</span><br style="color:#ff0000;" /> <span style="color:#ff0000;">||      OR</span><br style="color:#ff0000;" /><span style="color:#ff0000;">!       NOT</span><br />
<span style="color:#000000;">Αυτοί οι τελεστές χρησιμοποιούνται εάν θέλουμε μία συνθήκη να ισχύει για έναν ή περισσότερους λόγους. Για παράδειγμα εάν θέλουμε να εκτελείται μία εντολή εάν το bmi είναι πάνω από 19 και συγχρόνως κάτω από το 25, γράφουμε αυτό:</span></p>
<blockquote><p><span style="color:#000000;">if (bmi&gt;19&amp;&amp;bmi&lt;25)</span></p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/learningcplus.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/learningcplus.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/learningcplus.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/learningcplus.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/learningcplus.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/learningcplus.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/learningcplus.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/learningcplus.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/learningcplus.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/learningcplus.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/learningcplus.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/learningcplus.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/learningcplus.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/learningcplus.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningcplus.wordpress.com&amp;blog=7693093&amp;post=21&amp;subd=learningcplus&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://learningcplus.wordpress.com/2009/05/10/%cf%83%cf%85%ce%b3%ce%ba%cf%81%ce%b9%cf%84%ce%b9%ce%ba%ce%bf%ce%af-%cf%84%ce%b5%ce%bb%ce%b5%cf%83%cf%84%ce%ad%cf%82-%ce%ba%ce%b1%ce%b9-boolean-operators/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/76cfea31ae6e5d2280754992af1f5172?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">maidenas</media:title>
		</media:content>
	</item>
		<item>
		<title>Η συνθήκη if()</title>
		<link>http://learningcplus.wordpress.com/2009/05/10/%ce%b7-%cf%83%cf%85%ce%bd%ce%b8%ce%ae%ce%ba%ce%b7-if/</link>
		<comments>http://learningcplus.wordpress.com/2009/05/10/%ce%b7-%cf%83%cf%85%ce%bd%ce%b8%ce%ae%ce%ba%ce%b7-if/#comments</comments>
		<pubDate>Sun, 10 May 2009 15:26:36 +0000</pubDate>
		<dc:creator>maidenas</dc:creator>
				<category><![CDATA[Εισαγωγή]]></category>

		<guid isPermaLink="false">http://learningcplus.wordpress.com/?p=17</guid>
		<description><![CDATA[Πολλές φορές θέλουμε ένα μπλοκ εντολών να εκτελεστεί μόνο εάν ισχύει κάποια σχέση. Γι&#8217;αυτό τον λόγο χρησιμοποιούμε την συνθήκη if. Ο τρόπος χρήσης της είναι πολύ απλός: Στο παρακάτω παράδειγμα η εντολ cout &#60;&#60; &#8220;Your answer is correct&#8221; θα εκτελεστεί μόνο εάν η τιμή της μεταβλητής choice ισούται με 1: if (choice==1) cout &#60;&#60; &#8220;Your [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningcplus.wordpress.com&amp;blog=7693093&amp;post=17&amp;subd=learningcplus&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Πολλές φορές θέλουμε ένα μπλοκ εντολών να εκτελεστεί <strong>μόνο εάν ισχύει κάποια σχέση</strong>. Γι&#8217;αυτό τον λόγο χρησιμοποιούμε την συνθήκη <strong>if</strong>. Ο τρόπος χρήσης της είναι πολύ απλός:</p>
<p>Στο παρακάτω παράδειγμα η εντολ cout &lt;&lt; &#8220;Your answer is correct&#8221; θα εκτελεστεί μόνο εάν η τιμή της <strong>μεταβλητής choice</strong> <strong>ισούται με 1</strong>:</p>
<blockquote><p>if (choice==1)<br />
cout &lt;&lt; &#8220;Your answer is correct&#8221;;</p></blockquote>
<p>Επίσης, υπάρχει η If&#8230;else, που δηλώνει τι να γίνει εάν η αρχική σχέση είναι λανθασμένη</p>
<blockquote><p>if (choice==1)<br />
cout &lt;&lt; &#8220;Your answer is correct&#8221;;<br />
else if (choice==2)<br />
cout &lt;&lt; &#8220;Your answer is wrong&#8221;;</p></blockquote>
<p>Τέλος, μπορεί να δηλωθεί μία σκέτη else:</p>
<blockquote><p>
if (choice==1)<br />
cout &lt;&lt; &#8220;Your answer is correct&#8221;;<br />
else<br />
cout &lt;&lt; &#8220;Your answer is wrong&#8221;;</p></blockquote>
<p>Έτσι δηλώνεται ότι για οποιαδήποτε τιμή εκτός της choice==1, θα εκτελεστεί το cout &lt;&lt; &#8220;Your answer is wrong&#8221;;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/learningcplus.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/learningcplus.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/learningcplus.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/learningcplus.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/learningcplus.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/learningcplus.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/learningcplus.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/learningcplus.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/learningcplus.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/learningcplus.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/learningcplus.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/learningcplus.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/learningcplus.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/learningcplus.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningcplus.wordpress.com&amp;blog=7693093&amp;post=17&amp;subd=learningcplus&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://learningcplus.wordpress.com/2009/05/10/%ce%b7-%cf%83%cf%85%ce%bd%ce%b8%ce%ae%ce%ba%ce%b7-if/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/76cfea31ae6e5d2280754992af1f5172?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">maidenas</media:title>
		</media:content>
	</item>
		<item>
		<title>Σχετικά με είσοδο-έξοδο</title>
		<link>http://learningcplus.wordpress.com/2009/05/10/%cf%83%cf%87%ce%b5%cf%84%ce%b9%ce%ba%ce%ac-%ce%bc%ce%b5-%ce%b5%ce%af%cf%83%ce%bf%ce%b4%ce%bf-%ce%ad%ce%be%ce%bf%ce%b4%ce%bf/</link>
		<comments>http://learningcplus.wordpress.com/2009/05/10/%cf%83%cf%87%ce%b5%cf%84%ce%b9%ce%ba%ce%ac-%ce%bc%ce%b5-%ce%b5%ce%af%cf%83%ce%bf%ce%b4%ce%bf-%ce%ad%ce%be%ce%bf%ce%b4%ce%bf/#comments</comments>
		<pubDate>Sun, 10 May 2009 15:14:15 +0000</pubDate>
		<dc:creator>maidenas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://learningcplus.wordpress.com/?p=18</guid>
		<description><![CDATA[Σε κάθε πρόγραμμα τυπώνεται κάτι στην οθόνη. Αυτό γίνεται με την εντολή cout. Η σύνταξή της είναι η ακόλουθη: cout &#60;&#60; &#8220;Το κείμενο σου&#8221;; Σημείωση: Για να αλλάξεις γραμμή, χρησιμοποίεισαι την εντολή &#8220;\n&#8221; μέσα στην cout: cout &#60;&#60; &#8220;Your text\nI&#8217;ve just changed line&#8221;; Αντιθέτως για να δώσει ο χρήστης μια τιμή σε μια μεταβλητή, χρησιμοποιείται [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningcplus.wordpress.com&amp;blog=7693093&amp;post=18&amp;subd=learningcplus&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Σε κάθε πρόγραμμα τυπώνεται κάτι στην οθόνη. Αυτό γίνεται με την εντολή cout. Η σύνταξή της είναι η ακόλουθη:</p>
<blockquote><p>cout &lt;&lt; &#8220;Το κείμενο σου&#8221;;</p></blockquote>
<p>Σημείωση: Για να αλλάξεις γραμμή, χρησιμοποίεισαι την εντολή &#8220;\n&#8221; μέσα στην cout:</p>
<blockquote><p>cout &lt;&lt; &#8220;Your text\nI&#8217;ve just changed line&#8221;;</p></blockquote>
<p>Αντιθέτως για να δώσει ο χρήστης μια τιμή σε μια μεταβλητή, χρησιμοποιείται η εντολή cin:</p>
<blockquote><p>cin &gt;&gt; x;</p></blockquote>
<p>Αυτό σημαίνει οτι η τιμή που θα πληκτρολογήσει ο χρήστης θα αποθηκευτεί στην μεταβλητή χ.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/learningcplus.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/learningcplus.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/learningcplus.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/learningcplus.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/learningcplus.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/learningcplus.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/learningcplus.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/learningcplus.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/learningcplus.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/learningcplus.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/learningcplus.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/learningcplus.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/learningcplus.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/learningcplus.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningcplus.wordpress.com&amp;blog=7693093&amp;post=18&amp;subd=learningcplus&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://learningcplus.wordpress.com/2009/05/10/%cf%83%cf%87%ce%b5%cf%84%ce%b9%ce%ba%ce%ac-%ce%bc%ce%b5-%ce%b5%ce%af%cf%83%ce%bf%ce%b4%ce%bf-%ce%ad%ce%be%ce%bf%ce%b4%ce%bf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/76cfea31ae6e5d2280754992af1f5172?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">maidenas</media:title>
		</media:content>
	</item>
		<item>
		<title>Μιλώντας για μεταβλητές&#8230;</title>
		<link>http://learningcplus.wordpress.com/2009/05/10/%ce%bc%ce%b9%ce%bb%cf%8e%ce%bd%cf%84%ce%b1%cf%82-%ce%b3%ce%b9%ce%b1-%ce%bc%ce%b5%cf%84%ce%b1%ce%b2%ce%bb%ce%b7%cf%84%ce%ad%cf%82/</link>
		<comments>http://learningcplus.wordpress.com/2009/05/10/%ce%bc%ce%b9%ce%bb%cf%8e%ce%bd%cf%84%ce%b1%cf%82-%ce%b3%ce%b9%ce%b1-%ce%bc%ce%b5%cf%84%ce%b1%ce%b2%ce%bb%ce%b7%cf%84%ce%ad%cf%82/#comments</comments>
		<pubDate>Sun, 10 May 2009 15:04:55 +0000</pubDate>
		<dc:creator>maidenas</dc:creator>
				<category><![CDATA[Εισαγωγή]]></category>

		<guid isPermaLink="false">http://learningcplus.wordpress.com/?p=15</guid>
		<description><![CDATA[Μια μεταβλητή είναι ένα γράμμα ή μια λέξη που αντιπροσωπεύει μια θέση μνήμης στην μνήμη RAM του υπολογιστή και η οποία έχει μια συγκεκριμένη  τιμή. Χαρακτηριστικό μιας μεταβλητής είναι ότι η τιμή αυτή μπορεί να μεταβάλλεται κατά την εκτέλεση ενός προγράμματος. Πραγματικές: Μπορείς λοιπόν να δηλώσεις πραγματικές μεταβλητές έτσι float d; double d; long double [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningcplus.wordpress.com&amp;blog=7693093&amp;post=15&amp;subd=learningcplus&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="color:#000000;">Μια μεταβλητή είναι ένα γράμμα ή μια λέξη που αντιπροσωπεύει μια θέση μνήμης στην μνήμη RAM του υπολογιστή και η οποία έχει μια συγκεκριμένη  τιμή. Χαρακτηριστικό μιας μεταβλητής είναι ότι η τιμή αυτή μπορεί να μεταβάλλεται κατά την εκτέλεση ενός προγράμματος.</span></p>
<p><strong>Πραγματικές:<br />
Μπορείς λοιπόν να δηλώσεις πραγματικές μεταβλητές έτσι</strong><br />
<span style="color:#ff0000;">float d; </span><br style="color:#ff0000;" /> <span style="color:#ff0000;">double d;</span><br style="color:#ff0000;" /> <span style="color:#ff0000;">long double d; </span><br />
Επιλέγεις έναν από τους τρεις τρόπους ανάλογα με την ακρίβεια που θες να έχεις σε δεκαδικά ψηφία.<br />
Για την ακρίβεια αφού όταν δηλώνεις μεταβλητές δεσμεύεις μνήμη ΡΑΜ σου λέω συγκεκριμένα bit που δεσμεύονται στις τρεις περιπτώσεις:<br />
32 bit<br />
64 bit<br />
80 bit</p>
<p><strong>Ακέραιες:</strong><br />
Εκτός από<br />
<span style="color:#ff0000;">int a;</span> (16 bit ο αριθμός σου είναι από -32.768 έως 32.767)<br />
μπορείς να δηλώσεις μια μεταβλητή ακέραια και όπως παρακάτω:<br />
<span style="color:#ff0000;">unsigned int a;</span> (16 bit ο αριθμός που δέχεται η a είναι απρόσημος και παίρνει τιμές από 0 έως 65.535)<br />
long int a; (32 bit ο αριθμός μπορεί να είναι από -2.147.483.648 έως 2.147.483.647)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/learningcplus.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/learningcplus.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/learningcplus.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/learningcplus.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/learningcplus.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/learningcplus.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/learningcplus.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/learningcplus.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/learningcplus.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/learningcplus.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/learningcplus.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/learningcplus.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/learningcplus.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/learningcplus.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningcplus.wordpress.com&amp;blog=7693093&amp;post=15&amp;subd=learningcplus&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://learningcplus.wordpress.com/2009/05/10/%ce%bc%ce%b9%ce%bb%cf%8e%ce%bd%cf%84%ce%b1%cf%82-%ce%b3%ce%b9%ce%b1-%ce%bc%ce%b5%cf%84%ce%b1%ce%b2%ce%bb%ce%b7%cf%84%ce%ad%cf%82/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/76cfea31ae6e5d2280754992af1f5172?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">maidenas</media:title>
		</media:content>
	</item>
		<item>
		<title>Τι χρειάζεται ένα πρόγραμμα;</title>
		<link>http://learningcplus.wordpress.com/2009/05/10/%cf%84%ce%b9-%cf%87%cf%81%ce%b5%ce%b9%ce%ac%ce%b6%ce%b5%cf%84%ce%b1%ce%b9-%ce%ad%ce%bd%ce%b1-%cf%80%cf%81%cf%8c%ce%b3%cf%81%ce%b1%ce%bc%ce%bc%ce%b1/</link>
		<comments>http://learningcplus.wordpress.com/2009/05/10/%cf%84%ce%b9-%cf%87%cf%81%ce%b5%ce%b9%ce%ac%ce%b6%ce%b5%cf%84%ce%b1%ce%b9-%ce%ad%ce%bd%ce%b1-%cf%80%cf%81%cf%8c%ce%b3%cf%81%ce%b1%ce%bc%ce%bc%ce%b1/#comments</comments>
		<pubDate>Sun, 10 May 2009 15:01:58 +0000</pubDate>
		<dc:creator>maidenas</dc:creator>
				<category><![CDATA[Εισαγωγή]]></category>

		<guid isPermaLink="false">http://learningcplus.wordpress.com/?p=13</guid>
		<description><![CDATA[Πρώτα πρώτα πρέπει να δηλωθούν ποιες &#8220;βιβλιοθήκες&#8221; θα συμπεριλάβουμε στο πρόγραμμα. Για παράδειγμα, η βιβλιοθήκη εισόδου-εξόδου είναι η &#60;iostream&#62;. Έτσι έχουμε: #include &#60;iostream&#62; using namespaces std; &#8230; Στη συνέχεια δηλώνουμε την αρχή του προγράμματος με την εντολή int main(). Ακριβώς από κάτω συνήθως δηλώνουμε τις μεταβλητές (αναλυτικότερα εδώ). Έτσι το πρόγραμμά μας γίνεται όπως το [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningcplus.wordpress.com&amp;blog=7693093&amp;post=13&amp;subd=learningcplus&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Πρώτα πρώτα πρέπει να δηλωθούν ποιες &#8220;βιβλιοθήκες&#8221; θα συμπεριλάβουμε στο πρόγραμμα. Για παράδειγμα, η βιβλιοθήκη εισόδου-εξόδου είναι η &lt;iostream&gt;. Έτσι έχουμε:</p>
<blockquote><p>#include &lt;iostream&gt;<br />
using namespaces std;<br />
&#8230;</p></blockquote>
<p>Στη συνέχεια δηλώνουμε την αρχή του προγράμματος με την εντολή int main(). Ακριβώς από κάτω συνήθως δηλώνουμε τις μεταβλητές (αναλυτικότερα εδώ). Έτσι το πρόγραμμά μας γίνεται όπως το παρακάτω:</p>
<blockquote><p>#include &lt;iostream&gt;<br />
using namespaces std;</p>
<p>int main()<br />
{<br />
int a, b;<br />
&#8230;</p></blockquote>
<p>Αφού γίνουν αυτά, ξεκινούμε να γράφουμε τι θέλουμε να κάνει το πρόγραμμα. Στο τέλος πρέπει να υπάρχουν αυτές οι εντολές:</p>
<blockquote><p>system(&#8220;Pause&#8221;);<br />
return 0;<br />
}</p></blockquote>
<p>Σημείωση: Τα σχόλια βρισκονται μεταξύ /*&#8230;*/ αν είναι σε πολλές γραμμές και // &#8230; αν είναι σε μια γραμμή. Όταν μεταγλωττίζεται ένα πρόγραμμα ο μεταγλωττιστής (compiler) είναι σαν να μην τα βλέπει.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/learningcplus.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/learningcplus.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/learningcplus.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/learningcplus.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/learningcplus.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/learningcplus.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/learningcplus.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/learningcplus.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/learningcplus.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/learningcplus.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/learningcplus.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/learningcplus.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/learningcplus.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/learningcplus.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningcplus.wordpress.com&amp;blog=7693093&amp;post=13&amp;subd=learningcplus&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://learningcplus.wordpress.com/2009/05/10/%cf%84%ce%b9-%cf%87%cf%81%ce%b5%ce%b9%ce%ac%ce%b6%ce%b5%cf%84%ce%b1%ce%b9-%ce%ad%ce%bd%ce%b1-%cf%80%cf%81%cf%8c%ce%b3%cf%81%ce%b1%ce%bc%ce%bc%ce%b1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/76cfea31ae6e5d2280754992af1f5172?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">maidenas</media:title>
		</media:content>
	</item>
		<item>
		<title>Πώς μπορώ να ξεκινήσω;</title>
		<link>http://learningcplus.wordpress.com/2009/05/10/%cf%80%cf%8e%cf%82-%ce%bc%cf%80%ce%bf%cf%81%cf%8e-%ce%bd%ce%b1-%ce%be%ce%b5%ce%ba%ce%b9%ce%bd%ce%ae%cf%83%cf%89/</link>
		<comments>http://learningcplus.wordpress.com/2009/05/10/%cf%80%cf%8e%cf%82-%ce%bc%cf%80%ce%bf%cf%81%cf%8e-%ce%bd%ce%b1-%ce%be%ce%b5%ce%ba%ce%b9%ce%bd%ce%ae%cf%83%cf%89/#comments</comments>
		<pubDate>Sun, 10 May 2009 14:59:14 +0000</pubDate>
		<dc:creator>maidenas</dc:creator>
				<category><![CDATA[Εισαγωγή]]></category>

		<guid isPermaLink="false">http://learningcplus.wordpress.com/?p=10</guid>
		<description><![CDATA[Αρχικά, θα πρέπει να κατεβάσεις έναν μεταγλωτιστή (compiler). Μία πολύ καλή λύση είναι το δωρεάν DevC++ που μπορείς να κατεβάσεις από εδώ. Αφού το εγκαταστήσεις είσαι έτοιμος να φτιάξεις το πρώτο σου πρόγραμμα! Χρήσιμες συντομεύσεις: F9: Compile &#38; Run &#8211; Συνθέτει και τρέχει το πρόγραμμα Ctrl+S: Άμεση Αποθήκευση<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningcplus.wordpress.com&amp;blog=7693093&amp;post=10&amp;subd=learningcplus&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Αρχικά, θα πρέπει να κατεβάσεις έναν μεταγλωτιστή (compiler). Μία πολύ καλή λύση είναι το δωρεάν DevC++ που μπορείς να κατεβάσεις από <a href="http://prdownloads.sourceforge.net/dev-cpp/devcpp-4.9.9.2_setup.exe" target="_blank">εδώ</a>. Αφού το εγκαταστήσεις είσαι έτοιμος να φτιάξεις το πρώτο σου πρόγραμμα!</p>
<p><strong>Χρήσιμες συντομεύσεις:</strong></p>
<p>F9: Compile &amp; Run &#8211; Συνθέτει και τρέχει το πρόγραμμα<br />
Ctrl+S: Άμεση Αποθήκευση</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/learningcplus.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/learningcplus.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/learningcplus.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/learningcplus.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/learningcplus.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/learningcplus.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/learningcplus.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/learningcplus.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/learningcplus.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/learningcplus.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/learningcplus.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/learningcplus.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/learningcplus.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/learningcplus.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningcplus.wordpress.com&amp;blog=7693093&amp;post=10&amp;subd=learningcplus&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://learningcplus.wordpress.com/2009/05/10/%cf%80%cf%8e%cf%82-%ce%bc%cf%80%ce%bf%cf%81%cf%8e-%ce%bd%ce%b1-%ce%be%ce%b5%ce%ba%ce%b9%ce%bd%ce%ae%cf%83%cf%89/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/76cfea31ae6e5d2280754992af1f5172?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">maidenas</media:title>
		</media:content>
	</item>
	</channel>
</rss>
