<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6050458428821262856</id><updated>2012-03-16T14:27:53.544-07:00</updated><category term='pointers'/><category term='learn learn learn'/><category term='c++ oop344'/><title type='text'>OOP344/GAM666</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://oleg-oop.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6050458428821262856/posts/default'/><link rel='alternate' type='text/html' href='http://oleg-oop.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>oleg</name><uri>http://www.blogger.com/profile/12887363104009069204</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_NrBicVs6w1I/S1_Uw-RvyMI/AAAAAAAAAJo/Y38mQKhD2hs/S220/Picture+209.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6050458428821262856.post-1661981859058731546</id><published>2010-07-09T21:40:00.000-07:00</published><updated>2010-07-09T21:56:16.337-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='c++ oop344'/><title type='text'>Recycling pointers</title><content type='html'>Today on my OOP344(c++) subject I learned that when we delete a pointer,&lt;br /&gt;&lt;br /&gt;int main(){&lt;br /&gt;int* b;&lt;br /&gt;b=new int[3];&lt;br /&gt;b[0]=3;&lt;br /&gt;delete b;&lt;br /&gt;b[0]=7;&lt;br /&gt;printf("%d\n",*b); //7 will be printed here&lt;br /&gt;return 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;we actually deleting not the pointer (ptr) but what stored in the address. &lt;br /&gt;And we don't need to declare the pointer again if we want to reuse it.&lt;br /&gt;We can assign the pointer a new value without declaring it again.&lt;br /&gt;&lt;br /&gt;That is what I call true recycling but not that useless &lt;a href="http://www.nytimes.com/1996/06/30/magazine/063096-tierney-magazine.html?pagewanted=all"&gt;curbside recycling program&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6050458428821262856-1661981859058731546?l=oleg-oop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oleg-oop.blogspot.com/feeds/1661981859058731546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oleg-oop.blogspot.com/2010/07/recycling-pointers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6050458428821262856/posts/default/1661981859058731546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6050458428821262856/posts/default/1661981859058731546'/><link rel='alternate' type='text/html' href='http://oleg-oop.blogspot.com/2010/07/recycling-pointers.html' title='Recycling pointers'/><author><name>oleg</name><uri>http://www.blogger.com/profile/12887363104009069204</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_NrBicVs6w1I/S1_Uw-RvyMI/AAAAAAAAAJo/Y38mQKhD2hs/S220/Picture+209.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6050458428821262856.post-5294319954661473677</id><published>2010-06-24T00:15:00.000-07:00</published><updated>2010-06-24T00:19:08.339-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='learn learn learn'/><title type='text'>What is Cloud computing</title><content type='html'>This site clear explains what is &lt;a href="http://bit.ly/0cloud"&gt;Cloud Computing&lt;/a&gt;.&lt;br /&gt;Reading Wikipedia about clouding computing was nothing but frustration. The only information I found useful from the article was:&lt;br /&gt;&lt;br /&gt;Cloud computing derives characteristics from, but should not be confused with:&lt;br /&gt;&lt;br /&gt;   1. Autonomic computing — "computer systems capable of self-management".[11]&lt;br /&gt;   2. Client–server model – Client–server computing refers broadly to any distributed application that distinguishes between service providers (servers) and service requesters (clients).[12]&lt;br /&gt;   3. Grid computing — "a form of distributed computing and parallel computing, whereby a 'super and virtual computer' is composed of a cluster of networked, loosely coupled computers acting in concert to perform very large tasks"&lt;br /&gt;   4. Mainframe — powerful computers used mainly by large organizations for critical applications, typically bulk data processing such as census, industry and consumer statistics, enterprise resource planning, and financial transaction processing.[13]&lt;br /&gt;   5. Utility computing — the "packaging of computing resources, such as computation and storage, as a metered service similar to a traditional public utility, such as electricity";[14]&lt;br /&gt;   6. Peer-to-peer – a distributed architecture without the need for central coordination, with participants being at the same time both suppliers and consumers of resources (in contrast to the traditional client–server model).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6050458428821262856-5294319954661473677?l=oleg-oop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oleg-oop.blogspot.com/feeds/5294319954661473677/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oleg-oop.blogspot.com/2010/06/what-is-cloud-computing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6050458428821262856/posts/default/5294319954661473677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6050458428821262856/posts/default/5294319954661473677'/><link rel='alternate' type='text/html' href='http://oleg-oop.blogspot.com/2010/06/what-is-cloud-computing.html' title='What is Cloud computing'/><author><name>oleg</name><uri>http://www.blogger.com/profile/12887363104009069204</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_NrBicVs6w1I/S1_Uw-RvyMI/AAAAAAAAAJo/Y38mQKhD2hs/S220/Picture+209.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6050458428821262856.post-7321724863578825024</id><published>2010-06-04T21:48:00.000-07:00</published><updated>2010-06-04T21:58:09.815-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='c++ oop344'/><title type='text'></title><content type='html'>I just found a very interesting blog post&lt;br /&gt;about &lt;a href="http://james-iry.blogspot.com/2009/05/brief-incomplete-and-mostly-wrong.html"&gt;History of Programming Languages&lt;/a&gt;&lt;br /&gt;I think that post could be a good test to learn how much you know about programming.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6050458428821262856-7321724863578825024?l=oleg-oop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oleg-oop.blogspot.com/feeds/7321724863578825024/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oleg-oop.blogspot.com/2010/06/i-just-found-very-interesting-blog-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6050458428821262856/posts/default/7321724863578825024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6050458428821262856/posts/default/7321724863578825024'/><link rel='alternate' type='text/html' href='http://oleg-oop.blogspot.com/2010/06/i-just-found-very-interesting-blog-post.html' title=''/><author><name>oleg</name><uri>http://www.blogger.com/profile/12887363104009069204</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_NrBicVs6w1I/S1_Uw-RvyMI/AAAAAAAAAJo/Y38mQKhD2hs/S220/Picture+209.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6050458428821262856.post-148064510162454381</id><published>2010-05-20T21:50:00.000-07:00</published><updated>2010-05-20T22:30:24.016-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='c++ oop344'/><title type='text'>How to create a short link</title><content type='html'>I just found out how to create a short link. And I am really exited about it.&lt;br /&gt;&lt;br /&gt;I hate to type something like:  http://zenit.senecac.on.ca/wiki/index.php/OOP344&lt;br /&gt;so from now i just type:        bit.ly/oop344&lt;br /&gt;&lt;br /&gt;On the website bit.ly you can register by providing a valid email address and then create your own short links. The service is for free and if the short name wasn't chosen by somebody else then you can own the name and share it with your friends.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6050458428821262856-148064510162454381?l=oleg-oop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oleg-oop.blogspot.com/feeds/148064510162454381/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oleg-oop.blogspot.com/2010/05/how-to-create-short-link.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6050458428821262856/posts/default/148064510162454381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6050458428821262856/posts/default/148064510162454381'/><link rel='alternate' type='text/html' href='http://oleg-oop.blogspot.com/2010/05/how-to-create-short-link.html' title='How to create a short link'/><author><name>oleg</name><uri>http://www.blogger.com/profile/12887363104009069204</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_NrBicVs6w1I/S1_Uw-RvyMI/AAAAAAAAAJo/Y38mQKhD2hs/S220/Picture+209.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6050458428821262856.post-421380371184663237</id><published>2010-04-06T21:55:00.000-07:00</published><updated>2010-04-06T22:39:33.777-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='c++ oop344'/><title type='text'>There is one step from hate to love...</title><content type='html'>OK guys now rise your hands who love pointers!&lt;br /&gt;No one? Really?&lt;br /&gt;Then lets do the work-through!&lt;br /&gt;&lt;br /&gt;#include &lt;stdio.h&gt;&lt;br /&gt;int main(){&lt;br /&gt;  int i;&lt;br /&gt;  int j;&lt;br /&gt;  int a[5]={1,2,3,4,5};&lt;br /&gt;  int b[3][5]={&lt;br /&gt;    {1,2,3,4,5},&lt;br /&gt;    {6,7,8,9,10},&lt;br /&gt;    {11,12,13,14,15}&lt;br /&gt;  };&lt;br /&gt;  printf("%d\n", *a);  //Try to find two differences&lt;br /&gt;  printf("%d\n", **b); //in those two lines.....No rush, take your time :-)&lt;br /&gt;  return 0;&lt;br /&gt;} &lt;br /&gt;Now look to the result:&lt;br /&gt;1&lt;br /&gt;1&lt;br /&gt;Now you know that name of array is a pointer to the first member stored&lt;br /&gt;in the array, but if it is two dimensional array then name of the array&lt;br /&gt;is a pointer to pointer to the data stored in first member of the array.&lt;br /&gt;And if you want to scary somebody you can print something like *************c.&lt;br /&gt;But it is deep night and I will afraid to do something like that.&lt;br /&gt;Ok ok I know you don't feel good about me already. But wait a minute I didn't&lt;br /&gt;promise that you going to love pointers! I just said that "There is one step&lt;br /&gt;from hate to LOVE". Sorry there is no magic here...&lt;br /&gt;Magic is here: &lt;a href="http://www.youtube.com/watch?v=hwSXm8BZvAU"&gt;Punk Magician&lt;/a&gt;&lt;br /&gt;And you gonna LOVE it :-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6050458428821262856-421380371184663237?l=oleg-oop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oleg-oop.blogspot.com/feeds/421380371184663237/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oleg-oop.blogspot.com/2010/04/there-is-one-step-from-hate-to-love.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6050458428821262856/posts/default/421380371184663237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6050458428821262856/posts/default/421380371184663237'/><link rel='alternate' type='text/html' href='http://oleg-oop.blogspot.com/2010/04/there-is-one-step-from-hate-to-love.html' title='There is one step from hate to love...'/><author><name>oleg</name><uri>http://www.blogger.com/profile/12887363104009069204</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_NrBicVs6w1I/S1_Uw-RvyMI/AAAAAAAAAJo/Y38mQKhD2hs/S220/Picture+209.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6050458428821262856.post-5962067185491358077</id><published>2010-03-17T07:38:00.000-07:00</published><updated>2010-03-17T08:41:08.550-07:00</updated><title type='text'>Skype, Google talk... and Microphone? Not necessary:-)</title><content type='html'>In our days programmers often use programs like Skype, Google talk, MSN, etc for conference calls. In order to participate in the call you need:&lt;br /&gt;1. Computer with one of the program installed on it.&lt;br /&gt;2. Internet.&lt;br /&gt;3. Speakers.&lt;br /&gt;4. Microphone.&lt;br /&gt;&lt;br /&gt;But what to do if somebody already calling to you but you don't have microphone? How many of you tried to shout to your computer in hope that it has embedded microphone? :-). Solution was very close. In situation like that you just need to plug in another earphones in a plughole for microphone and talk to left earphone. Keep it very close to your mouse and also you may need to put microphone volume on maximum. For urgent call the quality of sound is very very acceptable but if you consider to have a long relationship with somebody on other end of  the internet consider to buy a good microphone.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6050458428821262856-5962067185491358077?l=oleg-oop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oleg-oop.blogspot.com/feeds/5962067185491358077/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oleg-oop.blogspot.com/2010/03/skype-google-talk-and-microphone-not.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6050458428821262856/posts/default/5962067185491358077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6050458428821262856/posts/default/5962067185491358077'/><link rel='alternate' type='text/html' href='http://oleg-oop.blogspot.com/2010/03/skype-google-talk-and-microphone-not.html' title='Skype, Google talk... and Microphone? Not necessary:-)'/><author><name>oleg</name><uri>http://www.blogger.com/profile/12887363104009069204</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_NrBicVs6w1I/S1_Uw-RvyMI/AAAAAAAAAJo/Y38mQKhD2hs/S220/Picture+209.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6050458428821262856.post-2329021331731959506</id><published>2010-03-03T19:45:00.000-08:00</published><updated>2010-03-03T21:06:52.621-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pointers'/><title type='text'>int* p=0;</title><content type='html'>There is a little program:&lt;br /&gt;#include &lt;stdio.h&gt;&lt;br /&gt;int main(){&lt;br /&gt;  int* p=0;&lt;br /&gt;  p++;&lt;br /&gt;  printf("%u\n", p);&lt;br /&gt;  return 0;&lt;br /&gt;}&lt;br /&gt;The output is: 4&lt;br /&gt;and the program runs without mistakes and warnings.&lt;br /&gt;But why I couldn't run the next one?&lt;br /&gt;&lt;br /&gt;#include &lt;stdio.h&gt;&lt;br /&gt;int main(){&lt;br /&gt;  int* p=4;&lt;br /&gt;  printf("%u\n", p);&lt;br /&gt;  return 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;in other words my question would be:&lt;br /&gt;How to make p=4 at one stroke?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6050458428821262856-2329021331731959506?l=oleg-oop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oleg-oop.blogspot.com/feeds/2329021331731959506/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oleg-oop.blogspot.com/2010/03/int-p0.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6050458428821262856/posts/default/2329021331731959506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6050458428821262856/posts/default/2329021331731959506'/><link rel='alternate' type='text/html' href='http://oleg-oop.blogspot.com/2010/03/int-p0.html' title='int* p=0;'/><author><name>oleg</name><uri>http://www.blogger.com/profile/12887363104009069204</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_NrBicVs6w1I/S1_Uw-RvyMI/AAAAAAAAAJo/Y38mQKhD2hs/S220/Picture+209.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6050458428821262856.post-8801484481449309754</id><published>2010-01-11T16:12:00.000-08:00</published><updated>2010-02-04T18:21:40.122-08:00</updated><title type='text'>About me and learning C++ in Seneca college.</title><content type='html'>O my god I just created my first blog.&lt;br /&gt;If it goes like this I will become a computer geek.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6050458428821262856-8801484481449309754?l=oleg-oop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oleg-oop.blogspot.com/feeds/8801484481449309754/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oleg-oop.blogspot.com/2010/01/test-post.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6050458428821262856/posts/default/8801484481449309754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6050458428821262856/posts/default/8801484481449309754'/><link rel='alternate' type='text/html' href='http://oleg-oop.blogspot.com/2010/01/test-post.html' title='About me and learning C++ in Seneca college.'/><author><name>oleg</name><uri>http://www.blogger.com/profile/12887363104009069204</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_NrBicVs6w1I/S1_Uw-RvyMI/AAAAAAAAAJo/Y38mQKhD2hs/S220/Picture+209.jpg'/></author><thr:total>3</thr:total></entry></feed>
