<?xml version="1.0" encoding="UTF-8" ?>
			<rss version="2.0">
			<channel>
			<title>99chan - pr</title>
			<link>http://www.99chan.org/pr</link>
			<description>Live RSS feed for http://www.99chan.org/pr</description>
			<language>en</language><item>
				<title>2389</title>
				<link>http://www.99chan.org/pr/res/2378.html#2389</link><description><![CDATA[<a href="/pr/res/2378.html#2387" onclick="javascript:highlight('2387', true);" class="ref|pr|2378|2387">&gt;&gt;2387</a><br>Code that uses compiler-specific standards won&#039;t work on other compilers. By default Visual Studio uses the Microsoft&#039;s compiler (duh), and DevC++ uses MingW, so what compiles with one may not work with the other.<br>Also DevC++ sucks. Use Code::Blocks if you want a good/free IDE, or Notepad++ if you find that too bloated. Both (Visual Studio too, if I&#039;m not mistaken) can use MingW as the compiler if you need/want to.<br><br><span class="spoiler" onmouseover="this.style.color='white';" onmouseout="this.style.color='black'">print the variables you use in the loop.</span><br><br>]]></description>
				</item><item>
				<title>2388</title>
				<link>http://www.99chan.org/pr/res/2388.html</link><description><![CDATA[[http://www.99chan.org/pr/src/126835470866.png] <br /><br>Does the coding standard war between browsers make anyone else RAGE? Does anyone have a comprehensive list of the differences in CSS between IE and Firefox? Other layout standards would be nice, but I only give a shit about IE and Firefox.<br><br>On a side note, Firefox has some really stupid changes to CSS. First off... why the fuck would you use padding to expand the size of your DIV container? It should be used to push the content inside of the containers inward like in IE.<br><br>]]></description>
				</item><item>
				<title>2387</title>
				<link>http://www.99chan.org/pr/res/2378.html#2387</link><description><![CDATA[<a href="/pr/res/2378.html#2386" onclick="javascript:highlight('2386', true);" class="ref|pr|2378|2386">&gt;&gt;2386</a><br><br>He&#039;s convinced that certain code written in Visual Studio won&#039;t compile with Dev-C++...<br><br>]]></description>
				</item><item>
				<title>2386</title>
				<link>http://www.99chan.org/pr/res/2378.html#2386</link><description><![CDATA[<a href="/pr/res/2378.html#2383" onclick="javascript:highlight('2383', true);" class="ref|pr|2378|2383">&gt;&gt;2383</a><br>system() calls are...well system dependant, only Faildows has a PAUSE command, use a standard function like cin.getchar() instead<br><br>Also you can work on whatever IDE you like, it&#039;s not like he&#039;ll be able to tell which one you used to edit your code.<br><br>]]></description>
				</item><item>
				<title>2384</title>
				<link>http://www.99chan.org/pr/res/2351.html#2384</link><description><![CDATA[I dislike it because it makes people insane for hash tables.  &quot;O(1) OMFG!!!!!!!&quot;  They become hash table happy and can always say &quot;0(1)&quot; to justify their lunatic behavior.<br><br>]]></description>
				</item><item>
				<title>2383</title>
				<link>http://www.99chan.org/pr/res/2378.html#2383</link><description><![CDATA[<a href="/pr/res/2378.html#2381" onclick="javascript:highlight('2381', true);" class="ref|pr|2378|2381">&gt;&gt;2381</a><br><br>And as far as portable code goes, he specifically tells us to code it to work with Dev-C++ because he&#039;s a fucking idiot. I&#039;ve told him that students can get Visual Studio 2008 from MSDN Academic Alliance for free, but he says that he was told by higher ups to use Dev-C++. But out of curiosity, what&#039;s so &quot;non-portable&quot; about my code?<br><br>]]></description>
				</item><item>
				<title>2382</title>
				<link>http://www.99chan.org/pr/res/2378.html#2382</link><description><![CDATA[<a href="/pr/res/2378.html#2381" onclick="javascript:highlight('2381', true);" class="ref|pr|2378|2381">&gt;&gt;2381</a><br><br>I&#039;m not asking you to do my homework, you stupid prick. And for your information, it&#039;s extra credit. It&#039;s not even required. I&#039;m simply asking why the program freezes when it&#039;s done taking input and if there&#039;s anything wrong with my formula for finding the number of months.<br><br>Stop being a dick.<br><br>]]></description>
				</item><item>
				<title>2381</title>
				<link>http://www.99chan.org/pr/res/2378.html#2381</link><description><![CDATA[<a href="/pr/res/2378.html#2379" onclick="javascript:highlight('2379', true);" class="ref|pr|2378|2379">&gt;&gt;2379</a><br>Maybe it&#039;s wordfiltering your bad practice of writing non-portable code? Instead of system(&quot;pause&quotI'm totally making an awkward moment right now just read a char. Serves the same purpose and will work on anything.<br>And no, I won&#039;t do your homework. It&#039;s for your own good.<br><br>]]></description>
				</item><item>
				<title>2380</title>
				<link>http://www.99chan.org/pr/res/2378.html#2380</link><description><![CDATA[99chan is screwing with my copying and pasting of my code, so some of the code isn&#039;t what is in my program. For one, it showed &lt;iostream&gt; as being included twice, when the second line was &lt;cstdlib&gt;<br><br>]]></description>
				</item><item>
				<title>2379</title>
				<link>http://www.99chan.org/pr/res/2378.html#2379</link><description><![CDATA[I don&#039;t know why, but the chans seem to be wordfiltering -<br><br>system(&quot;PAUSE&quotI'm totally making an awkward moment right now;<br><br>So ignore that weird line near the bottom of the code.<br><br>]]></description>
				</item><item>
				<title>2378</title>
				<link>http://www.99chan.org/pr/res/2378.html</link><description><![CDATA[[http://www.99chan.org/pr/src/126824675796.png] <br /><br>/pr/, I&#039;m having trouble with a programming assignment for my C++ class and was hoping you could help. First of all, the assignment was to write a program to ask the user the amount of their loan, the yearly interest, and their monthly payment, and it would tell them how many months it would take to pay off the loan.<br>Supposedly, the first month&#039;s interest would be the the interest the user entered divided by 12.<br>It would then deduct that interest amount from the monthly payment and that would be their principal payment. This would be subtracted from the loan and the remainder would be what you have left to pay. The second month, it would be the loan amount * the first month&#039;s interest. Then it would subtract whatever that is from the loan amount and so on until you reach 0. I tried writing a program, and if my explanation hasn&#039;t been enough, hopefully the code will be.<br><br>#include &lt;iostream&gt;<br>#include &lt;iostream&gt;<br>#include &lt;iomanip&gt;<br>using namespace std;<br><br>int main() {<br>    <br>    double initLoan = 0;<br>    double initInterest = 0;<br>    double initMonthly = 0;<br>    <br>    double newInterest = 0;<br>    double newLoan = 0;<br>    double principal = 0;<br>    double monthlyInterest = 0;<br>    double firstPayInt = 0;<br>    double firstPrinc = 0;<br>    <br>    int monthCount = 0;<br>    <br>    cout &lt;&lt; &quot;Enter the amount of the loan: $&quot;;<br>    cin &gt;&gt; initLoan;<br>    newLoan = initLoan;<br>    cout &lt;&lt; &quot;Enter the interest amount: %&quot;;<br>    cin &gt;&gt; initInterest;<br>    newInterest = initInterest;<br>    firstPayInt = newInterest / 12;<br>    cout &lt;&lt; &quot;Enter the monthly payment: $&quot;;<br>    cin &gt;&gt; initMonthly;<br>    <br>    firstPrinc = initMonthly - firstPayInt;<br>    newLoan = newLoan - firstPrinc;<br>    monthlyInterest = firstPayInt * newLoan;<br>    monthCount++;<br>    <br>    while (newLoan &gt;= 0) {<br>          principal = initMonthly - monthlyInterest;<br>          newLoan = newLoan - principal;<br>          monthCount++;<br>    }<br>    <br>    cout &lt;&lt; &quot;Your loan will take approximately &quot; &lt;&lt; monthCount &lt;&lt; &quot; months to pay off.&quot; &lt;&lt; endl;<br>    <br>    system(&quot;PAUSE&quotI'm totally making an awkward moment right now;<br>    return 0;<br>}<br><br>]]></description>
				</item><item>
				<title>2377</title>
				<link>http://www.99chan.org/pr/res/2376.html#2377</link><description><![CDATA[<a href="/pr/res/2376.html#2376" onclick="javascript:highlight('2376', true);" class="ref|pr|2376|2376">&gt;&gt;2376</a><br><br>I&#039;m not sure what you&#039;re going for here.  Are you asking how to convert a logic diagram into a boolean expression, or are you trying to take the MIPS architecture and use it to determine the MIPS assembly language?<br><br>That diagram doesn&#039;t make any sense at all unless the zero and one are not logical, but variables.<br><br>Please explain what you mean by &quot;make a program given a logic gate diagram&quot; in greater detail.  Links to your professor&#039;s lecture slides would be nice, too.<br><br>]]></description>
				</item><item>
				<title>2376</title>
				<link>http://www.99chan.org/pr/res/2376.html</link><description><![CDATA[[http://www.99chan.org/pr/src/126817160881.jpg] <br /><br>Hey guys, I&#039;ve been having some trouble. I&#039;m trying to learn to program in MIPS assembly language and I haven&#039;t got a clue how to make a program given a logic gate diagram. Anyone have any idea how to do this? For example, this diagram has one primary input X, one enable input E. They are supposed to return a 1 and a 0.<br><br>]]></description>
				</item><item>
				<title>2375</title>
				<link>http://www.99chan.org/pr/res/2366.html#2375</link><description><![CDATA[<a href="/pr/res/2366.html#2374" onclick="javascript:highlight('2374', true);" class="ref|pr|2366|2374">&gt;&gt;2374</a><br>Oh please, keep rambling all you want.<br><br><span class="unkfunc">&gt;&gt;then goto 500</span><br>lol<br><br>]]></description>
				</item><item>
				<title>2374</title>
				<link>http://www.99chan.org/pr/res/2366.html#2374</link><description><![CDATA[I used to program simple games on the C64 in Basic. As far as sprites go, you had a grid (can&#039;t remember the size, Maybe 8x8) and you&#039;d put in lines of data which told the computer whether the boxes on the grid were empty or which color they were filled with. The C64 had I think 16 colours so you had 17 choices. We designed sprites by using an eyeliner pencil and drawing on a grid covered in clear plastic which could be wiped clean later. If you wanted sprites bigger than the grid, you&#039;d use the grids as tiles and stick them together.<br><br>I think the command to fill in a sprite block was &quot;poke&quot; so your code that built the sprite would look something like <br><br>poke something 0,0,12,0,12,0,0,2,3,5,6,0<br><br>It&#039;s a long time ago so I can&#039;t remember the details.<br><br>The game engine was written in Basic and had a lot of &quot;If x=y then goto 500&quot; type commands. Basic included a lot of built in commands to do things like wait for input from the keyboard or a joystick so it wasn&#039;t like programming from scratch in assembler.<br><br>The Amiga was easier and used programs like Amos and Blitz that resembled C. They were both full of commands that made everything easier and you could draw your sprites in a paint program and tell your game to load it directly from the disk. There was a simple command for collision detection which was my number one headache on the C64. Simplicity in comparison. <br><br>I&#039;m rambling so I&#039;ll stop.<br><br>]]></description>
				</item></channel>
			</rss>