<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>C/C++/JAVA</title>
		<link>http://computerclub09mnnit.forumotion.net/c-c-java-f4/-t1.htm</link>
		<description></description>
		<lastBuildDate>Fri, 16 Jan 2009 16:45:20 GMT</lastBuildDate>
		<ttl>10</ttl>
		<image>
			<title>C/C++/JAVA</title>
			<url>http://illiweb.com/fa/prosilver_pink/site_logo.gif</url>
			<link>http://computerclub09mnnit.forumotion.net/c-c-java-f4/-t1.htm</link>
		</image>
		<item>
			<title>nested structure</title>
			<link>http://computerclub09mnnit.forumotion.net/c-c-java-f4/nested-structure-t70.htm</link>
			<dc:creator>amazon</dc:creator>
			<description><![CDATA[struct a 
<br />
{
<br />

<br />
struct b
<br />
{
<br />
int x;
<br />
int y;
<br />
int z;
<br />
}bb;
<br />

<br />
struct c
<br />
{
<br />
......
<br />
......
<br />
......
<br />
}cc;
<br />

<br />
struct d
<br />
{
<br />
int i;
<br />
int j;
<br />
int k;
<br />
}dd; 
<br />
}aa;
<br />

<br />
now the prob is given address of dd.i get the address/value of x....
<br />
(and no sizeof plz......)]]></description>
			<category>C/C++/JAVA</category>
			<pubDate>Fri, 16 Jan 2009 16:45:20 GMT</pubDate>
			<comments>http://computerclub09mnnit.forumotion.net/c-c-java-f4/nested-structure-t70.htm#270</comments>
			<guid>http://computerclub09mnnit.forumotion.net/c-c-java-f4/nested-structure-t70.htm</guid>
		</item>
		<item>
			<title>FAR POINTERS</title>
			<link>http://computerclub09mnnit.forumotion.net/c-c-java-f4/far-pointers-t69.htm</link>
			<dc:creator>amazon</dc:creator>
			<description><![CDATA[was going through pointers in c ('second last chapter')....
<br />
there he has given method to access a perticular memory area and read or write it...
<br />

<br />
he has used far,near pointers..
<br />
plz ... explain it seemed  all bizzare..]]></description>
			<category>C/C++/JAVA</category>
			<pubDate>Fri, 16 Jan 2009 16:37:41 GMT</pubDate>
			<comments>http://computerclub09mnnit.forumotion.net/c-c-java-f4/far-pointers-t69.htm#269</comments>
			<guid>http://computerclub09mnnit.forumotion.net/c-c-java-f4/far-pointers-t69.htm</guid>
		</item>
		<item>
			<title>compile this !!!!</title>
			<link>http://computerclub09mnnit.forumotion.net/c-c-java-f4/compile-this-t63.htm</link>
			<dc:creator>amazon</dc:creator>
			<description>test0.c



#include&lt;stdio.h&gt;

main()

{

        fun(2.3);

}





test1.c



#include&lt;stdio.h&gt;

void fun(float a)

{

        printf(&quot; yes it did&quot;);

}





compile this :

&#36;gcc test[0-1].c





now replace test1.c





#include&lt;stdio.h&gt;

void fun(float a)

{

        printf(&quot; yes it did %f &quot;,a);

}



again compile 





?????????? </description>
			<category>C/C++/JAVA</category>
			<pubDate>Thu, 08 Jan 2009 13:16:25 GMT</pubDate>
			<comments>http://computerclub09mnnit.forumotion.net/c-c-java-f4/compile-this-t63.htm#262</comments>
			<guid>http://computerclub09mnnit.forumotion.net/c-c-java-f4/compile-this-t63.htm</guid>
		</item>
		<item>
			<title>what is th address in union</title>
			<link>http://computerclub09mnnit.forumotion.net/c-c-java-f4/what-is-th-address-in-union-t64.htm</link>
			<dc:creator>amazon</dc:creator>
			<description><![CDATA[#include&lt;iostream&gt;
<br />
using namespace std;
<br />
union add
<br />
{        int a;
<br />
        float f;
<br />
        char next;
<br />
};
<br />
main()
<br />
{        add ad;
<br />
        cout&lt;&lt;&amp;ad.a&lt;&lt;'\t'&lt;&lt;&amp;ad.f&lt;&lt;'\t'&lt;&lt;&amp;ad.next;
<br />
}
<br />

<br />
?????]]></description>
			<category>C/C++/JAVA</category>
			<pubDate>Thu, 08 Jan 2009 13:18:35 GMT</pubDate>
			<comments>http://computerclub09mnnit.forumotion.net/c-c-java-f4/what-is-th-address-in-union-t64.htm#263</comments>
			<guid>http://computerclub09mnnit.forumotion.net/c-c-java-f4/what-is-th-address-in-union-t64.htm</guid>
		</item>
		<item>
			<title>A DOUBT REGARDING COMPILERS</title>
			<link>http://computerclub09mnnit.forumotion.net/c-c-java-f4/a-doubt-regarding-compilers-t62.htm</link>
			<dc:creator>goldberg</dc:creator>
			<description><![CDATA[I observed that when I allocate some memory dynamically
<br />
If I use gcc compiler the values are initialised to 0 for integers , NULL for pointers and so on
<br />
But this is not the case when I use DEV C
<br />
Can sum1 plz explain me why is this so
<br />
And also If there are some other differences between gcc and DEV C can someone plz list them.....]]></description>
			<category>C/C++/JAVA</category>
			<pubDate>Mon, 17 Nov 2008 14:33:15 GMT</pubDate>
			<comments>http://computerclub09mnnit.forumotion.net/c-c-java-f4/a-doubt-regarding-compilers-t62.htm#261</comments>
			<guid>http://computerclub09mnnit.forumotion.net/c-c-java-f4/a-doubt-regarding-compilers-t62.htm</guid>
		</item>
		<item>
			<title>Execute fuction not called directly or indirectly by main</title>
			<link>http://computerclub09mnnit.forumotion.net/c-c-java-f4/execute-fuction-not-called-directly-or-indirectly-by-main-t60.htm</link>
			<dc:creator>arahan</dc:creator>
			<description>Help me in writing a simple c library

My friend is learning C and require the Hello World program 

so I wrote a hello world program but instead of writing 

#include&lt;stdio.h&gt;

int main()

{

printf(&quot;hello world&quot;);

}

I wrote 

#include&lt;stdio.h&gt;

int main()

{

}

Now i have sent it to my friend and I don't want that he found the error so 

I convince him that it require  a library to compile and print correctly . 

Help me writing my library       </description>
			<category>C/C++/JAVA</category>
			<pubDate>Wed, 15 Oct 2008 14:04:23 GMT</pubDate>
			<comments>http://computerclub09mnnit.forumotion.net/c-c-java-f4/execute-fuction-not-called-directly-or-indirectly-by-main-t60.htm#255</comments>
			<guid>http://computerclub09mnnit.forumotion.net/c-c-java-f4/execute-fuction-not-called-directly-or-indirectly-by-main-t60.htm</guid>
		</item>
		<item>
			<title>A main program without main :)</title>
			<link>http://computerclub09mnnit.forumotion.net/c-c-java-f4/a-main-program-without-main-t39.htm</link>
			<dc:creator>Invincible</dc:creator>
			<description><![CDATA[Here goes the challenge to all.......... <img src="http://illiweb.com/fa/i/smiles/bom.png" alt="bom" longdesc="43" /> 
<br />
 
<br />
Write a C program without the function main()........... <img src="http://illiweb.com/fa/i/smiles/icon_question.gif" alt="Question" longdesc="17" />  <img src="http://illiweb.com/fa/i/smiles/icon_question.gif" alt="Question" longdesc="17" />  <img src="http://illiweb.com/fa/i/smiles/icon_question.gif" alt="Question" longdesc="17" />]]></description>
			<category>C/C++/JAVA</category>
			<pubDate>Thu, 21 Aug 2008 14:13:48 GMT</pubDate>
			<comments>http://computerclub09mnnit.forumotion.net/c-c-java-f4/a-main-program-without-main-t39.htm#170</comments>
			<guid>http://computerclub09mnnit.forumotion.net/c-c-java-f4/a-main-program-without-main-t39.htm</guid>
		</item>
		<item>
			<title>SWAPPING (HARD)</title>
			<link>http://computerclub09mnnit.forumotion.net/c-c-java-f4/swapping-hard-t20.htm</link>
			<dc:creator>SwitchCase</dc:creator>
			<description><![CDATA[NOW Ur task is still the same..
<br />

<br />
Except....
<br />
U r allowed only 3 statements..
<br />
And only one operator.
<br />

<br />
(PS: DONT BE SMART AND USE -(-b) as the same thing!!!!)]]></description>
			<category>C/C++/JAVA</category>
			<pubDate>Wed, 13 Aug 2008 16:01:50 GMT</pubDate>
			<comments>http://computerclub09mnnit.forumotion.net/c-c-java-f4/swapping-hard-t20.htm#74</comments>
			<guid>http://computerclub09mnnit.forumotion.net/c-c-java-f4/swapping-hard-t20.htm</guid>
		</item>
		<item>
			<title>swap without using temp variable</title>
			<link>http://computerclub09mnnit.forumotion.net/c-c-java-f4/swap-without-using-temp-variable-t58.htm</link>
			<dc:creator>gunendu</dc:creator>
			<description><![CDATA[another solution may be..
<br />

<br />
a=a*b;
<br />
b=a/b;  (b!=0)
<br />
a=a/b;]]></description>
			<category>C/C++/JAVA</category>
			<pubDate>Wed, 24 Sep 2008 17:29:27 GMT</pubDate>
			<comments>http://computerclub09mnnit.forumotion.net/c-c-java-f4/swap-without-using-temp-variable-t58.htm#240</comments>
			<guid>http://computerclub09mnnit.forumotion.net/c-c-java-f4/swap-without-using-temp-variable-t58.htm</guid>
		</item>
		<item>
			<title>@DEBUGGING-GREATEST OF TWO INTEGERS</title>
			<link>http://computerclub09mnnit.forumotion.net/c-c-java-f4/debugging-greatest-of-two-integers-t49.htm</link>
			<dc:creator>prani</dc:creator>
			<description><![CDATA[This question was asked in debugging elims...
<br />
Find the greatest of two integers without using relational operators..]]></description>
			<category>C/C++/JAVA</category>
			<pubDate>Tue, 09 Sep 2008 20:07:40 GMT</pubDate>
			<comments>http://computerclub09mnnit.forumotion.net/c-c-java-f4/debugging-greatest-of-two-integers-t49.htm#213</comments>
			<guid>http://computerclub09mnnit.forumotion.net/c-c-java-f4/debugging-greatest-of-two-integers-t49.htm</guid>
		</item>
		<item>
			<title>your own printf</title>
			<link>http://computerclub09mnnit.forumotion.net/c-c-java-f4/your-own-printf-t46.htm</link>
			<dc:creator>Admin</dc:creator>
			<description><![CDATA[How can I arrange to have output go two places at once,
<br />
	e.g. to the screen and to a file?write your own printf function to do this?]]></description>
			<category>C/C++/JAVA</category>
			<pubDate>Sat, 06 Sep 2008 05:05:29 GMT</pubDate>
			<comments>http://computerclub09mnnit.forumotion.net/c-c-java-f4/your-own-printf-t46.htm#191</comments>
			<guid>http://computerclub09mnnit.forumotion.net/c-c-java-f4/your-own-printf-t46.htm</guid>
		</item>
		<item>
			<title>stdout vs stderr in fprintf</title>
			<link>http://computerclub09mnnit.forumotion.net/c-c-java-f4/stdout-vs-stderr-in-fprintf-t43.htm</link>
			<dc:creator>shivang</dc:creator>
			<description>The following program doesn't &quot;seem&quot; to print &quot;hello-out&quot;. (Try executing it)



  #include &lt;stdio.h&gt;

  #include &lt;unistd.h&gt;

  int main()

  {

          while(1)

          {

                  fprintf(stdout,&quot;hello-out&quot;);

                  fprintf(stderr,&quot;hello-err&quot;);

                  sleep(1);

          }

          return 0;

  }



What could be the reason?

I don't know the answer. </description>
			<category>C/C++/JAVA</category>
			<pubDate>Sat, 30 Aug 2008 19:42:33 GMT</pubDate>
			<comments>http://computerclub09mnnit.forumotion.net/c-c-java-f4/stdout-vs-stderr-in-fprintf-t43.htm#177</comments>
			<guid>http://computerclub09mnnit.forumotion.net/c-c-java-f4/stdout-vs-stderr-in-fprintf-t43.htm</guid>
		</item>
		<item>
			<title>help needed with this question</title>
			<link>http://computerclub09mnnit.forumotion.net/c-c-java-f4/help-needed-with-this-question-t47.htm</link>
			<dc:creator>gumber</dc:creator>
			<description><![CDATA[<dl class="codebox"><dt>Code:</dt><dd><code>int main&#40;&#41;
<br />
&#123;
<br />
printf&#40;&quot;%u %u&quot;,sizeof&#40;main&#41;,sizeof&#40;main&#40;&#41;&#41;&#41;;
<br />
return 0;
<br />
&#125;</code></dd></dl>
<br />

<br />
can somebody plz explain me the output of this program
<br />
 <img src="http://illiweb.com/fa/i/smiles/icon_question.gif" alt="Question" longdesc="17" />]]></description>
			<category>C/C++/JAVA</category>
			<pubDate>Sun, 07 Sep 2008 09:10:42 GMT</pubDate>
			<comments>http://computerclub09mnnit.forumotion.net/c-c-java-f4/help-needed-with-this-question-t47.htm#197</comments>
			<guid>http://computerclub09mnnit.forumotion.net/c-c-java-f4/help-needed-with-this-question-t47.htm</guid>
		</item>
		<item>
			<title>fflush(stdin) in LINUX</title>
			<link>http://computerclub09mnnit.forumotion.net/c-c-java-f4/fflushstdin-in-linux-t41.htm</link>
			<dc:creator>goldberg</dc:creator>
			<description>Suppose you type the following program in Linux and then Compile it using a gcc compiler

	int n;

	char str[80];



	printf(&quot;enter a number: &quot;);

	scanf(&quot;%d&quot;, &amp;n);

	printf(&quot;enter a string: &quot;);

	gets(str);

	printf(&quot;you typed %d and \&quot;%s\&quot;\n&quot;, n, str);



  

but the compiler seems to be skipping the call to gets()!  

This is just an example

There are other cases too..



Most of the people might be knowing why it happens

This  ...</description>
			<category>C/C++/JAVA</category>
			<pubDate>Sat, 30 Aug 2008 14:12:18 GMT</pubDate>
			<comments>http://computerclub09mnnit.forumotion.net/c-c-java-f4/fflushstdin-in-linux-t41.htm#174</comments>
			<guid>http://computerclub09mnnit.forumotion.net/c-c-java-f4/fflushstdin-in-linux-t41.htm</guid>
		</item>
		<item>
			<title>a simple one....try this...</title>
			<link>http://computerclub09mnnit.forumotion.net/c-c-java-f4/a-simple-onetry-this-t35.htm</link>
			<dc:creator>vijay</dc:creator>
			<description><![CDATA[consider this code....
<br />
 <dl class="codebox"><dt>Code:</dt><dd><code>
<br />
   main&#40;&#41;
<br />
 &#123;
<br />
  char *p = &quot;1111&quot; ;
<br />
  printf&#40;&quot;%d\n&quot;,*&#40;int *&#41;p&#41; ;
<br />
 &#125;
<br />
 </code></dd></dl>
<br />

<br />
 now given that ASCII value of '1' is p.... what does this output... answer in terms of p.... 
<br />
 try this without actually running the code....]]></description>
			<category>C/C++/JAVA</category>
			<pubDate>Mon, 18 Aug 2008 14:00:31 GMT</pubDate>
			<comments>http://computerclub09mnnit.forumotion.net/c-c-java-f4/a-simple-onetry-this-t35.htm#145</comments>
			<guid>http://computerclub09mnnit.forumotion.net/c-c-java-f4/a-simple-onetry-this-t35.htm</guid>
		</item>
		<item>
			<title>add two integers</title>
			<link>http://computerclub09mnnit.forumotion.net/c-c-java-f4/add-two-integers-t37.htm</link>
			<dc:creator>Admin</dc:creator>
			<description><![CDATA[write a program to add two integers without using any arithmetic operators? <img src="http://illiweb.com/fa/i/smiles/icon_question.gif" alt="Question" longdesc="17" />]]></description>
			<category>C/C++/JAVA</category>
			<pubDate>Tue, 19 Aug 2008 14:30:08 GMT</pubDate>
			<comments>http://computerclub09mnnit.forumotion.net/c-c-java-f4/add-two-integers-t37.htm#156</comments>
			<guid>http://computerclub09mnnit.forumotion.net/c-c-java-f4/add-two-integers-t37.htm</guid>
		</item>
		<item>
			<title>give answer with logic w/o running the code</title>
			<link>http://computerclub09mnnit.forumotion.net/c-c-java-f4/give-answer-with-logic-w-o-running-the-code-t28.htm</link>
			<dc:creator>ankurgutpa</dc:creator>
			<description><![CDATA[int a=17,b=6;
<br />
printf(&amp;a[&quot;worst college is MNNIT Allahabad %s&quot;],&amp;b[&quot;IIITA is the best college&quot;]);
<br />
 <img src="http://illiweb.com/fa/i/smiles/icon_cheers.png" alt="cheers" longdesc="42" />]]></description>
			<category>C/C++/JAVA</category>
			<pubDate>Sat, 16 Aug 2008 12:11:39 GMT</pubDate>
			<comments>http://computerclub09mnnit.forumotion.net/c-c-java-f4/give-answer-with-logic-w-o-running-the-code-t28.htm#122</comments>
			<guid>http://computerclub09mnnit.forumotion.net/c-c-java-f4/give-answer-with-logic-w-o-running-the-code-t28.htm</guid>
		</item>
		<item>
			<title>STAR - Another one</title>
			<link>http://computerclub09mnnit.forumotion.net/c-c-java-f4/star-another-one-t21.htm</link>
			<dc:creator>SwitchCase</dc:creator>
			<description><![CDATA[This is a snippet
<br />

<br />
for(double r=0.0;r!=1.0;r+=0.1)printf(&quot;*&quot;);
<br />

<br />

<br />

<br />
How many * will be printed.
<br />
And Why???]]></description>
			<category>C/C++/JAVA</category>
			<pubDate>Wed, 13 Aug 2008 16:11:36 GMT</pubDate>
			<comments>http://computerclub09mnnit.forumotion.net/c-c-java-f4/star-another-one-t21.htm#76</comments>
			<guid>http://computerclub09mnnit.forumotion.net/c-c-java-f4/star-another-one-t21.htm</guid>
		</item>
		<item>
			<title>Copy a program</title>
			<link>http://computerclub09mnnit.forumotion.net/c-c-java-f4/copy-a-program-t5.htm</link>
			<dc:creator>Admin</dc:creator>
			<description>Write a program to copy its input to its output, replacing each tab by \t, each backspace by \b, and each backslash by \\. This makes tabs and backspaces visible in an unambiguous way.</description>
			<category>C/C++/JAVA</category>
			<pubDate>Sun, 10 Aug 2008 15:05:50 GMT</pubDate>
			<comments>http://computerclub09mnnit.forumotion.net/c-c-java-f4/copy-a-program-t5.htm#5</comments>
			<guid>http://computerclub09mnnit.forumotion.net/c-c-java-f4/copy-a-program-t5.htm</guid>
		</item>
		<item>
			<title>HOW MANY *'s</title>
			<link>http://computerclub09mnnit.forumotion.net/c-c-java-f4/how-many-s-t19.htm</link>
			<dc:creator>SwitchCase</dc:creator>
			<description><![CDATA[#include&lt;stdio.h&gt;
<br />
int main()
<br />
{
<br />
short i=0;
<br />
short n=42;
<br />

<br />
for( i=0;i&lt;n;n++)
<br />
printf(&quot;*&quot;);
<br />

<br />
}
<br />

<br />

<br />
CAN U TELL THE NO OF STARS THAT WILL BE PRINTED?]]></description>
			<category>C/C++/JAVA</category>
			<pubDate>Wed, 13 Aug 2008 15:42:36 GMT</pubDate>
			<comments>http://computerclub09mnnit.forumotion.net/c-c-java-f4/how-many-s-t19.htm#73</comments>
			<guid>http://computerclub09mnnit.forumotion.net/c-c-java-f4/how-many-s-t19.htm</guid>
		</item>
		<item>
			<title>variable argument list</title>
			<link>http://computerclub09mnnit.forumotion.net/c-c-java-f4/variable-argument-list-t12.htm</link>
			<dc:creator>Pulkit</dc:creator>
			<description><![CDATA[Write a function which accepts variable number of arguments and print all of them ..
<br />

<br />
If u done with this write a macro for the same...]]></description>
			<category>C/C++/JAVA</category>
			<pubDate>Tue, 12 Aug 2008 17:01:44 GMT</pubDate>
			<comments>http://computerclub09mnnit.forumotion.net/c-c-java-f4/variable-argument-list-t12.htm#41</comments>
			<guid>http://computerclub09mnnit.forumotion.net/c-c-java-f4/variable-argument-list-t12.htm</guid>
		</item>
		<item>
			<title>joining clients in java</title>
			<link>http://computerclub09mnnit.forumotion.net/c-c-java-f4/joining-clients-in-java-t7.htm</link>
			<dc:creator>amazon</dc:creator>
			<description><![CDATA[how to connect two clients through a server in java
<br />
(for text chatting of course....).
<br />
have used Socket and ServerSocket
<br />
I am able to connect multiple clients with server but not client with client!
<br />
thanx]]></description>
			<category>C/C++/JAVA</category>
			<pubDate>Sun, 10 Aug 2008 16:59:56 GMT</pubDate>
			<comments>http://computerclub09mnnit.forumotion.net/c-c-java-f4/joining-clients-in-java-t7.htm#9</comments>
			<guid>http://computerclub09mnnit.forumotion.net/c-c-java-f4/joining-clients-in-java-t7.htm</guid>
		</item>
		<item>
			<title>Sizeof structure</title>
			<link>http://computerclub09mnnit.forumotion.net/c-c-java-f4/sizeof-structure-t4.htm</link>
			<dc:creator>Admin</dc:creator>
			<description><![CDATA[struct a{
<br />
 int b;
<br />
 char c;
<br />
 float d;
<br />
};
<br />
struct a1{
<br />
 int b1;
<br />
 int c1;
<br />
 float d1;
<br />
};
<br />
main()
<br />
{
<br />
 printf(&quot;%d %d&quot;,sizeof(struct a),sizeof(struct a1));
<br />
}
<br />

<br />
Both the sizes come to be equal on gcc compiler.Why is it so?]]></description>
			<category>C/C++/JAVA</category>
			<pubDate>Sun, 10 Aug 2008 15:02:16 GMT</pubDate>
			<comments>http://computerclub09mnnit.forumotion.net/c-c-java-f4/sizeof-structure-t4.htm#4</comments>
			<guid>http://computerclub09mnnit.forumotion.net/c-c-java-f4/sizeof-structure-t4.htm</guid>
		</item>
	</channel>
</rss>