<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Lowyat.NET: Latest topics by Xaxas</title>
        <description></description>
        <link>http://forum.lowyat.net/</link>
        <lastBuildDate>Sun, 28 Jun 2026 08:26:53 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>[WTS] Samsung Galaxy A21s (White) 64GB</title>
            <link>http://forum.lowyat.net/topic/5052945</link>
            <description>&lt;b&gt;Item(s): Samsung Galaxy A21s (White) 64GB&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Package includes: Brand new in box.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Price:&lt;/b&gt;  &lt;span style='color:red'&gt;SOLD&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Warranty: 1 year (Started from Aug 2020)&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Dealing method: COD&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Location:PJ/OUG&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Contact method/details:PM&lt;/b&gt;&lt;br /&gt;---&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Item(s) conditions: Sealed in box&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Picture:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Reason for sale: Got it for free.&lt;/b&gt;</description>
            <author>Xaxas</author>
            <category>Mobile Phones Garage Sales</category>
            <pubDate>Thu, 05 Nov 2020 15:24:31 +0800</pubDate>
        </item>
        <item>
            <title>WTS&amp;gt; Steam Wallet. CHEAP&amp;#33;</title>
            <link>http://forum.lowyat.net/topic/3643162</link>
            <description>&lt;span style='font-size:14pt;line-height:100%'&gt;&lt;span style='color:blue'&gt;Steam Wallet For Sale&amp;#33;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style='color:red'&gt;Steam Wallet RM20 Out of Stock&lt;br /&gt;Steam Wallet RM50 x1 unit&lt;br /&gt;Steam Wallet RM100 Out of Stock&amp;#33;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style='color:blue'&gt;RM20 = RM22&lt;br /&gt;RM50 = RM55&lt;br /&gt;RM100 = RM110&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Payment Method : Maybank/CIMB&lt;br /&gt;&lt;br /&gt;Contact Details : PM me for more details&lt;br /&gt;&lt;br /&gt;Link to Topup : &lt;a href='https://store.steampowered.com/account/redeemwalletcode' target='_blank'&gt;https://store.steampowered.com/account/redeemwalletcode&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I will send the codes to you once payment have been made.&lt;br /&gt;&lt;br /&gt;&lt;span style='font-size:14pt;line-height:100%'&gt;&lt;b&gt;Successful Trade List:&lt;/b&gt; &lt;/span&gt;&lt;br /&gt;Sypher steam wallet RM100 x1.&lt;br /&gt;nexxim steam wallet RM50 x2.&lt;br /&gt;LoveDollar steam wallet RM50 x1.&lt;br /&gt;googlefreak steam wallet RM50 x1.&lt;br /&gt;ahbenggay steam wallet RM20 x2.&lt;br /&gt;silverchain steam wallet RM50 x4.&lt;br /&gt;shiru steam wallet RM50 x1.&lt;br /&gt;kaizer03 steam wallet RM20 x1.&lt;br /&gt;TrulyAvant steam wallet RM100 x1.&lt;br /&gt;TheMin steam wallet RM50 x1.&lt;br /&gt;hamiru steam wallet RM50 x1.&lt;br /&gt;Tomtom. steam wallet RM20 x1.&lt;br /&gt;crescentwind steam wallet RM20 x1.&lt;br /&gt;kagokyousuke steam wallet RM20 x1.&lt;br /&gt;mon678 steam wallet RM100 x1.&lt;br /&gt;rukoden steam wallet RM50 x1.&lt;br /&gt;greenade steam wallet RM50 x1.&lt;br /&gt;kaizer03 steam wallet RM20 x1.&lt;br /&gt;Letrix666 steam wallet RM100 x1.&lt;br /&gt;prof.layton  steam wallet RM100 x1.&lt;br /&gt;ad2000 steam wallet RM100 x1.&lt;br /&gt;Ustazrider steam wallet RM100 x1.&lt;br /&gt;nGeeMoN steam wallet RM50 x1.&lt;br /&gt;lalilulelou steam wallet RM50 x4.&lt;br /&gt;kaizer03 steam wallet RM50 x1.&lt;br /&gt;emirulsyakir steam wallet RM50 x2.&lt;br /&gt;GM Atelier Stella Momoe steam wallet RM20 x1.</description>
            <author>Xaxas</author>
            <category>Games Garage Sales</category>
            <pubDate>Wed, 08 Jul 2015 23:58:51 +0800</pubDate>
        </item>
        <item>
            <title>Exchanging GPU bought before GST</title>
            <link>http://forum.lowyat.net/topic/3549846</link>
            <description>Hi guys, not sure where to post this as it involves GST if I posted this in the wrong place do let me know.&lt;br /&gt;&lt;br /&gt;So my story is this, bought a GPU a few days before GST and I found that it was faulty the day I took it home.&lt;br /&gt;So I told the guy who sold it to me about it and ask me to go to the shop after GST as it is very pack.&lt;br /&gt;&lt;br /&gt;Now when I go to the shop to make the exchange 1 for 1, they requested that I pay the 6% GST. Is there such a thing as this?&lt;br /&gt;&lt;br /&gt;I mean I bought the card, paid in full and why am I required to pay the extra 6% for GST when i bought it before the implementation? &lt;!--emo&amp;:stars:--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/rclxub.gif' border='0' style='vertical-align:middle' alt='rclxub.gif' /&gt;&lt;!--endemo--&gt;</description>
            <author>Xaxas</author>
            <category>Serious Kopitiam</category>
            <pubDate>Mon, 13 Apr 2015 00:28:10 +0800</pubDate>
        </item>
        <item>
            <title>Building a new rig need suggestion</title>
            <link>http://forum.lowyat.net/topic/3513460</link>
            <description>So I&amp;#39;m kinda pump up to build my first ever rig. Below are some of the details that might help you in giving me suggestion/recommendation.&lt;br /&gt;&lt;br /&gt;1. STATE your budget = RM 2.5-3k&lt;br /&gt;2. STATE the parts that you wish to re-use = none&lt;br /&gt;3. STATE your purpose. (Mostly gaming and watching movie)&lt;br /&gt;- 3a. If computer gaming - STATE the game = Some games like AC, Civ 5 and some FPS game like COD or BF&lt;br /&gt;- 3b. State the monitor you&amp;#39;re using and also gaming preference = Have no monitor atm and i do not mind mid-detail gaming.&lt;br /&gt;4. STATE your intended purchase date = Hopefully before GST kicks in.&lt;br /&gt;&lt;br /&gt;This is what I currently have on my list, I&amp;#39;m still lacking the casing and monitor:&lt;br /&gt;Core i5 4460 - RM619&lt;br /&gt;Asrock H97 Pro4 - RM319&lt;br /&gt;FSP HEXA+ 550W - RM159&lt;br /&gt;HyperX FURY 1600Mhz ( Blk,Wht,Blue,Red) 8GB - RM239&lt;br /&gt;WD 1.0TB - RM176&lt;br /&gt;R9 280 DirectCU II Top/R9 280X DirectCU II Top - RM889&lt;br /&gt;Total = RM 2401</description>
            <author>Xaxas</author>
            <category>Hardware</category>
            <pubDate>Thu, 05 Mar 2015 00:02:11 +0800</pubDate>
        </item>
        <item>
            <title>MS SQL store multiple result in variables</title>
            <link>http://forum.lowyat.net/topic/3283646</link>
            <description>Hi, I&amp;#39;m having trouble with getting the result I want from my query. I have written a query like so.&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;select country from Itinerary where schedule between &amp;#39;2014-08-01&amp;#39; and &amp;#39;2014-08-20&amp;#39;  group by country having sum&amp;#40;participant&amp;#41; &amp;#62; 20&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;The query will be using the sample data from this table.&lt;br /&gt;&lt;!--SPOILER BEGIN--&gt;&lt;div class=&quot;spoilertop&quot; onClick=&quot;openClose('eb4b9fe79512023bb4b978a6a6f8648e')&quot; style=&quot;font-weight: bold&quot;&gt;&lt;u&gt;&amp;raquo; Click to show Spoiler - click again to hide... &amp;laquo;&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;spoilermain&quot; id=&quot;eb4b9fe79512023bb4b978a6a6f8648e&quot; style=&quot;display:none&quot;&gt;&lt;!--SPOILER END--&gt;&lt;img src='http://i.imgur.com/Ud3WcIW.jpg' border='0' alt='user posted image' /&gt;&lt;!--SPOILER DIV--&gt;&lt;/div&gt;&lt;!--SPOILER DIV--&gt;&lt;br /&gt;When executed, it returns 2 rows of result : row 1 = Malaysia, row 2 = South Korea. How do i set them in a separate variable like a = Malaysia and b = South Korea as I still want to filter the result more.?</description>
            <author>Xaxas</author>
            <category>Codemasters</category>
            <pubDate>Wed, 09 Jul 2014 01:28:49 +0800</pubDate>
        </item>
        <item>
            <title>Suggestion for Android connection.</title>
            <link>http://forum.lowyat.net/topic/3267266</link>
            <description>I&amp;#39;m currently doing a project that requires a server, an android app and a website. What is the available or best solution to connect the app to the website so that the server can be updated from both side. So far I&amp;#39;ve only found out that you can use MS SQL server and SQL Lite to do this not including PHP as I&amp;#39;m not well verse in that language. Is connecting the website to the server and the app connected to the website be a wise choice?(App -&amp;gt; Website -&amp;gt; Server) Just need some insight on which methods is best to approach on this matter.</description>
            <author>Xaxas</author>
            <category>Codemasters</category>
            <pubDate>Mon, 23 Jun 2014 15:55:49 +0800</pubDate>
        </item>
        <item>
            <title>[SOLVED]Header References</title>
            <link>http://forum.lowyat.net/topic/2598798</link>
            <description>Hi there, have a question to ask.&lt;br /&gt;&lt;br /&gt;i have a header file called admin with codes as below.&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt;class admin&lt;br /&gt;{&lt;br /&gt;  public&amp;#58;&lt;br /&gt;      void search_user&amp;#40;string, int&amp;#41;;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;      void admin&amp;#58;&amp;#58;search_user&amp;#40;string x, int &amp;amp;y&amp;#41;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;and in my main.cpp i call out the function&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt;admin.search_user&amp;#40;x,i&amp;#41;;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;My question is, is it possible for header files to reference value from the main.cpp like in above? But the codes above are wrong it say that &amp;quot;void admin::search_user(string x, int &amp;amp;y)&amp;quot; declaration is incompatible.&lt;br /&gt;&lt;br /&gt;Is there any other way to in beside return the value?</description>
            <author>Xaxas</author>
            <category>Codemasters</category>
            <pubDate>Wed, 21 Nov 2012 23:13:48 +0800</pubDate>
        </item>
        <item>
            <title>Looking for a Sling Bag.</title>
            <link>http://forum.lowyat.net/topic/2528930</link>
            <description>Hey guys,am looking for a sling bag that looks leathery and the material should be soft. &lt;br /&gt;This is usually used when I&amp;#39;m wearing formal wear to uni so i need something that can fit an A4 paper in it and also a plastic A4 size file.&lt;br /&gt;&lt;br /&gt;My budget would be around RM150~ ish if it&amp;#39;s around RM200 I don&amp;#39;t mind having a look at it for extra choices if I like it.&lt;br /&gt;&lt;br /&gt;Below are pictures of the kind of bag I&amp;#39;m looking for, plain front and back. The brand is from Padini but sadly, search at pavilion and midvalley and they don&amp;#39;t have the stock anymore.&lt;br /&gt;&lt;!--SPOILER BEGIN--&gt;&lt;div class=&quot;spoilertop&quot; onClick=&quot;openClose('203f418f09c5f824aa585502fc7fdc79')&quot; style=&quot;font-weight: bold&quot;&gt;&lt;u&gt;&amp;raquo; Click to show Spoiler - click again to hide... &amp;laquo;&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;spoilermain&quot; id=&quot;203f418f09c5f824aa585502fc7fdc79&quot; style=&quot;display:none&quot;&gt;&lt;!--SPOILER END--&gt;&lt;img src='http://imageshack.us/a/img401/2952/img1335d.jpg' border='0' alt='user posted image' /&gt;&lt;img src='http://imageshack.us/a/img221/3392/img1336kw.jpg' border='0' alt='user posted image' /&gt;&lt;!--SPOILER DIV--&gt;&lt;/div&gt;&lt;!--SPOILER DIV--&gt;&lt;br /&gt;&lt;br /&gt;Thanks in advance for replying.  &lt;!--emo&amp;:)--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /&gt;&lt;!--endemo--&gt;</description>
            <author>Xaxas</author>
            <category>Men&amp;#39;s Style &amp;amp; Fashion</category>
            <pubDate>Sat, 29 Sep 2012 23:12:47 +0800</pubDate>
        </item>
        <item>
            <title>[VB.net] Getting last ID from MS Access Table</title>
            <link>http://forum.lowyat.net/topic/2449059</link>
            <description>I&amp;#39;ve found a way to make this work but it only works if the ID are all in integer value 1001,1002 and etc&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;selectSQL = &amp;#34;SELECT MAX &amp;#40;CustomerID&amp;#41; From &amp;#91;Customer&amp;#93;&amp;#34;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cmd = New OleDbCommand&amp;#40;selectSQL, conn&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim a As Integer = cmd.ExecuteScalar&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crID_txt.Text = a + 1&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;But my problem right now is, due to multiple table with different ID, I declare all the different ID as A1001 for admin and C1001 as CustomerID.&lt;br /&gt;How should i approach this problem as the C and A makes the ID as a string.&lt;br /&gt;&lt;br /&gt;Sorry if i miss out anything as my VB knowledge is still very shallow.</description>
            <author>Xaxas</author>
            <category>Codemasters</category>
            <pubDate>Mon, 30 Jul 2012 14:29:53 +0800</pubDate>
        </item>
        <item>
            <title>Weather App Bug</title>
            <link>http://forum.lowyat.net/topic/2435222</link>
            <description>So... my iPhone 4 weather app is acting a little weird. When i delete the old weather entries that was added last time, it will appear again on the weather app once i stop the app and relaunch it. Does anyone know why this is happening?</description>
            <author>Xaxas</author>
            <category>iPhone</category>
            <pubDate>Fri, 20 Jul 2012 02:29:11 +0800</pubDate>
        </item>
        <item>
            <title>Where can I spend my phone credit?</title>
            <link>http://forum.lowyat.net/topic/2365010</link>
            <description>Hi as mention above, I&amp;#39;m finding for a website or some sort of services that allows me to pay using my phone credit. As I know, MOL allows me to do that, but I&amp;#39;m losing RM6 for every purchase i make for 400 points. Can anyone recommend me some good web services that allows me to do this? Eg. Groupon, mydeal and etc.</description>
            <author>Xaxas</author>
            <category>Serious Kopitiam</category>
            <pubDate>Tue, 29 May 2012 00:05:01 +0800</pubDate>
        </item>
        <item>
            <title>Having internal speaker problem on my laptop</title>
            <link>http://forum.lowyat.net/topic/2240574</link>
            <description>HI, thanks for taking the time to help me. So here&amp;#39;s the problem, sometimes when i unplug my ear phone from the laptop, the laptop speaker just doesn&amp;#39;t produce or make any sound. But when i plug in my earphone, there&amp;#39;s sound coming out from it. Does this have something to do with the software or drivers?&lt;br /&gt;&lt;br /&gt;Oh btw, when I plugged in the external subwoofer there is sound coming from it... And that&amp;#39;s just weird.&lt;br /&gt;But when i restart my laptop the speaker is working fine again, weird huh?&lt;br /&gt;&lt;br /&gt;Last but not least, Thanks in advance&amp;#33;</description>
            <author>Xaxas</author>
            <category>Technical Support</category>
            <pubDate>Fri, 24 Feb 2012 22:30:58 +0800</pubDate>
        </item>
        <item>
            <title>Having problem in my C program</title>
            <link>http://forum.lowyat.net/topic/2193583</link>
            <description>&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;#include &amp;#60;stdio.h&amp;#62;&lt;br /&gt;#include &amp;#60;stdlib.h&amp;#62;&lt;br /&gt;#include &amp;#60;string.h&amp;#62;&lt;br /&gt;&lt;br /&gt;void addToStart&amp;#40;&amp;#41;;&lt;br /&gt;void addToEnd&amp;#40;&amp;#41;;&lt;br /&gt;void printList&amp;#40;&amp;#41;;&lt;br /&gt;void removeNodeAt&amp;#40;&amp;#41;;&lt;br /&gt;void createList&amp;#40;&amp;#41;;&lt;br /&gt;void menu&amp;#40;&amp;#41;;&lt;br /&gt;&lt;br /&gt;int option, element;&lt;br /&gt;&lt;br /&gt;struct node&lt;br /&gt;{&lt;br /&gt;	char cName &amp;#91;50&amp;#93;;&lt;br /&gt;	int cNumber;&lt;br /&gt;	char tDescrip &amp;#91;50&amp;#93;;&lt;br /&gt;	struct node *next;&lt;br /&gt;}*newnode, *tempdisplay, *temp, *list, *prev;&lt;br /&gt;&lt;br /&gt;main&amp;#40;&amp;#41;&lt;br /&gt;{&lt;br /&gt;	do&lt;br /&gt;	{&lt;br /&gt; &amp;nbsp;menu&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp;switch &amp;#40;option&amp;#41;&lt;br /&gt; &amp;nbsp;{&lt;br /&gt; &amp;nbsp;case 1&amp;#58; addToStart&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp;	break;&lt;br /&gt; &amp;nbsp;case 2&amp;#58; addToEnd&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp;	break;&lt;br /&gt; &amp;nbsp;case 3&amp;#58; printList&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp;	break;&lt;br /&gt; &amp;nbsp;case 4&amp;#58; removeNodeAt&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp;	break;&lt;br /&gt; &amp;nbsp;case 5&amp;#58; break;&lt;br /&gt; &amp;nbsp;}&lt;br /&gt;	}while &amp;#40;option &amp;#33;=5&amp;#41;;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void menu&amp;#40;&amp;#41;&lt;br /&gt;{&lt;br /&gt;	printf &amp;#40;&amp;#34;Linked List&amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt;	printf &amp;#40;&amp;#34;1. Add a new node to the beginning&amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt;	printf &amp;#40;&amp;#34;2. Add a new node to the end&amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt;	printf &amp;#40;&amp;#34;3. Print out the entire list&amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt;	printf &amp;#40;&amp;#34;4. Remove a node from the list&amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt;	printf &amp;#40;&amp;#34;5. Quit program&amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt;	printf &amp;#40;&amp;#34;Please select your option&amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt;	scanf &amp;#40;&amp;#34;%d&amp;#34;, &amp;amp;option&amp;#41;;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void createList&amp;#40;&amp;#41;&lt;br /&gt;{&lt;br /&gt;	list = NULL;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void addToStart&amp;#40;&amp;#41;&lt;br /&gt;{&lt;br /&gt;	newnode = &amp;#40;struct node*&amp;#41;malloc&amp;#40;sizeof&amp;#40;struct node&amp;#41;&amp;#41;;&lt;br /&gt;&lt;br /&gt;	printf &amp;#40;&amp;#34;Enter the customer name &amp;#58;&amp;#34;&amp;#41;;&lt;br /&gt;	scanf &amp;#40;&amp;#34;%s&amp;#34;, newnode-&amp;#62;cName&amp;#41;;&lt;br /&gt;&lt;br /&gt;	printf &amp;#40;&amp;#34;&amp;#092;nEnter customer number &amp;#58;&amp;#34;&amp;#41;;&lt;br /&gt;	scanf &amp;#40;&amp;#34;%d&amp;#34;, newnode-&amp;#62;cNumber&amp;#41;;&lt;br /&gt;&lt;br /&gt;	printf &amp;#40;&amp;#34;&amp;#092;nEnter transaction description &amp;#58;&amp;#34;&amp;#41;;&lt;br /&gt;	scanf &amp;#40;&amp;#34;%s&amp;#34;, newnode-&amp;#62;tDescrip&amp;#41;;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void addToEnd&amp;#40;&amp;#41;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void printList&amp;#40;&amp;#41;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void removeNodeAt&amp;#40;&amp;#41;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;These are my codes so far. I&amp;#39;m having trouble with &lt;br /&gt;&lt;span style='color:red'&gt;printf (&amp;quot;&amp;#092;nEnter customer number :&amp;quot;);&lt;br /&gt;scanf (&amp;quot;%d&amp;quot;, newnode-&amp;gt;cNumber);&lt;/span&gt;&lt;br /&gt;The rest of the codes are okay, but when the program reach to that code it just crashes. I tried asking my lecturer for solution even he doesn&amp;#39;t know how to fix this.&lt;br /&gt;Can anyone shed any light on this for me?</description>
            <author>Xaxas</author>
            <category>Codemasters</category>
            <pubDate>Tue, 17 Jan 2012 16:14:51 +0800</pubDate>
        </item>
        <item>
            <title>C program</title>
            <link>http://forum.lowyat.net/topic/2025472</link>
            <description>Hello.. so as you know I&amp;#39;m kinda new here and my programming skills are still at a junior level and is still learning.&lt;br /&gt;I came here today cause i encounter a problem and couldn&amp;#39;t seem to correct it in my assignment as I need to create a menu that can take order and generate bills as well as for staff login.&lt;br /&gt;&lt;br /&gt;here are my codes&lt;br /&gt;&lt;!--SPOILER BEGIN--&gt;&lt;div class=&quot;spoilertop&quot; onClick=&quot;openClose('fffc2e862f1bfb9c1ece7e91bdd60e7a')&quot; style=&quot;font-weight: bold&quot;&gt;&lt;u&gt;&amp;raquo; Click to show Spoiler - click again to hide... &amp;laquo;&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;spoilermain&quot; id=&quot;fffc2e862f1bfb9c1ece7e91bdd60e7a&quot; style=&quot;display:none&quot;&gt;&lt;!--SPOILER END--&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt;#include &amp;#60;stdio.h&amp;#62;&lt;br /&gt;#include &amp;#60;conio.h&amp;#62;&lt;br /&gt;&lt;br /&gt;float total&amp;#40;&amp;#41;;&lt;br /&gt;float takeaway&amp;#40;&amp;#41;;&lt;br /&gt;float dinein&amp;#40;&amp;#41;;&lt;br /&gt;	&lt;br /&gt;main &amp;#40;&amp;#41;&lt;br /&gt;{&lt;br /&gt;	int select;&lt;br /&gt;	//The order variables&lt;br /&gt;	int i, count=0, count1=0, count2=0, count3=0, count4=0, count5=0, count6=0; &lt;br /&gt;	&lt;br /&gt;	do&lt;br /&gt;	{&lt;br /&gt;	//system &amp;#40;&amp;#34;cls&amp;#34;&amp;#41; To clear the menu selection.&lt;br /&gt;	printf &amp;#40;&amp;#34;1. Lunch/Dinner Set &amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt;	printf &amp;#40;&amp;#34;2. Breakfast Set &amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt;	printf &amp;#40;&amp;#34;3. Kiddies Set &amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt;	printf &amp;#40;&amp;#34;4. Promotion &amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt;	printf &amp;#40;&amp;#34;5. Drink &amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt;	printf &amp;#40;&amp;#34;6. French Fries &amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt;	printf &amp;#40;&amp;#34;7. Dessert &amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt;	printf &amp;#40;&amp;#34;8. Upgrade meal &amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt;	printf &amp;#40;&amp;#34;9. Finish order &amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt;&lt;br /&gt;	printf &amp;#40;&amp;#34;Please select the order &amp;#58; &amp;#34;&amp;#41;;&lt;br /&gt;	scanf &amp;#40;&amp;#34;%d&amp;#34;,&amp;amp;select&amp;#41;;&lt;br /&gt; &amp;nbsp;&lt;br /&gt;	switch &amp;#40;select&amp;#41;&lt;br /&gt;	{&lt;br /&gt; &amp;nbsp;&lt;br /&gt;	case 1&amp;#58; system &amp;#40;&amp;#34;cls&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;&amp;#092;nLunch/Dinner Set &amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;1 Burger/Chicken &amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;1 Drink&amp;#40;medium&amp;#41; &amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;1 French fries&amp;#40;medium&amp;#41; &amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;Price of this set RM8.00&amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;Number of sets ordered &amp;#58; &amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	scanf &amp;#40;&amp;#34;%d&amp;#34;,&amp;amp;count&amp;#41;;&lt;br /&gt;&lt;br /&gt; &amp;nbsp;	getchar&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp;	system &amp;#40;&amp;#34;cls&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	break;&lt;br /&gt;	case 2&amp;#58; system &amp;#40;&amp;#34;cls&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;&amp;#092;nBreakfast Set &amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;1 Breakfast &amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;1 Drink&amp;#40;medium&amp;#41; &amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;Price of this set RM5.00&amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;Number of sets ordered &amp;#58; &amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	scanf &amp;#40;&amp;#34;%d&amp;#34;,count1&amp;#41;;&lt;br /&gt;&lt;br /&gt; &amp;nbsp;	getchar&amp;#40;&amp;#41;;getchar&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp;	system &amp;#40;&amp;#34;cls&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	break;&lt;br /&gt;	case 3&amp;#58; system &amp;#40;&amp;#34;cls&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;&amp;#092;nKiddies Set &amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;1 Burger/Chicken &amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;1 Drink&amp;#40;small&amp;#41; &amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;1 French fries&amp;#40;small&amp;#41; &amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;Price of this set RM6.00&amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;Number of sets ordered &amp;#58; &amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	scanf &amp;#40;&amp;#34;%d&amp;#34;,count2&amp;#41;;&lt;br /&gt;&lt;br /&gt; &amp;nbsp;	getchar&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp;	system &amp;#40;&amp;#34;cls&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	break;&lt;br /&gt;	case 4&amp;#58; system &amp;#40;&amp;#34;cls&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;Promotion &amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;Burger/Chicken &amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;Price of this set RM3.00&amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;Number of sets ordered &amp;#58; &amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	scanf &amp;#40;&amp;#34;%d&amp;#34;,count3&amp;#41;;&lt;br /&gt;&lt;br /&gt; &amp;nbsp;	getchar&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp;	system &amp;#40;&amp;#34;cls&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	break;&lt;br /&gt;	case 5&amp;#58; system &amp;#40;&amp;#34;cls&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;Drink&amp;#40;medium&amp;#41;&amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;Price of this set RM2.00&amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;Number of sets ordered &amp;#58; &amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	scanf &amp;#40;&amp;#34;%d&amp;#34;,count4&amp;#41;;&lt;br /&gt;&lt;br /&gt; &amp;nbsp;	getchar&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp;	system &amp;#40;&amp;#34;cls&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	break;&lt;br /&gt;	case 6&amp;#58; system &amp;#40;&amp;#34;cls&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;French Fries&amp;#40;medium&amp;#41;&amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;Price of this set RM3.00&amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;Number of sets ordered &amp;#58; &amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	scanf &amp;#40;&amp;#34;%d&amp;#34;,count5&amp;#41;;&lt;br /&gt;&lt;br /&gt; &amp;nbsp;	getchar&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp;	system &amp;#40;&amp;#34;cls&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	break;&lt;br /&gt;	case 7&amp;#58; system &amp;#40;&amp;#34;cls&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;Dessert&amp;#40;Ice cream / pie / cake&amp;#41;&amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;Price of this set RM3.50&amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;Number of sets ordered &amp;#58; &amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	scanf &amp;#40;&amp;#34;%d&amp;#34;,count6&amp;#41;;&lt;br /&gt;&lt;br /&gt; &amp;nbsp;	getchar&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp;	system &amp;#40;&amp;#34;cls&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	break;&lt;br /&gt;	case 8&amp;#58; system &amp;#40;&amp;#34;cls&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;Upgrade meal &amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	printf &amp;#40;&amp;#34;small to medium/medium to large &amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt;&lt;br /&gt; &amp;nbsp;	getchar&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp;	system &amp;#40;&amp;#34;cls&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	break;&lt;br /&gt;	case 9&amp;#58; printf &amp;#40;&amp;#34;End order &amp;#092;n&amp;#092;n&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	break;&lt;br /&gt;	}&lt;br /&gt;	}while &amp;#40;select&amp;#33;=0 &amp;amp;&amp;amp; select&amp;#60; 9&amp;#41;;&lt;br /&gt;	&lt;br /&gt;	&lt;br /&gt;	printf&amp;#40;&amp;#34;Lunch/Dinner set %d &amp;#092;nBreakfast set %d &amp;#092;nKiddies set %d &amp;#092;nPromotion %d &amp;#092;nDrink %d &amp;#092;nFrench Fries %d &amp;#092;nDessert %d &amp;#092;n&amp;#34;,count,count1,count2,count3,count4,count5,count6&amp;#41;;&lt;br /&gt;	total&amp;#40;&amp;#41;;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;float total &amp;#40;&amp;#41;;&lt;br /&gt;//THE PROBLEM I&amp;#39;M FACING IS IN THIS FUNCTION.&lt;br /&gt;{&lt;br /&gt;	float sum;&lt;br /&gt;	// a represent lunch/dinner set and b represent breakfast set and so on.&lt;br /&gt;	float a=8, b=5, c=6, d=3, e=2, f=3, g=3.5;&lt;br /&gt;	//Is there any way for me to get the data in the above function as you can see count,count1, etc etc into this function? or is there a better way for me to be doing this?&lt;br /&gt;	sum = &amp;#40;count * a&amp;#41; + &amp;#40;count1 * b&amp;#41; + &amp;#40;count2 * c&amp;#41; + &amp;#40;count3 * d&amp;#41; + &amp;#40;count4 * e&amp;#41; + &amp;#40;count5 + f&amp;#41; + &amp;#40;count6 + g&amp;#41;;&lt;br /&gt;&lt;br /&gt;	printf &amp;#40;&amp;#34;Total price of order &amp;#58; RM %d&amp;#34;, sum&amp;#41;;&lt;br /&gt;}&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;!--SPOILER DIV--&gt;&lt;/div&gt;&lt;!--SPOILER DIV--&gt;&lt;br /&gt;If you have any suggestion on how I can make my menu better, I&amp;#39;m all ears &lt;!--emo&amp;:)--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /&gt;&lt;!--endemo--&gt;&lt;br /&gt;thanks in advance for your time spent to help me</description>
            <author>Xaxas</author>
            <category>Codemasters</category>
            <pubDate>Thu, 08 Sep 2011 02:25:45 +0800</pubDate>
        </item>
    </channel>
</rss>
