<?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:blogger='http://schemas.google.com/blogger/2008' 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-5411476717192769390</id><updated>2024-09-09T09:37:06.184+03:00</updated><title type='text'>My Sweet Programming</title><subtitle type='html'>I welcome all programmers to share some ideas concerning programming. I will start talking about language like c, c++ and php. Make it and believe it</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://princessjohn1989.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://princessjohn1989.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15685013396272123148</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5411476717192769390.post-1845325088211390952</id><published>2014-10-17T09:41:00.002+03:00</published><updated>2014-10-17T09:41:52.496+03:00</updated><title type='text'>How to minimize source code on including js files in Laravel master.blade</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
The best practice for any programmer is to make sure that his/her codes are minimized, readable and they are functioning.&lt;br /&gt;
&lt;br /&gt;
But you need to use different trick to deal with that. For now I have one trick to include all files from the folder at once.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the layout open master.blade.php and then look on the place you want to include your files and then add this codes&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&amp;lt;!-- include the modalservice --&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: red;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #0b5394;&quot;&gt;$files = glob(&quot;{app/js/services/*.js}&quot;,GLOB_BRACE);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;for($i = 0; $i &amp;lt; count($files); $i++){&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #351c75;&quot;&gt; &amp;nbsp; &amp;nbsp;&amp;lt;% HTML::script($files[$i]) %&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;}&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;br /&gt;
For best practice to know the format result of the variable $files, you can &lt;span style=&quot;color: red;&quot;&gt;echo&lt;/span&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt; json_encode($files);&lt;/span&gt; to see the structure of the files then you will understand how does it functioning.&lt;br /&gt;
&lt;br /&gt;
The above code will save the idea of having a lot of script to include, and even next time you add another script to the folder you don&#39;t need to include it again.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://princessjohn1989.blogspot.com/feeds/1845325088211390952/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5411476717192769390/1845325088211390952' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default/1845325088211390952'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default/1845325088211390952'/><link rel='alternate' type='text/html' href='http://princessjohn1989.blogspot.com/2014/10/how-to-minimize-source-code-on.html' title='How to minimize source code on including js files in Laravel master.blade'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15685013396272123148</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5411476717192769390.post-7426338277204738566</id><published>2014-09-17T20:23:00.001+03:00</published><updated>2014-09-17T20:33:05.656+03:00</updated><title type='text'>Do you know you can install wamp server 64-bits 2.2d and wamp server 64-bits 2.4 with in the same computer?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
After finishing installing one wamp server you can still install another wamp server with in the same windows computer.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;What if you need to shift between different php, apache and mysql version?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
Open wamp folder under c:/wamp or any location you have put your wamp. And then open&amp;nbsp;&lt;b&gt;wampmanager.conf. &lt;/b&gt;Edit these lines as per your needs&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Before changing&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;[main]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;language = english&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;status = &quot;online&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;wampserverVersion = 2.4&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;wampserverLastKnown = 2.4&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;installDir = &quot;c:/wamp&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;navigator = &quot;C:\Windows\explorer.exe&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;defaultLanguage = english&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;[php]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;phpVersion = &quot;5.4.12&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;phpLastKnown = 5.4.12&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;phpIniDir = .&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;phpConfFile = php.ini&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;phpExeDir = .&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;[phpCli]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;phpCliVersion = 5.4.12&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;phpExeFile = php.exe&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;phpCliFile = php-win.exe&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;[apache]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;apacheVersion = &quot;2.4.4&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;apacheLastKnown = 2.4.4&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;apacheExeDir = bin&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;apacheConfDir = conf&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;apacheExeFile = httpd.exe&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;apacheConfFile = httpd.conf&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;apacheServiceInstallParams = -n wampapache -k install&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;apacheServiceRemoveParams = -n wampapache -k uninstall&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;[mysql]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;mysqlVersion = &quot;5.5.20&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;mysqlLastKnown = 5.6.12&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;mysqlConfDir = &quot;.&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;mysqlConfFile = &quot;my.ini&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;mysqlExeDir = &quot;bin&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;mysqlExeFile = &quot;mysqld.exe&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;mysqlServiceInstallParams = &quot;--install-manual wampmysqld&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;mysqlServiceRemoveParams = &quot;--remove wampmysqld&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;[apps]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;phpmyadminVersion = 4.0.4&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;sqlbuddyVersion = 1.3.3&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;webgrindVersion = 1.0&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b style=&quot;font-size: x-large;&quot;&gt;After changing&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;[main]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;language = english&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;status = &quot;online&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;wampserverVersion = 2.4&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;wampserverLastKnown = 2.4&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;installDir = &quot;c:/wamp&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;navigator = &quot;C:\Windows\explorer.exe&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;defaultLanguage = english&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;[php]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;phpVersion = &quot;5.3.10&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;phpLastKnown = 5.4.12&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;phpIniDir = .&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;phpConfFile = php.ini&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;phpExeDir = .&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;[phpCli]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;phpCliVersion = 5.3.10&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;phpExeFile = php.exe&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;phpCliFile = php-win.exe&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;[apache]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;apacheVersion = &quot;2.2.21&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;apacheLastKnown = 2.4.4&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;apacheExeDir = bin&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;apacheConfDir = conf&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;apacheExeFile = httpd.exe&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;apacheConfFile = httpd.conf&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;apacheServiceInstallParams = -n wampapache -k install&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;apacheServiceRemoveParams = -n wampapache -k uninstall&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;[mysql]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;mysqlVersion = &quot;5.5.20&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;mysqlLastKnown = 5.6.12&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;mysqlConfDir = &quot;.&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;mysqlConfFile = &quot;my.ini&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;mysqlExeDir = &quot;bin&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;mysqlExeFile = &quot;mysqld.exe&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;mysqlServiceInstallParams = &quot;--install-manual wampmysqld&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;mysqlServiceRemoveParams = &quot;--remove wampmysqld&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;[apps]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;phpmyadminVersion = 4.0.4&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;sqlbuddyVersion = 1.3.3&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;webgrindVersion = 1.0&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: x-large;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: x-large;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
if your wamp is started, after saving you need to exit your wamp and start it again for the changes to take place.&lt;/div&gt;
&lt;/b&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://princessjohn1989.blogspot.com/feeds/7426338277204738566/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5411476717192769390/7426338277204738566' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default/7426338277204738566'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default/7426338277204738566'/><link rel='alternate' type='text/html' href='http://princessjohn1989.blogspot.com/2014/09/do-you-know-you-can-install-wamp-server.html' title='Do you know you can install wamp server 64-bits 2.2d and wamp server 64-bits 2.4 with in the same computer?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15685013396272123148</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5411476717192769390.post-6661297189141576931</id><published>2014-07-17T10:42:00.001+03:00</published><updated>2014-07-17T10:43:44.391+03:00</updated><title type='text'>How to deal with date format in search under YII Framework</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
There is one problem we are facing about date format. As far as we know, in DBMS there will be the default date format. You can change it from the database itself or you can deal with it from your php codes.&lt;br /&gt;
&lt;br /&gt;
I have a scenario, my date format for the database is &#39;&lt;b&gt;2014-12-12&lt;/b&gt;&#39; but if you are dealing with end user, that is not the format which you can go with it. May be you would prefer &#39;&lt;b&gt;12.12.2014&lt;/b&gt;&#39; which will be easy to deal with it.&lt;br /&gt;
&lt;br /&gt;
So lets say that you want to search your data according to date and you want to use&amp;nbsp;&#39;&lt;b&gt;12.12.2014&lt;/b&gt;&#39; for end user then you can do this:&lt;br /&gt;
&lt;br /&gt;
we know about &lt;b&gt;model &lt;/b&gt;and &lt;b&gt;view &lt;/b&gt;right in YII.&lt;br /&gt;
&lt;br /&gt;
under view&amp;nbsp;&lt;b&gt;admin &lt;/b&gt;you can do this in CgridView&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;$this-&amp;gt;widget(&#39;zii.widgets.grid.CGridView&#39;, array(&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&#39;id&#39;=&amp;gt;&#39;123erer&#39;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&#39;dataProvider&#39;=&amp;gt;$model-&amp;gt;search(),&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&#39;filter&#39;=&amp;gt;$model,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&#39;columns&#39;=&amp;gt;array(&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;array(&#39;name&#39;=&amp;gt;&#39;p_date&#39;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&#39;value&#39;=&amp;gt;&#39;date(&quot;d.m.Y&quot;,Strtotime($data-&amp;gt;p_date))&#39;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; ),&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;array(&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&#39;class&#39;=&amp;gt;&#39;CButtonColumn&#39;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&#39;template&#39;=&amp;gt;&#39;{view}&#39;,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&#39;buttons&#39;=&amp;gt;array(&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// &#39;update&#39;=&amp;gt;array(&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;// &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;visible&#39;=&amp;gt;$update1,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;// &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;),&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt; &amp;nbsp; ),&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;),&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;),&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;));&lt;/span&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;?&amp;gt;&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
and under your &lt;b&gt;model&lt;/b&gt; you can do this:&lt;br /&gt;
&lt;br /&gt;
change the function search to this function below&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;public function search()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// @todo Please modify the following code to remove attributes that should not be searched.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$criteria=new CDbCriteria;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;if(!empty($this-&amp;gt;p_date))&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$criteria-&amp;gt;compare(&#39;p_date&#39;,date(&#39;Y-m-d&#39;,Strtotime($this-&amp;gt;p_date)),true);&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;return new CActiveDataProvider($this, array(&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&#39;criteria&#39;=&amp;gt;$criteria,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7tjY0KmRv8vsiu8OQ22OlNu6NntzQ8Dd9E3fVO_0qu-L37DbWQmXOzFOUM9VoO0zK5lW9Gn-7zSn4owfZgdVJ99FikKXkuWjVCT3ppq5LqWkwf_A9-ra0tVOb4ejCTtSitzT69_yYCvU/s1600/Capture7.GIF&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7tjY0KmRv8vsiu8OQ22OlNu6NntzQ8Dd9E3fVO_0qu-L37DbWQmXOzFOUM9VoO0zK5lW9Gn-7zSn4owfZgdVJ99FikKXkuWjVCT3ppq5LqWkwf_A9-ra0tVOb4ejCTtSitzT69_yYCvU/s1600/Capture7.GIF&quot; height=&quot;301&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #cc0000; font-size: large;&quot;&gt;******Enjoy******&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://princessjohn1989.blogspot.com/feeds/6661297189141576931/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5411476717192769390/6661297189141576931' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default/6661297189141576931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default/6661297189141576931'/><link rel='alternate' type='text/html' href='http://princessjohn1989.blogspot.com/2014/07/how-to-deal-with-date-format-in-search.html' title='How to deal with date format in search under YII Framework'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15685013396272123148</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7tjY0KmRv8vsiu8OQ22OlNu6NntzQ8Dd9E3fVO_0qu-L37DbWQmXOzFOUM9VoO0zK5lW9Gn-7zSn4owfZgdVJ99FikKXkuWjVCT3ppq5LqWkwf_A9-ra0tVOb4ejCTtSitzT69_yYCvU/s72-c/Capture7.GIF" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5411476717192769390.post-928463401857221040</id><published>2014-07-15T15:10:00.000+03:00</published><updated>2014-07-15T15:58:39.567+03:00</updated><title type='text'>How to configure C++ with MySQL database in Visual C++</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Things to consider:&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Microsoft Visual C++ 2008&lt;/li&gt;
&lt;li&gt;MySQL Connector odbc&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Wamp or Xamp must be started and make sure that MySQL is started too.&lt;/li&gt;
&lt;li&gt;otl from &lt;a href=&quot;http://otl.sourceforge.net/&quot; target=&quot;_blank&quot;&gt;http://otl.sourceforge.net/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
Download and Install MySQL Connector odbc from&amp;nbsp;&lt;a href=&quot;http://dev.mysql.com/downloads/connector/odbc/&quot; target=&quot;_blank&quot;&gt;http://dev.mysql.com/downloads/connector/odbc/&lt;/a&gt;&lt;br /&gt;
Open your control panel-&amp;gt;Administrative Tools-&amp;gt;Data Sources ODBC&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
Under User DSN Click Add&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgazIlqSxyvZuE4-_APKhi_Qh4e73Klvz_YpFtLp_VIWsmMcpTDXoCospbWXU0N4fqaW7Hfg8_e1xAxNI4UXXa6eR9KLujOQwuIEFsPdpQ-k7wgGUphCT4tCexGp4_NlfUMRym57aUQbJg/s1600/Capture1.GIF&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgazIlqSxyvZuE4-_APKhi_Qh4e73Klvz_YpFtLp_VIWsmMcpTDXoCospbWXU0N4fqaW7Hfg8_e1xAxNI4UXXa6eR9KLujOQwuIEFsPdpQ-k7wgGUphCT4tCexGp4_NlfUMRym57aUQbJg/s1600/Capture1.GIF&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
choose MySQL ODBC you want to use and then click finish&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieT4T5B7pxo2pOWYlPpVzHceQXWtTNkVxhDGBwa5oOTp7DSClYPR4JXaJdYqgPGNEiJtCHBQp76ByTYCXLqq-Z1ygnY_zNBhdfEjR-dhDBhyiPM3tmCZAHegUvCaxJ5ozaoSRsRLKOrhU/s1600/Capture2.GIF&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieT4T5B7pxo2pOWYlPpVzHceQXWtTNkVxhDGBwa5oOTp7DSClYPR4JXaJdYqgPGNEiJtCHBQp76ByTYCXLqq-Z1ygnY_zNBhdfEjR-dhDBhyiPM3tmCZAHegUvCaxJ5ozaoSRsRLKOrhU/s1600/Capture2.GIF&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Then&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgaBBvJ8e5BztCyq4DmqdhPWPa5MZ0thzYoDCpmTogFTDi5igFe_domb0QWjalzuysdo0O8_cNGnPmZCReHPZs1AN8Lz_4Y-vUVwrgGcZT3sro54UsjTYRLnHd7x5a7IqTyrBgAqPHYDw/s1600/Capture3.GIF&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgaBBvJ8e5BztCyq4DmqdhPWPa5MZ0thzYoDCpmTogFTDi5igFe_domb0QWjalzuysdo0O8_cNGnPmZCReHPZs1AN8Lz_4Y-vUVwrgGcZT3sro54UsjTYRLnHd7x5a7IqTyrBgAqPHYDw/s1600/Capture3.GIF&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Download otlv4_h2.zip from&amp;nbsp;&lt;a href=&quot;http://otl.sourceforge.net/&quot; target=&quot;_blank&quot;&gt;http://otl.sourceforge.net/&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Extract otlv4_h2.zip to C:/ directory&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Open your Microsoft Visual C++ 2008, and go to File-&amp;gt;New Project-&amp;gt;Visual C++-&amp;gt;Win32-&amp;gt;Win32 Console Application. press ok after writing Name of the project as &lt;b&gt;tatiana&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixWhJqY4N-gTX56VqTfcqAXCKTZWKJ_0Rnu2wN8ShZcwmP27ey7-0gSLaSK4V-Dd62coFKCq3KndVKuGuEcIQJuuXFuijEoyy_JEUemCFt5uLWc70vjcib54maVz8kgzvQkv_HurJ5tmQ/s1600/Capture4.GIF&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixWhJqY4N-gTX56VqTfcqAXCKTZWKJ_0Rnu2wN8ShZcwmP27ey7-0gSLaSK4V-Dd62coFKCq3KndVKuGuEcIQJuuXFuijEoyy_JEUemCFt5uLWc70vjcib54maVz8kgzvQkv_HurJ5tmQ/s1600/Capture4.GIF&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Double click tatiana.cpp from source files and copy and paste the following code to it.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;// tatiana.cpp : Defines the entry point for the console application.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;//&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;#include &quot;stdafx.h&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;#include &amp;lt;iostream&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;using namespace std;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;#include &amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;#include &amp;lt;string.h&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;#include &amp;lt;stdlib.h&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;#define OTL_ODBC_MYSQL // Compile OTL 4.0/ODBC/MySQL&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;// #define OTL_ODBC_UNIX // uncomment this line if UnixODBC is used&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;#include &amp;lt;otlv4.h&amp;gt; // include the OTL 4.0 header file&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;otl_connect db; // connect object&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;void insert()&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;// insert rows into table&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;{&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp;otl_stream o(1, // buffer size should be == 1 always on INSERT&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;insert into test_tab values(:f1&amp;lt;int&amp;gt;,:f2&amp;lt;char[31]&amp;gt;)&quot;,&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// SQL statement&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; db // connect object&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp;char tmp[32];&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp;for(int i=1;i&amp;lt;=100;++i){&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; sprintf(tmp,&quot;Name%d&quot;,i);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; o&amp;lt;&amp;lt;i&amp;lt;&amp;lt;tmp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;void update(const int af1)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;// insert rows into table&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;{&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp;otl_stream o(1, // buffer size should be == 1 always on UPDATE&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;UPDATE test_tab &quot;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot; &amp;nbsp; SET f2=:f2&amp;lt;char[31]&amp;gt; &quot;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot; WHERE f1=:f1&amp;lt;int&amp;gt;&quot;,&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// UPDATE statement&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; db // connect object&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp;o&amp;lt;&amp;lt;&quot;Name changed&quot;&amp;lt;&amp;lt;af1;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp;o&amp;lt;&amp;lt;otl_null()&amp;lt;&amp;lt;af1+1; // set f2 to NULL&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;void select(const int af1)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;{&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp;// MyODBC does not allow any input bind variables in the WHERE clause&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp;// in a SELECT statement.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp;// Therefore, the SELECT statement has to be generated literally.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp;char stmbuf[1024];&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp;sprintf(stmbuf,&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&quot;select * from test_tab where f1&amp;gt;=%d and f1&amp;lt;=%d*2&quot;,&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;af1,&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;af1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; );&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp;otl_stream i(50, // buffer size may be &amp;gt; 1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; stmbuf, // SELECT statement&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; db // connect object&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;);&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;// create select stream&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp;int f1;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp;char f2[31];&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp;while(!i.eof()){ // while not end-of-data&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; i&amp;gt;&amp;gt;f1;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; cout&amp;lt;&amp;lt;&quot;f1=&quot;&amp;lt;&amp;lt;f1&amp;lt;&amp;lt;&quot;, f2=&quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; i&amp;gt;&amp;gt;f2;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; if(i.is_null())&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;NULL&quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; else&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;f2;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; cout&amp;lt;&amp;lt;endl;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;int main()&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp;otl_connect::otl_initialize(); // initialize ODBC environment&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp;try{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; db.rlogon(&quot;UID=root;PWD=;DSN=tester&quot;); // connect to ODBC&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;// &amp;nbsp;db.rlogon(&quot;scott/tiger@mysql&quot;); // connect to ODBC, alternative format&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // of connect string&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; otl_cursor::direct_exec&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;(&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; db,&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &quot;drop table test_tab&quot;,&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; otl_exception::disabled // disable OTL exceptions&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;); // drop table&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; otl_cursor::direct_exec&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;(&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; db,&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &quot;create table test_tab(f1 int, f2 varchar(30))&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; ); &amp;nbsp;// create table&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; insert(); // insert records into the table&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; update(10); // update records in the table&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; select(8); // select records from the table&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp;catch(otl_exception&amp;amp; p){ // intercept OTL exceptions&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; cerr&amp;lt;&amp;lt;p.msg&amp;lt;&amp;lt;endl; // print out error message&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; cerr&amp;lt;&amp;lt;p.stm_text&amp;lt;&amp;lt;endl; // print out SQL that caused the error&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; cerr&amp;lt;&amp;lt;p.sqlstate&amp;lt;&amp;lt;endl; // print out SQLSTATE message&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp; cerr&amp;lt;&amp;lt;p.var_info&amp;lt;&amp;lt;endl; // print out the variable that caused the error&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp;db.logoff(); // disconnect from ODBC&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp;system(&quot;pause&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&amp;nbsp;return 0;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
Right click your project and go to property-&amp;gt;Configuration Properties-&amp;gt;C/C++-&amp;gt;General-&amp;gt;Additional Include directory....&lt;br /&gt;
&lt;br /&gt;
Add the path of otlv4_h2 as shown below:-&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyk3_Rzeg7amVkhuAgz01xKtyh2xrtOwwuP-YX2VPhwJwsGcIRhRFKlaOWY5kprI5kS6yQAcN7s0_u0ukgLjQe6Vciau6Pnq7R9HzOsvrWJUiv_yjL2xVlsoA4oDLojcLrtmZECSt9VQw/s1600/Capture5.GIF&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyk3_Rzeg7amVkhuAgz01xKtyh2xrtOwwuP-YX2VPhwJwsGcIRhRFKlaOWY5kprI5kS6yQAcN7s0_u0ukgLjQe6Vciau6Pnq7R9HzOsvrWJUiv_yjL2xVlsoA4oDLojcLrtmZECSt9VQw/s1600/Capture5.GIF&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Press ok.&lt;br /&gt;
&lt;br /&gt;
Right click your project tatiana and then go to debug-&amp;gt;Start New Instance.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPBg9YQCVt83695_AStbMAEgCqzadCvR0TKxpED7ekQiCW2lkiKokk6V10aBjKobJnSEBja_bD0oZrtT3aNEebGUGUoX9ktC2bF5L07O5fTDGQimZoTwUAAn_km2fIpFjTgb-GALsVhoI/s1600/Capture6.GIF&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPBg9YQCVt83695_AStbMAEgCqzadCvR0TKxpED7ekQiCW2lkiKokk6V10aBjKobJnSEBja_bD0oZrtT3aNEebGUGUoX9ktC2bF5L07O5fTDGQimZoTwUAAn_km2fIpFjTgb-GALsVhoI/s1600/Capture6.GIF&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
hopefully you enjoyed the tutorial... go to the database from the phpmyadmin under the database name specified in the codes. Look for table test_tab.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;color: purple; font-size: x-large;&quot;&gt;******enjoy******&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://princessjohn1989.blogspot.com/feeds/928463401857221040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5411476717192769390/928463401857221040' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default/928463401857221040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default/928463401857221040'/><link rel='alternate' type='text/html' href='http://princessjohn1989.blogspot.com/2014/07/how-to-configure-c-with-mysql-database.html' title='How to configure C++ with MySQL database in Visual C++'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15685013396272123148</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgazIlqSxyvZuE4-_APKhi_Qh4e73Klvz_YpFtLp_VIWsmMcpTDXoCospbWXU0N4fqaW7Hfg8_e1xAxNI4UXXa6eR9KLujOQwuIEFsPdpQ-k7wgGUphCT4tCexGp4_NlfUMRym57aUQbJg/s72-c/Capture1.GIF" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5411476717192769390.post-3544055593370275955</id><published>2013-10-03T12:25:00.001+03:00</published><updated>2013-10-03T12:25:10.326+03:00</updated><title type='text'>How to back up data when windows crash</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Don&#39;t stress up, if your windows fails to start, everything will be normal again.&lt;br /&gt;
&lt;br /&gt;
first of all, you need to have a ubuntu cd or ubuntu boot-able flash&lt;br /&gt;
&lt;br /&gt;
then, press computer power key then press F12, open cd drive and put your ubuntu cd inside your computer.&lt;br /&gt;
&lt;br /&gt;
when ubuntu start, there will be more than two options to select. Don&#39;t select install option, but select try using ubuntu.&lt;br /&gt;
&lt;br /&gt;
Your ubuntu will start as if it was installed, go to my computer or computer and then double click.&lt;br /&gt;
&lt;br /&gt;
You will see your harddisk, then insert your external harddisk for backup.&lt;br /&gt;
&lt;br /&gt;
Open that computer harddisk in which it was having windows before. If you want to backup only your personal data, you can open computer&amp;gt;users&amp;gt;guest/administrator/someone&lt;br /&gt;
&lt;br /&gt;
copy users folder to your external harddisk, after completion you can decide what to do either to install that ubuntu or to recovery your window or to install windows again.&lt;br /&gt;
&lt;br /&gt;
If you want to copy all C:/ directory, you can do that.&lt;br /&gt;
&lt;br /&gt;
Thanks for your time&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://princessjohn1989.blogspot.com/feeds/3544055593370275955/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5411476717192769390/3544055593370275955' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default/3544055593370275955'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default/3544055593370275955'/><link rel='alternate' type='text/html' href='http://princessjohn1989.blogspot.com/2013/10/how-to-back-up-data-when-windows-crash.html' title='How to back up data when windows crash'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15685013396272123148</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5411476717192769390.post-4074083323213542431</id><published>2013-09-15T13:17:00.001+03:00</published><updated>2013-09-15T13:17:10.952+03:00</updated><title type='text'>How to allow printing button to print your bar code direct to the printer in yii?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
If you have bar code generator extension from yii&amp;nbsp;&lt;a href=&quot;http://www.yiiframework.com/extension/barcodegenerator/&quot;&gt;http://www.yiiframework.com/extension/barcodegenerator/&lt;/a&gt;&amp;nbsp;already doing some configuration on it. Then the next step is to print the image when you access this link&amp;nbsp;&lt;span class=&quot;hl-string&quot; style=&quot;border: 0px; color: red; font-family: Menlo, Consolas, &#39;Courier New&#39;, Courier, mono; font-size: 14px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;http://localhost/sampleapps/barcodegenerator/generatebarcode&amp;amp;code=&amp;lt;?php echo &lt;/span&gt;&lt;span class=&quot;hl-var&quot; style=&quot;border: 0px; color: blue; font-family: Menlo, Consolas, &#39;Courier New&#39;, Courier, mono; font-size: 14px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;$_IDUSER&lt;/span&gt;&lt;span class=&quot;hl-string&quot; style=&quot;border: 0px; color: red; font-family: Menlo, Consolas, &#39;Courier New&#39;, Courier, mono; font-size: 14px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;; ?&amp;gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;hl-string&quot; style=&quot;border: 0px; color: red; font-family: Menlo, Consolas, &#39;Courier New&#39;, Courier, mono; font-size: 14px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;First of all you will have your printing button defined as &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;color: blue; font-size: 14px; white-space: pre-wrap;&quot;&gt;$this-&amp;gt;widget(&#39;zii.widgets.jui.CJuiButton&#39;, array(&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;color: blue; font-size: 14px; white-space: pre-wrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;buttonType&#39;=&amp;gt;&#39;button&#39;,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;color: blue; font-size: 14px; white-space: pre-wrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;name&#39;=&amp;gt;&#39;btnPrint&#39;,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;color: blue; font-size: 14px; white-space: pre-wrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;value&#39;=&amp;gt;&#39;1&#39;,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;color: blue; font-size: 14px; white-space: pre-wrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;caption&#39;=&amp;gt;&#39;Print&#39;,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;color: blue; font-size: 14px; white-space: pre-wrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;onclick&#39;=&amp;gt;&#39;js:function(){&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;color: blue; font-size: 14px; white-space: pre-wrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; window.location=&quot;index.php r=controller/action&amp;amp;barcodeno=&#39;.$item-&amp;gt;barcodeno.&#39;&quot;;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;color: blue; font-size: 14px; white-space: pre-wrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return false;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;color: blue; font-size: 14px; white-space: pre-wrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&#39;,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;color: blue; font-size: 14px; white-space: pre-wrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;htmlOptions&#39;=&amp;gt;array(&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;color: blue; font-size: 14px; white-space: pre-wrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;style&#39;=&amp;gt;&#39;color:#28409A;&#39;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;color: blue; font-size: 14px; white-space: pre-wrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ),&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;color: blue; font-size: 14px; white-space: pre-wrap;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ));&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;then to that page which you will be going to display your bar code, it will have an image like this&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;color: red; font-size: 14px; white-space: pre-wrap;&quot;&gt;&amp;lt;div id=&quot;div1&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;&amp;lt;img src=&quot;&amp;lt;?php echo Yii::app()-&amp;gt;request-&amp;gt;baseUrl.&#39;/index.php?r=barcodegenerator/generatebarcode&amp;amp;code=&#39;.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Menlo, Consolas, &#39;Courier New&#39;, Courier, mono; font-size: 14px; white-space: pre-wrap;&quot;&gt;$item-&amp;gt;barcodeno&lt;/span&gt;&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;;?&amp;gt;&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;color: red; font-size: 14px; white-space: pre-wrap;&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;then you will put this code above your div&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;printDivCSS = new String (&#39;&amp;lt;link href=&quot;myprintstyle.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;&amp;gt;&#39;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;&amp;nbsp; &amp;nbsp; window.onload = function printDiv() {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;&amp;nbsp; &amp;nbsp; window.frames[&quot;print_frame&quot;].document.body.innerHTML=printDivCSS + document.getElementById(&#39;div1&#39;).innerHTML&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;&amp;nbsp; &amp;nbsp; window.frames[&quot;print_frame&quot;].window.focus()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;&amp;nbsp; &amp;nbsp; window.frames[&quot;print_frame&quot;].window.print()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-size: 14px; white-space: pre;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-size: 14px; white-space: pre;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;&amp;lt;iframe name=print_frame width=0 height=0 frameborder=0 src=about:blank&amp;gt;&amp;lt;/iframe&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;if you have more questions please subscribe&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Menlo, Consolas, Courier New, Courier, mono;&quot;&gt;&lt;span style=&quot;font-size: 14px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://princessjohn1989.blogspot.com/feeds/4074083323213542431/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5411476717192769390/4074083323213542431' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default/4074083323213542431'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default/4074083323213542431'/><link rel='alternate' type='text/html' href='http://princessjohn1989.blogspot.com/2013/09/how-to-allow-printing-button-to-print.html' title='How to allow printing button to print your bar code direct to the printer in yii?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15685013396272123148</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5411476717192769390.post-2289218850495066443</id><published>2012-03-26T09:45:00.000+03:00</published><updated>2012-03-26T09:45:26.831+03:00</updated><title type='text'>coming soon the continuations of DATA TYPES</title><content type='html'>People were waiting a lot to see and learn the continuations of data type.. We are coming with new speed to let you people happy always.. Keep in mind that floats, Strings, Double, Character and integer are data types which will be working with..&lt;br /&gt;
&lt;br /&gt;
You need to know where exactly you must put the suitable data type into your code.. &lt;br /&gt;
&lt;br /&gt;
For example 2.3, 0.5, 9.4 i will call them floats just because it is number with decimals.. so, for float data type is suitable for numbers with decimals.. float v3 = 2.3; or float v3;&lt;br /&gt;
&lt;br /&gt;
don&#39;t forget about ending you program statement with semicolon (;).&lt;br /&gt;
&lt;br /&gt;
Strings is for group of characters and group of characters you get word.. for example.. apple made of 5 characters which are a, p, p, l, and e.. in character we can code like char ch[4] = {&#39;a&#39;&#39;p&#39;&#39;p&#39;&#39;l&#39;&#39;e&#39;};. in string we can code like String ch = &quot;apple&quot;; remember that character having single quotient and string having double quotients.&lt;br /&gt;
&lt;br /&gt;
integer is for number without decimals... i can say whole number like ...-1, 0, 1, .... so you can code like int num; &lt;br /&gt;
&lt;br /&gt;
so, one step ahead of programming.. and there are many things which surrounds us.. it is great because it is the beginning.. and c is easy language to learn.. you are welcome</content><link rel='replies' type='application/atom+xml' href='http://princessjohn1989.blogspot.com/feeds/2289218850495066443/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5411476717192769390/2289218850495066443' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default/2289218850495066443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default/2289218850495066443'/><link rel='alternate' type='text/html' href='http://princessjohn1989.blogspot.com/2012/03/coming-soon-continuations-of-data-types.html' title='coming soon the continuations of DATA TYPES'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15685013396272123148</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5411476717192769390.post-2922884793233916958</id><published>2012-02-13T00:39:00.004+03:00</published><updated>2012-02-13T00:56:26.315+03:00</updated><title type='text'>more news about the death of WHITNEY HOUSTON</title><content type='html'>&lt;div style=&quot;background-color: pale pink; margin-bottom: 0.5em; margin-top: 0.4em; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;On February 11, 2012, Houston was found dead at the&amp;nbsp;&lt;span style=&quot;color: #0b0080;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-origin: initial;&quot;&gt;Beverly Hilton Hotel&lt;/span&gt;&lt;/span&gt;, in&amp;nbsp;&lt;span style=&quot;color: #0b0080;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-origin: initial;&quot;&gt;Beverly Hills, California&lt;/span&gt;&lt;/span&gt;, of causes not immediately known.&amp;nbsp;According to&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/TMZ.com&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; color: #0b0080; text-decoration: none;&quot; title=&quot;TMZ.com&quot;&gt;TMZ&lt;/a&gt;, Houston was running late to get ready for the pre-Grammy Awards party being held four floors down in the hotel by her mentor, Clive Davis. After her stylists and bodyguards became concerned that Houston was in the bathroom for over an hour, they knocked on the door but Houston did not answer back. A female hairdresser went to check on Houston and quickly screamed as she discovered Houston in the bathtub. A bodyguard came in and quickly pulled Houston out of the bathtub. It was reported that Houston&#39;s face was underwater and her legs were up like she had slid down the back of the bathtub. Her body was reported to be very cold as her bodyguard attempted to perform unsuccessful&amp;nbsp;&lt;a class=&quot;mw-redirect&quot; href=&quot;http://en.wikipedia.org/wiki/CPR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; color: #0b0080; text-decoration: none;&quot; title=&quot;CPR&quot;&gt;CPR&lt;/a&gt;&amp;nbsp;before alerting hotel security.&amp;nbsp;Beverly Hills paramedics arrived shortly after and found the singer unresponsive and performed CPR for about 20 minutes before declaring her dead at 3:55 p.m.&amp;nbsp;&lt;a class=&quot;mw-redirect&quot; href=&quot;http://en.wikipedia.org/wiki/Pacific_Standard_Time&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Pacific Standard Time&quot;&gt;PST&lt;/a&gt;.Local police said there were &quot;no obvious signs of criminal intent&quot;.&lt;/span&gt;&lt;span style=&quot;line-height: 10px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;Although no illegal drugs were found, about a half dozen pill bottles were removed from the scene including,&amp;nbsp;&lt;/span&gt;&lt;a class=&quot;mw-redirect&quot; href=&quot;http://en.wikipedia.org/wiki/Xanax&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; color: #0b0080; line-height: 19px; text-decoration: none;&quot; title=&quot;Xanax&quot;&gt;Xanax&lt;/a&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;. Authorities speculate that a combination of Xanax and alcohol could have fatally sedated Houston and she may have fallen asleep or lapsed into unconsciousness in the bathtub and drowned although nothing has been confirmed and it is too early to tell the actual cause of death. An autopsy is scheduled for February 12, 2012, although any results will be deferred pending a toxicology report.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: pale pink; margin-bottom: 0.5em; margin-top: 0.4em; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;On the Thursday before her death, Houston visited singers&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/Brandy_Norwood&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Brandy Norwood&quot;&gt;Brandy&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/Monica_(entertainer)&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Monica (entertainer)&quot;&gt;Monica&lt;/a&gt;, together with Clive Davis, at their rehearsals for Davis&#39; pre-Grammy Awards party. A reporter for the&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/Los_Angeles_Times&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Los Angeles Times&quot;&gt;Los Angeles Times&lt;/a&gt;&amp;nbsp;reported that Houston was reeking of alcohol and looked very bloated and disheveled, wearing mismatched clothing with her hair dripping of either water or sweat.&lt;/span&gt;&lt;span style=&quot;line-height: 10px; white-space: nowrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;During the two singers&#39; rehearsal, Houston was seen skipping around the lobby or wandering aimlessly around the hotel ground. At one point guests of the hotel became so concerned that they reported her behavior to security after she was seen doing handstands by the hotel pool. Houston attended a party that evening held by&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Kelly_Price&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; color: #0b0080; line-height: 19px; text-decoration: none;&quot; title=&quot;Kelly Price&quot;&gt;Kelly Price&lt;/a&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&amp;nbsp;at Tru nightclub in&amp;nbsp;&lt;/span&gt;&lt;a class=&quot;mw-redirect&quot; href=&quot;http://en.wikipedia.org/wiki/Hollywood,_California&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; color: #0b0080; line-height: 19px; text-decoration: none;&quot; title=&quot;Hollywood, California&quot;&gt;Hollywood, California&lt;/a&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;. A scuffle was narrowly avoided with singer&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Stacy_Francis&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; color: #0b0080; line-height: 19px; text-decoration: none;&quot; title=&quot;Stacy Francis&quot;&gt;Stacy Francis&lt;/a&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;. Reports say that Houston got belligerent and her boyfriend Ray J was forced to step in, although he defended Francis. Houston attempted to raise her hand, but was calmed down. Later in the evening, Houston gave what is now her final onstage performance when she took to the stage along with Price for a one minute performance of &quot;&lt;/span&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Jesus_Loves_Me&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; color: #0b0080; line-height: 19px; text-decoration: none;&quot; title=&quot;Jesus Loves Me&quot;&gt;Jesus Loves Me&lt;/a&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&quot;. Houston was photographed leaving the club clearly intoxicated with scratches and blood stains on her legs, although it is unknown where those came from.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: pale pink; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;The Clive Davis party that Houston was expected to attend and which featured many of the biggest names in music and movies, went on as scheduled though was quickly turned into a tribute to Houston. Davis spoke to those attending the party about Houston&#39;s passing by saying at evening&#39;s start, &quot;By now you have all learned of the unspeakably tragic news of our beloved Whitney’s passing. I don&#39;t have to mask my emotion in front of a room full of so many dear friends. I am personally devastated by the loss of someone who has meant so much to me for so many years. Whitney was so full of life. She was so looking forward to tonight even though she wasn&#39;t scheduled to perform. Whitney was a beautiful person and a talent beyond compare. She graced this stage with her regal presence and gave so many memorable performances here over the years. Simply put, Whitney would have wanted the music to go on and her family asked that we carry on.&quot;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: pale pink; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Tony_Bennett&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Tony Bennett&quot;&gt;Tony Bennett&lt;/a&gt;&amp;nbsp;spoke of Houston&#39;s passing before performing at Davis&#39; party by saying &quot;First it was&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/Michael_Jackson&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Michael Jackson&quot;&gt;Michael Jackson&lt;/a&gt;, then&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/Amy_Winehouse&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Amy Winehouse&quot;&gt;Amy Winehouse&lt;/a&gt;, now, the magnificent Whitney Houston. I&#39;d like every person in this room to campaign to legalize drugs. Let&#39;s legalize drugs like they did in&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/Amsterdam&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Amsterdam&quot;&gt;Amsterdam&lt;/a&gt;. No one&#39;s hiding or sneaking around corners to get it. They go to a doctor to get it.&quot; Bennett, who battled drug addiction in the 1970s, went on to perform &quot;&lt;a href=&quot;http://en.wikipedia.org/wiki/How_Do_You_Keep_the_Music_Playing%3F&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;How Do You Keep the Music Playing?&quot;&gt;How Do You Keep the Music Playing?&lt;/a&gt;&quot; in honor of Houston and her long battle with drug addiction. &quot;This is a song&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/Frank_Sinatra&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Frank Sinatra&quot;&gt;Frank Sinatra&lt;/a&gt;&amp;nbsp;asked me to sing,&quot; Bennett told the crowd. &quot;I&#39;d like to dedicate it to Whitney. When I first heard her, I called (producer) Clive Davis and said, &#39;You finally found the greatest singer I&#39;ve ever heard in my life.&#39;&quot;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: pale pink; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Several other celebrities released statements responding to Houston&#39;s death.&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/Dolly_Parton&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Dolly Parton&quot;&gt;Dolly Parton&lt;/a&gt;, whose song &quot;&lt;a href=&quot;http://en.wikipedia.org/wiki/I_Will_Always_Love_You&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;I Will Always Love You&quot;&gt;I Will Always Love You&lt;/a&gt;&quot; was covered by Houston, said, &quot;I will always be grateful and in awe of the wonderful performance she did on my song and I can truly say from the bottom of my heart, &#39;Whitney, I will always love you. You will be missed&#39;.&quot; Houston&#39;s godmother&lt;a href=&quot;http://en.wikipedia.org/wiki/Aretha_Franklin&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Aretha Franklin&quot;&gt;Aretha Franklin&lt;/a&gt;&amp;nbsp;said, &quot;It&#39;s so stunning and unbelievable. I couldn&#39;t believe what I was reading coming across the TV screen.&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;thumb tright&quot; style=&quot;background-color: white; clear: right; float: right; line-height: 19px; margin-bottom: 1.3em; margin-left: 1.4em; margin-right: 0px; margin-top: 0.5em; width: auto;&quot;&gt;&lt;div class=&quot;thumbinner&quot; style=&quot;background-color: #f9f9f9; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; min-width: 100px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 3px !important; padding-left: 3px !important; padding-right: 3px !important; padding-top: 3px !important; text-align: center; width: 222px;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;a class=&quot;image&quot; href=&quot;http://en.wikipedia.org/wiki/File:Whitney_Houston_tribute_image,_SNL_broadcast_moment_of_silence_,_2012.2.11.jpg&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; color: #0b0080; text-decoration: none;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;thumbimage&quot; height=&quot;124&quot; src=&quot;http://upload.wikimedia.org/wikipedia/en/thumb/0/00/Whitney_Houston_tribute_image%2C_SNL_broadcast_moment_of_silence_%2C_2012.2.11.jpg/220px-Whitney_Houston_tribute_image%2C_SNL_broadcast_moment_of_silence_%2C_2012.2.11.jpg&quot; style=&quot;background-color: white; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; border-width: initial; vertical-align: middle;&quot; width=&quot;220&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;thumbcaption&quot; style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; line-height: 1.4em; padding-bottom: 3px !important; padding-left: 3px !important; padding-right: 3px !important; padding-top: 3px !important; text-align: left;&quot;&gt;&lt;div class=&quot;magnify&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-style: none !important; border-color: initial !important; border-image: initial !important; border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; border-width: initial !important; float: right;&quot;&gt;&lt;a class=&quot;internal&quot; href=&quot;http://en.wikipedia.org/wiki/File:Whitney_Houston_tribute_image,_SNL_broadcast_moment_of_silence_,_2012.2.11.jpg&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-style: none !important; border-color: initial !important; border-image: initial !important; border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; border-width: initial !important; color: #0b0080; display: block; text-decoration: none;&quot; title=&quot;Enlarge&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;11&quot; src=&quot;http://bits.wikimedia.org/skins-1.18/common/images/magnify-clip.png&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; border-bottom-style: none !important; border-color: initial !important; border-color: initial; border-image: initial !important; border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; border-width: initial !important; border-width: initial; display: block; text-align: justify; vertical-align: middle;&quot; width=&quot;15&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;i style=&quot;line-height: 1.4em;&quot;&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Saturday_Night_Live&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Saturday Night Live&quot;&gt;SNL&lt;/a&gt;&lt;/i&gt;&lt;span style=&quot;line-height: 1.4em;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;line-height: 1.4em;&quot;&gt;tribute image&lt;/span&gt;&lt;span style=&quot;line-height: 1.4em;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Molly_Shannon&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; color: #0b0080; line-height: 1.4em; text-decoration: none;&quot; title=&quot;Molly Shannon&quot;&gt;Molly Shannon&lt;/a&gt;&lt;span style=&quot;line-height: 1.4em;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;line-height: 1.4em;&quot;&gt;and Houston, from her 1996 appearance.&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: pale pink; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Moments after news of her death leaked out,&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/CNN&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;CNN&quot;&gt;CNN&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/MSNBC&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;MSNBC&quot;&gt;MSNBC&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a class=&quot;mw-redirect&quot; href=&quot;http://en.wikipedia.org/wiki/Fox_News&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Fox News&quot;&gt;Fox News&lt;/a&gt;&amp;nbsp;all broke from their reguarly scheduled programming to dedicate non-stop cover of Houston&#39;s passing. All three featured live interviews with people who knew Houston including those that have worked with her, interviewed her along with some of her peers in the music industry.&amp;nbsp;&lt;i&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Saturday_Night_Live&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Saturday Night Live&quot;&gt;Saturday Night Live&lt;/a&gt;&lt;/i&gt;&amp;nbsp;displayed a still photo (pictured) in silent reverence of a smiling and beautiful Houston, alongside&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/Molly_Shannon&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Molly Shannon&quot;&gt;Molly Shannon&lt;/a&gt;, from her 1996 appearance.&amp;nbsp;MTV and VH-1 interrupted their reguarly scheduled programming on Sunday February 12 to air many of Houston&#39;s classic videos with MTV often airing news segments inbetween and featuring various reactions from fans and celebrities.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: pale pink; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Houston&#39;s former husband,&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/Bobby_Brown&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Bobby Brown&quot;&gt;Bobby Brown&lt;/a&gt;, was reported to be &quot;in and out of crying fits&quot; since receiving the news. He did not cancel a scheduled performance and within hours of his ex-wife&#39;s sudden death, an audience in Mississippi observed as Brown blew kisses skyward, tearfully saying: &quot;I love you, Whitney&quot;.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: pale pink; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Ken Ehrlich, executive producer of the&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/54th_Grammy_Awards&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;54th Grammy Awards&quot;&gt;54th Grammy Awards&lt;/a&gt;&amp;nbsp;announced that&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/Jennifer_Hudson&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Jennifer Hudson&quot;&gt;Jennifer Hudson&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/Chaka_Khan&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Chaka Khan&quot;&gt;Chaka Khan&lt;/a&gt;&amp;nbsp;would perform a tribute to Houston at the February 12, 2012, awards. He said &quot;event organizers believed Hudson — an Academy Award-winning actress and Grammy Award-winning artist — could perform a respectful musical tribute to Houston&quot;. Ehrlich went on to say: &quot;It&#39;s too fresh in everyone&#39;s memory to do more at this time, but we would be remiss if we didn&#39;t recognize Whitney&#39;s remarkable contribution to music fans in general, and in particular her close ties with the Grammy telecast and her Grammy wins and nominations over the years&quot;.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: pale pink; margin-bottom: 0.5em; margin-top: 0.4em; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; line-height: 10px;&quot;&gt;&lt;b&gt;FROM WIKIPEDIA&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://princessjohn1989.blogspot.com/feeds/2922884793233916958/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5411476717192769390/2922884793233916958' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default/2922884793233916958'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default/2922884793233916958'/><link rel='alternate' type='text/html' href='http://princessjohn1989.blogspot.com/2012/02/more-news-about-death-of-whitney.html' title='more news about the death of WHITNEY HOUSTON'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15685013396272123148</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5411476717192769390.post-7346363847430978509</id><published>2012-02-12T23:49:00.001+03:00</published><updated>2012-02-13T01:09:37.377+03:00</updated><title type='text'>RIP Whitney Houston, i remember her by this song, I WILL ALWAYS LOVE YOU</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.blogger.com/video.g?token=AD6v5dzT_2fIRdUw01-qhh6qgGnpCyuvojkdgbWLquByp_VLuKzJTfrYUiQ5K_ag-yPwUXQi-lKft76IcbfpR5_cEQ&#39; class=&#39;b-hbp-video b-uploaded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b&gt;I WILL ALWAYS LOVE YOU LYRICS&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;If I should stay,&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;I would only be in your way.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;So I&#39;ll go, but I know&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;I&#39;ll think of you ev&#39;ry step of the way.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;And I will always love you.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;I will always love you.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;You, my darling you. Hmm.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;Bittersweet memories&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;that is all I&#39;m taking with me.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;So, goodbye. Please, don&#39;t cry.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;We both know I&#39;m not what you, you need.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;And I will always love you.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;I will always love you.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;(Instrumental solo)&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;I hope life treats you kind&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;And I hope you have all you&#39;ve dreamed of.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;And I wish to you, joy and happiness.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;But above all this, I wish you love.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;And I will always love you.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;I will always love you.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;I will always love you.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;I will always love you.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;I will always love you.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;I, I will always love you.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;You, darling, I love you.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot; /&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;Ooh, I&#39;ll always, I&#39;ll always love you.&amp;nbsp;&lt;/span&gt; &lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;&lt;b&gt;more details details about her death you can click this link below&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;background-color:pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;&lt;b&gt;&lt;a href=&quot;http://www.dlisted.com/2012/02/12/more-details-about-death-whitney-houston&quot; target=&quot;_blank&quot;&gt;http://www.dlisted.com/2012/02/12/more-details-about-death-whitney-houston&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;background-color: pale pink; font-family: verdana, arial, helvetica; font-size: 12px; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://princessjohn1989.blogspot.com/feeds/7346363847430978509/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5411476717192769390/7346363847430978509' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default/7346363847430978509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default/7346363847430978509'/><link rel='alternate' type='text/html' href='http://princessjohn1989.blogspot.com/2012/02/rip-whitney-houston-i-remember-her-by.html' title='RIP Whitney Houston, i remember her by this song, I WILL ALWAYS LOVE YOU'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15685013396272123148</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5411476717192769390.post-6485577648214678776</id><published>2012-02-02T00:22:00.000+03:00</published><updated>2012-02-02T00:22:39.569+03:00</updated><title type='text'>How to Succeed in Your Life - wikiHow</title><content type='html'>&lt;a href=&quot;http://www.wikihow.com/Succeed-in-Your-Life&quot;&gt;How to Succeed in Your Life - wikiHow&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://princessjohn1989.blogspot.com/feeds/6485577648214678776/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5411476717192769390/6485577648214678776' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default/6485577648214678776'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default/6485577648214678776'/><link rel='alternate' type='text/html' href='http://princessjohn1989.blogspot.com/2012/02/how-to-succeed-in-your-life-wikihow.html' title='How to Succeed in Your Life - wikiHow'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15685013396272123148</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5411476717192769390.post-3027597171129217701</id><published>2012-01-31T20:29:00.003+03:00</published><updated>2012-01-31T23:07:39.310+03:00</updated><title type='text'>C Data Type</title><content type='html'>As in other c languages, data can be of two types:&lt;br /&gt;
i) Constant and ii) Variables&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Constant&lt;/b&gt;&lt;br /&gt;
This does not change it&#39;s value in the program&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Types of Constant&lt;/b&gt;&lt;br /&gt;
i) Integer, eg: 8, 100, -3 //whole numbers both of negative and positive&lt;br /&gt;
ii) Float, eg: 0.34, 0.9, 5.9 //numbers with fractional path&lt;br /&gt;
iii) Character, eg: &#39;z&#39;, &#39;w&#39;, &#39;T&#39;, &#39;*&#39; //any character enclosed in a quotation marks&lt;br /&gt;
iv) String, eg: &quot;abc&quot;, &quot;A100&quot;, &quot;I&quot; //one more characters enclosed with double quotation marks&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Variables&lt;/b&gt;&lt;br /&gt;
This can vary its values in the program. It is defined by giving a data type and a name.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/*program number 1*/&lt;br /&gt;
1. main()&lt;br /&gt;
2. {&lt;br /&gt;
3.   int v1;&lt;br /&gt;
4.   float v2 ;&lt;br /&gt;
5.   char v3;&lt;br /&gt;
6.   v1 = 65;&lt;br /&gt;
7.   v2 = -18.23;&lt;br /&gt;
8.   v3 = &#39;a&#39;;&lt;br /&gt;
9. }&lt;br /&gt;
&lt;br /&gt;
The line on the left hand side are for reference only are not in the program. This will let us to read easly our program.&lt;br /&gt;
&lt;br /&gt;
main() is where the program will start to execute and it will appear once in the program.&lt;br /&gt;
&lt;br /&gt;
main() must contain open and close braces { } from line 2 and line 9. Within braces there are statements which are end with ; (semicolon). &lt;br /&gt;
&lt;br /&gt;
Lines 3, 4, and 5 in this program defines variables which are v1, v2 and v3. You can give a variable any name you wish, but bare in mind that each naming variable has got its own rules.&lt;br /&gt;
&lt;br /&gt;
RULES FOR NAMING VARIABLES:&lt;br /&gt;
1. A variable name ca only be constructed using letters(a-z, A-Z), numerals(0-9) or underscores (_).&lt;br /&gt;
2. A variable name must start with a letter or an underscore.&lt;br /&gt;
3. A variable name can not be a C keywords. A keyword is a word that has a special meaning.&lt;br /&gt;
4. A variable name can contain any number of characters, but only the first thirty-one characters are significant to the C compiler.&lt;br /&gt;
&lt;br /&gt;
Some examples of variable names:&lt;br /&gt;
&lt;br /&gt;
variable names:&lt;br /&gt;
&lt;br /&gt;
month_1_sales // This is a valid variable name.&lt;br /&gt;
month1sales  //valid, but not as readable as month_1_sales.&lt;br /&gt;
1st_month_sales //invalid, the name does not start with a letter or underscore.&lt;br /&gt;
month 1 sales%  //Invalid, spaces and % are not allowed&lt;br /&gt;
xyz //valid, but variable names should be meaningful&lt;br /&gt;
SalesForThisweek //Valid and meaningful.&lt;br /&gt;
int  //Invalid, this is a keyword.&lt;br /&gt;
&lt;br /&gt;
Line 3 to 5 from program 1 above define v1 as integer variable, v2 as a floating-point (can hold decimals) variable, and v3 as acharacter variable. Note that variable names are case sensitive that is the variable V1 is different from the variable v1.&lt;br /&gt;
&lt;br /&gt;
Lines 6 to 8 of the program assign values to the variables. The value assigned to each variable is stored in the computer&#39;s memory.</content><link rel='replies' type='application/atom+xml' href='http://princessjohn1989.blogspot.com/feeds/3027597171129217701/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5411476717192769390/3027597171129217701' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default/3027597171129217701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default/3027597171129217701'/><link rel='alternate' type='text/html' href='http://princessjohn1989.blogspot.com/2012/01/c-data-type.html' title='C Data Type'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15685013396272123148</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5411476717192769390.post-6464402289749877137</id><published>2011-12-05T00:14:00.000+03:00</published><updated>2011-12-05T00:14:49.559+03:00</updated><title type='text'>ALGORITHM AND FLOW CHARTS</title><content type='html'>Hello once again, i hope you enjoyed your weekend. I am back again..&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;programming continues...&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
When you are given a question to code you don&#39;t even start to code because it is not good approach for the programmer to do that. A problem should have &lt;b&gt;input&lt;/b&gt;, &lt;b&gt;process&lt;/b&gt; and &lt;b&gt;output&lt;/b&gt;. &lt;br /&gt;
&lt;b&gt;Input&lt;/b&gt; is where you put user input, e.g if you are calculating Area of a triangle then user input will be height and width.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;process&lt;/b&gt; is where you put a formula for calculating that area of triangle. e.g Area = 1/2 x height x width.&lt;br /&gt;
&lt;br /&gt;
finally, there is &lt;b&gt;output&lt;/b&gt;... where it will display Area of that triangle.&lt;br /&gt;
&lt;br /&gt;
so, in order for you to code anything you need to specify those three things first.&lt;br /&gt;
&lt;br /&gt;
okay... there are two things which are algorithm and flow charts. These things are not so much far from three things i mentioned about. but here there are little things which will be added.&lt;br /&gt;
&lt;br /&gt;
A typical programming task can be divided into phases&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&gt;problem solving phase&lt;/b&gt;&lt;br /&gt;
produce an ordered sequence of steps that describe solution of problem. This sequence  of steps is called &lt;b&gt;Algorithm.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&gt;Implementation phase&lt;/b&gt;&lt;br /&gt;
Implement the program in some programming language&lt;br /&gt;
&lt;br /&gt;
&lt;h3 align= &quot;center&quot;&gt;&lt;b&gt;steps in problem solving&lt;/b&gt;&lt;/h3&gt;&gt;First produce a general algorithm(one can use &lt;b&gt;pseudocode&lt;/b&gt;)&lt;br /&gt;
&gt;Refine the algorithm successively to get step by step detailed &lt;b&gt;algorithm&lt;/b&gt; that is very close to a computer language.&lt;br /&gt;
&gt;&lt;b&gt;Pseudocode&lt;/b&gt; is an artificial and informal language that helps programmers develop algorithms pseudocode is very similar to everyday English.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Example of Pseudocode &amp; algorithm&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
write an algorithm to determine a student&#39;s final grade and indicate whether it is passing or falling. The final grade is calculated as the average of four marks.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;solution&lt;br /&gt;
pseudocode&lt;/b&gt;&lt;br /&gt;
&gt;input a set of 4 marks&lt;br /&gt;
&gt;calculate their average by summing and dividing by 4&lt;br /&gt;
&gt;if average is below 50&lt;br /&gt;
print &#39;FAIL&#39;&lt;br /&gt;
else &lt;br /&gt;
print &#39;PASS&#39;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;detailed algorithm&lt;/b&gt;&lt;br /&gt;
step 1  input M1, M2, M3, M4&lt;br /&gt;
step 2  GRADE&lt;- (M1 + M2 + M3 + M4)/4
step 3  if(GRADE &lt; 50) then
     print &#39;FAIL&#39;
else 
print &#39;PASS&#39;
endif

&lt;h3 align = &quot;center&quot;&gt;&lt;b&gt;THE FLOWCHART&lt;/b&gt;&lt;/h3&gt;This is the graphical representation od the sequence of operations in an information system or program. Program flowcharts show the sequence of instructions in a single program or subroutine. Different symbols are used to draw each type of flowcharts.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Advantage of flow chart&lt;/b&gt;&lt;br /&gt;
&gt; shows logic of an algorithm&lt;br /&gt;
&gt; emphasizes individual steps and their interconnections&lt;br /&gt;
&gt;e.g control flow from one action to the next&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Flowchart Symbols&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3qvbYEzkQbz530fj3jdKCSnaNKqYQa9lxErnBzyx90LfENNRLKRNaapdSSB8Qe8PInMYh2weBXlddYoTWwgr8ZfZdIwTSSS5kz9AMngrSJDN8yd4KtPQXYvRJ6djNjYYw_6mFETs1PaU/s1600/f5_02.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;276&quot; width=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3qvbYEzkQbz530fj3jdKCSnaNKqYQa9lxErnBzyx90LfENNRLKRNaapdSSB8Qe8PInMYh2weBXlddYoTWwgr8ZfZdIwTSSS5kz9AMngrSJDN8yd4KtPQXYvRJ6djNjYYw_6mFETs1PaU/s320/f5_02.gif&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
i am going to find for you more materials of flowcharts. i hope you will enjoy a lot.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;to be continues........&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://princessjohn1989.blogspot.com/feeds/6464402289749877137/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5411476717192769390/6464402289749877137' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default/6464402289749877137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default/6464402289749877137'/><link rel='alternate' type='text/html' href='http://princessjohn1989.blogspot.com/2011/12/algorithm-and-flow-charts.html' title='ALGORITHM AND FLOW CHARTS'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15685013396272123148</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3qvbYEzkQbz530fj3jdKCSnaNKqYQa9lxErnBzyx90LfENNRLKRNaapdSSB8Qe8PInMYh2weBXlddYoTWwgr8ZfZdIwTSSS5kz9AMngrSJDN8yd4KtPQXYvRJ6djNjYYw_6mFETs1PaU/s72-c/f5_02.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5411476717192769390.post-2684959155580393524</id><published>2011-12-03T00:30:00.001+03:00</published><updated>2011-12-03T20:16:12.549+03:00</updated><title type='text'>No programming today</title><content type='html'>Today i am a little bit tired, i can not make it. But i have one thing to tell you guys. Whenever you got something to say now say it now because tomorrow will not come. Don&#39;t carry things in your heart, try to judge and seek for the solution. Don&#39;t wait for tomorrow i won&#39;t be able to answer either. &lt;br /&gt;
&lt;br /&gt;
Always know that you are good and you can make it. Programming is easy to understand and even to code. If you have any question of programming i welcome you to share with society in my blog. We are here to learn not to be afraid of learning. Don&#39;t wait for the government to emphasize you, when you have all ability to do wonder things that you think that you can not do now.</content><link rel='replies' type='application/atom+xml' href='http://princessjohn1989.blogspot.com/feeds/2684959155580393524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5411476717192769390/2684959155580393524' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default/2684959155580393524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default/2684959155580393524'/><link rel='alternate' type='text/html' href='http://princessjohn1989.blogspot.com/2011/12/no-programming-today.html' title='No programming today'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15685013396272123148</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5411476717192769390.post-8509923999184152631</id><published>2011-11-17T13:37:00.001+03:00</published><updated>2011-12-01T21:36:54.487+03:00</updated><title type='text'>C Programming Introduction</title><content type='html'>I am going to teach you &lt;b&gt;C programming Introduction&lt;/b&gt; as &lt;b&gt;CHAPTER ONE&lt;/b&gt;. So, you should ask your self now that &lt;b&gt;What is Programming?&lt;/b&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_8Dk-rN9QZleH0pP_ly8f8EQHdLNd6JaYHpEx1IQyxI6F_Gvlgtv1ZoCfP78GnqV7TAS0oaJcV26Hh7aM2B3ee2l2_Xb1T1RwBAvIOMhbsO4YweKcV3xdHtouN7BRmG1SGL7oJqkb9_o/s1600/IMG0027.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear:right; float:right; margin-left:1em; margin-bottom:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; width=&quot;280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_8Dk-rN9QZleH0pP_ly8f8EQHdLNd6JaYHpEx1IQyxI6F_Gvlgtv1ZoCfP78GnqV7TAS0oaJcV26Hh7aM2B3ee2l2_Xb1T1RwBAvIOMhbsO4YweKcV3xdHtouN7BRmG1SGL7oJqkb9_o/s320/IMG0027.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Programming&lt;/b&gt; - This is the creative process done by &lt;b&gt;programmers&lt;/b&gt; to instruct a computer on how to do a task. Sometimes you can ask yourself that which task computer can do, but i want to tell you that as long as you are here in My sweet programming everything will be easy for you. You will know how to program things in daily life.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Programmers&lt;/b&gt; - These are people who write &lt;b&gt;code&lt;/b&gt; to instruct a computer what to do and how to do. Example: sometimes you could have a problem like to calculate the addition of two numbers. As a programmer you need to write a code which will calculate the addition to the computer. computer as it is doesn&#39;t know what to do unless you tell what to do and how to do. Everything in the computer is programmed that is why when you are using a calculator in a computer can compute any calculation. This is due to programming.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;code&lt;/b&gt; - is the computer instruction written in programming language. A programming language can be c, c++, java, c#, python, rubi etc.&lt;br /&gt;
&lt;br /&gt;
Life is easy when you are a programmer. Because you can simplify life when you are that person.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Programming language&lt;/b&gt; - this is the artificial language designed to communicate instructions to a machine particular computer.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;categories of programming language&lt;/b&gt; &lt;br /&gt;
&gt;Machine language&lt;br /&gt;
&gt;Assembly Language&lt;br /&gt;
&gt;High level language&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Machine Language&lt;/b&gt; &lt;br /&gt;
&gt;This is the short for computing machine&lt;br /&gt;
&gt;Computers native language&lt;br /&gt;
&gt;sequence of zeroes and ones(binary)&lt;br /&gt;
&gt;Hard for human to understand&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Assembly Language&lt;/b&gt;&lt;br /&gt;
&gt;It is hard for human to understand&lt;br /&gt;
&gt;low level each instruction is minimal&lt;br /&gt;
&gt;Example of assembly language ADD l d0,d2&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;High level Language&lt;/b&gt; &lt;br /&gt;
&gt;High level each instruction composed of many low level instruction&lt;br /&gt;
&gt;closer to English and algebra&lt;br /&gt;
&gt;Easier to read and understand&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;To be continued..................&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://princessjohn1989.blogspot.com/feeds/8509923999184152631/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5411476717192769390/8509923999184152631' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default/8509923999184152631'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5411476717192769390/posts/default/8509923999184152631'/><link rel='alternate' type='text/html' href='http://princessjohn1989.blogspot.com/2011/11/which-programming-language.html' title='C Programming Introduction'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15685013396272123148</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_8Dk-rN9QZleH0pP_ly8f8EQHdLNd6JaYHpEx1IQyxI6F_Gvlgtv1ZoCfP78GnqV7TAS0oaJcV26Hh7aM2B3ee2l2_Xb1T1RwBAvIOMhbsO4YweKcV3xdHtouN7BRmG1SGL7oJqkb9_o/s72-c/IMG0027.jpg" height="72" width="72"/><thr:total>1</thr:total></entry></feed>