<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
<title>W3Exchange : Script Forums : C/C++</title>
<link>http://www.w3exchange.com</link>
<description> W3Exchange</description>
<language>en</language>
<docs>http://backend.userland.com/rss</docs>
<item>
<title>Remove whitespace from text file in Script Forums : C/C++</title>
<link>http://www.w3exchange.com/view_topic.php?pid=7039#7039</link>
<guid isPermaLink="false">7039@http://www.w3exchange.com</guid>
<description>Topic: Remove whitespace from text file

Message: Hello all,I am working on sessional program of compiler design that takes input from a file, removes extra white spaces and outputs the edited text to another file.So far my program deletes 1 whitespace whether the whitespace should be deleted or not. I have read about peek() and putback(). I am pretty sure I need to implement these two functions but quite frankly I am not sure how to go about doing this. Any help is appreciated. Thank you.
</description>
<pubDate>Wed, 27 Feb 2008 04:30:10 -0800</pubDate>
</item>
<item>
<title>Shift operation in Script Forums : C/C++</title>
<link>http://www.w3exchange.com/view_topic.php?pid=7017#7017</link>
<guid isPermaLink="false">7017@http://www.w3exchange.com</guid>
<description>Topic: Shift operation

Message: HiWhenever we do the shift operation (left or right) how can we knowthat the shift operation is an arithmetic or logical shift operation?Can someone tell me about any url where I can get examples on bit operationsthanks &#38; regardsFuad
</description>
<pubDate>Sun, 24 Feb 2008 02:32:27 -0800</pubDate>
</item>
<item>
<title>converting linux driver to win driver in Script Forums : C/C++</title>
<link>http://www.w3exchange.com/view_topic.php?pid=6801#6801</link>
<guid isPermaLink="false">6801@http://www.w3exchange.com</guid>
<description>Topic: converting linux driver to win driver

Message: Hello Guys,I am trying to convert linux driver written by someone to win driver. The final code should be OS independent in other words it should know which enviroment it is running on. Should I declare #ifdef __WIN32 in the header file or it is built in? I am not too familiar with driver development in win. Everytime I compiled in VIsual Studio I always get an error msg unexpected #endif. My code is like
Code::main(){
#ifndef __WIN32
*** code
#else
***code
#endif
}
Any ideas?Thanks,
</description>
<pubDate>Sat, 09 Feb 2008 19:15:19 -0800</pubDate>
</item>
<item>
<title>Parsing Numbers from a String in Script Forums : C/C++</title>
<link>http://www.w3exchange.com/view_topic.php?pid=6496#6496</link>
<guid isPermaLink="false">6496@http://www.w3exchange.com</guid>
<description>Topic: Parsing Numbers from a String

Message: I have the following example and need to parse only the numbers from the string:From:EG2594To:2594or, From: EG2594_1To:2594Then I need to add a P to the extracted numbers, so it would end up as:P2594as my output.What is the best, simplest way to do this in unix C?compare each character's ASCII value? Or how...?
</description>
<pubDate>Thu, 24 Jan 2008 00:28:07 -0800</pubDate>
</item>
<item>
<title>In-Line Functions in C++ in Script Forums : C/C++</title>
<link>http://www.w3exchange.com/view_topic.php?pid=6412#6412</link>
<guid isPermaLink="false">6412@http://www.w3exchange.com</guid>
<description>Topic: In-Line Functions in C++

Message: In C++, it is possible to define functions that are not actually called but, rather are expanded inline, at the point of each call. The advantage of inline functions is that they have no overhead associated with the function call and return mechanism. That means inline functions can be executed much faster than normal functions.Example:
Code::inline void sum()
{
  int i,sum=0;
  for(i=0;i&#60;10;i++)
  sum=sum+i;
  cout&#60;&#60;sum;
}
</description>
<pubDate>Fri, 18 Jan 2008 19:40:31 -0800</pubDate>
</item>
<item>
<title>How much you know in C - (C Quiz) in Script Forums : C/C++</title>
<link>http://www.w3exchange.com/view_topic.php?pid=6401#6401</link>
<guid isPermaLink="false">6401@http://www.w3exchange.com</guid>
<description>Topic: How much you know in C - (C Quiz)

Message: Rate your self in C. Take the Quiz (10 questions with feed back) athttp://mulogic.phpnet.us/drupal/?q=node/1How much did you score?
</description>
<pubDate>Wed, 16 Jan 2008 21:59:11 -0800</pubDate>
</item>
<item>
<title>C++ vs. VB in Script Forums : C/C++</title>
<link>http://www.w3exchange.com/view_topic.php?pid=6297#6297</link>
<guid isPermaLink="false">6297@http://www.w3exchange.com</guid>
<description>Topic: C++ vs. VB

Message: Ofcourse C++. It has unique features like Encapsulation, Polymorphism and Inheritence.
</description>
<pubDate>Thu, 10 Jan 2008 00:08:28 -0800</pubDate>
</item>
<item>
<title>C++ vs. VB in Script Forums : C/C++</title>
<link>http://www.w3exchange.com/view_topic.php?pid=2264#2264</link>
<guid isPermaLink="false">2264@http://www.w3exchange.com</guid>
<description>Topic: C++ vs. VB

Message: I am also agree with you. C++ are better because, You can do multiline comments, XML comments, single line comments, etc. Also you can place a region inside a function. So I like this than VB.
</description>
<pubDate>Mon, 05 Feb 2007 22:40:15 -0800</pubDate>
</item>
<item>
<title>C File Functions in Script Forums : C/C++</title>
<link>http://www.w3exchange.com/view_topic.php?pid=2262#2262</link>
<guid isPermaLink="false">2262@http://www.w3exchange.com</guid>
<description>Topic: C File Functions

Message: Hi everybody. In C running in the Unix environment, there are many ways of getting the directory listing. One I know is to use the ftw library (the way I currently implement it), the other is to pipe from the ls, also sometimes you could use dirent.h. I realize that this is an OS dependent thing. If somebody knows an the easier way to get a list of files or directories in C please share (Yes, I googled this. However, I did not find anything I did not already know).
</description>
<pubDate>Mon, 05 Feb 2007 20:44:14 -0800</pubDate>
</item>
<item>
<title>C++ vs. VB in Script Forums : C/C++</title>
<link>http://www.w3exchange.com/view_topic.php?pid=2237#2237</link>
<guid isPermaLink="false">2237@http://www.w3exchange.com</guid>
<description>Topic: C++ vs. VB

Message: Whats better? C++ or VB?Im sure C++ is much more powerfoul and portable than VB...what do you think?
</description>
<pubDate>Sun, 04 Feb 2007 20:44:07 -0800</pubDate>
</item>
<item>
<title>Creating Customized GUI's - need info in Script Forums : C/C++</title>
<link>http://www.w3exchange.com/view_topic.php?pid=260#260</link>
<guid isPermaLink="false">260@http://www.w3exchange.com</guid>
<description>Topic: Creating Customized GUI's - need info

Message: These GUIs are drawn entirely by the program's WM_PAINT handler, using owner-drawn windows and controls. Oddly-shaped windows are created using window regions or (in Win2K+) layered windows. I don't know of any tutorials dedicated to this, but Google should help there.
</description>
<pubDate>Sun, 27 Aug 2006 03:16:37 -0700</pubDate>
</item>
<item>
<title>Creating Customized GUI's - need info in Script Forums : C/C++</title>
<link>http://www.w3exchange.com/view_topic.php?pid=159#159</link>
<guid isPermaLink="false">159@http://www.w3exchange.com</guid>
<description>Topic: Creating Customized GUI's - need info

Message: I am working on a program that uses MFC for generating the user GUI.I was wondering how developers generate the &#34;customized&#34; GUI's that is not any windows or MFC standard &#34;looking&#34; interface.Just throwing out some examples, &#34;Bear Share&#34; or any Windows based Music/DVD player (i.e WinDVD)) which have their own customized GUI.Are these just &#34;resource files' created? And if so, can any point me to any tutorials or informational sites that would help me in creating and implementing my own?
</description>
<pubDate>Sun, 20 Aug 2006 07:07:11 -0700</pubDate>
</item>
</channel>
</rss>
