<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-19349277</id><updated>2011-04-21T23:28:00.293+05:30</updated><category term='C++'/><category term='test post'/><title type='text'>codes spot</title><subtitle type='html'>My spots for putting up idea's and generic code's and custom codes....

"... Time is evolution, we are part of the evolution ..."</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.codesspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19349277/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://www.codesspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>abhay menon</name><uri>http://www.blogger.com/profile/13080484292802868482</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-19349277.post-5987373267781609427</id><published>2009-02-14T18:56:00.000+05:30</published><updated>2009-02-14T18:59:47.677+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='test post'/><title type='text'>my new dimension</title><content type='html'>Hi,&lt;br/&gt;&lt;br/&gt;Awaken after long long sleep. To speed up things.  &lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Testing this post to see if I can use iblogger for my post&lt;div class="iblogger-footer"&gt;&lt;br clear="all"/&gt;&lt;p style="text-align:right;font-size:10px;"&gt;[Posted with &lt;a href="http://illuminex.com/iBlogger/index.html"&gt;iBlogger&lt;/a&gt; from my iPhone]&lt;/p&gt;&lt;br/&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19349277-5987373267781609427?l=www.codesspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.codesspot.com/feeds/5987373267781609427/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19349277&amp;postID=5987373267781609427' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19349277/posts/default/5987373267781609427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19349277/posts/default/5987373267781609427'/><link rel='alternate' type='text/html' href='http://www.codesspot.com/2009/02/my-new-dimension.html' title='my new dimension'/><author><name>abhay menon</name><uri>http://www.blogger.com/profile/13080484292802868482</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19349277.post-113307850230730639</id><published>2005-11-27T13:10:00.000+05:30</published><updated>2009-02-16T14:47:15.888+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++'/><title type='text'>My First Generosity - split function</title><content type='html'>Here My first try to put some useful VC++ code..&lt;br /&gt;&lt;br /&gt;This is function which similar to VB Split command more or less of STRTOK with output as an array.&lt;br /&gt;&lt;br /&gt;If need include this as I am using CString for an array out.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;//#include &amp;lt;afx.h&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;//#include &amp;lt;afxcmn.h&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;/pre&gt;&lt;br /&gt;Function here follows.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;CString *split(CString str,char delimiter)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;    long len=0;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;    &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;    if(str.IsEmpty())&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;        return NULL;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;    len=str.GetLength();&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;    &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;    CString *st;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;    st=new CString[len];&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;    int c=0;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;    while(1)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;    {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;        int pos=str.Find(delimiter);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;        if(pos!=-1)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;        {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;            st[c]=str.Left(pos);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;            str.Delete(0,pos+1);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;        }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;        else&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;        {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;            st[c]=str;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;            break;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;        }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;        c++;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;    }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;    &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;    return st;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;}&lt;/span&gt;&lt;/blockquote&gt;&lt;/pre&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;&lt;/span&gt;This function can be used with different delimiters, as an example here below:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;CString strFulltext = "Hello World this is Abhay Menon";&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;CString *strArry = split(strFulltext,' ');&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;output like:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 153, 51);"&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style="color: rgb(204, 153, 51);"&gt;strArray[0]="Hello"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 153, 51);"&gt;strArray[1]="World"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 153, 51);"&gt;strArray[2]="this"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 153, 51);"&gt;strArray[3]="is"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 153, 51);"&gt;strArray[4]="Abhay"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 153, 51);"&gt;strArray[5]="Menon"&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Well hope you like this piece of code..&lt;br /&gt;&lt;br /&gt;Regards&lt;br /&gt;&lt;br /&gt;Abhay M&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19349277-113307850230730639?l=www.codesspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.codesspot.com/feeds/113307850230730639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19349277&amp;postID=113307850230730639' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19349277/posts/default/113307850230730639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19349277/posts/default/113307850230730639'/><link rel='alternate' type='text/html' href='http://www.codesspot.com/2005/11/my-first-generosity-split-function.html' title='My First Generosity - split function'/><author><name>abhay menon</name><uri>http://www.blogger.com/profile/13080484292802868482</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19349277.post-113307611700350234</id><published>2005-11-27T12:22:00.000+05:30</published><updated>2005-11-27T12:51:57.013+05:30</updated><title type='text'>About Myself</title><content type='html'>&lt;div  style="text-align: justify;font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;Hello All,&lt;br /&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;span style="font-size:85%;"&gt;Am Abhay Menon from Delhi,India.&lt;br /&gt;Am a computer freak since childhood. This has been my hobby.&lt;br /&gt;&lt;br /&gt;Which now has turned to profession.&lt;br /&gt;&lt;br /&gt;I present work for a company called RMSI.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div  style="text-align: justify;font-family:verdana;"&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size:85%;"&gt;My domain of programming out here is into VC++ and ObjectARX.&lt;br /&gt;Other than that also having been doing some coding in VC# and PL/SQL in Oracle 10.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;More of the time I am always into this so most of my passtime is in and around the computer&lt;br /&gt;like: Hardware tweaking, Listening to Music, Games (PC), and ofcourse learning something new.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 153, 153);font-family:verdana;" &gt;I created this blog spot for a reason to share my idea and code which I make as generic function useful for fellow programmer and alike.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;So just watch this spot for some interesting code which might be useful for someone or the other.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Regards &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Abhay M&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style="font-family:verdana;"&gt;"if one dream should fall and break into a thousand pieces,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;never be afraid to pick those pieces up and begin again"&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19349277-113307611700350234?l=www.codesspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.codesspot.com/feeds/113307611700350234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19349277&amp;postID=113307611700350234' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19349277/posts/default/113307611700350234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19349277/posts/default/113307611700350234'/><link rel='alternate' type='text/html' href='http://www.codesspot.com/2005/11/about-myself.html' title='About Myself'/><author><name>abhay menon</name><uri>http://www.blogger.com/profile/13080484292802868482</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
