<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Topics tagged with c program]]></title><description><![CDATA[A list of topics that have been tagged with c program]]></description><link>https://lankadevelopers.lk/tags/c program</link><generator>RSS for Node</generator><lastBuildDate>Fri, 11 Sep 2026 07:00:20 GMT</lastBuildDate><atom:link href="https://lankadevelopers.lk/tags/c program.rss" rel="self" type="application/rss+xml"/><pubDate>Invalid Date</pubDate><ttl>60</ttl><item><title><![CDATA[How to make pattern programs in C or C++]]></title><description><![CDATA[<p dir="auto">Most of the pattern programs written in C or C++ are the same, but different in syntax. This is done so that you can have a pattern program, which can be reused and saved in a library. By doing so, you don't have to type the bunch of code over and over again again, and it is a lot faster than writing a new program each time.</p>
<p dir="auto">Read this article, as they have shown the <a href="https://www.techgeekbuzz.com/pattern-programs-in-c/" target="_blank" rel="noopener noreferrer nofollow ugc">most asked pattern programs in C</a>.</p>
]]></description><link>https://lankadevelopers.lk/topic/904/how-to-make-pattern-programs-in-c-or-c</link><guid isPermaLink="true">https://lankadevelopers.lk/topic/904/how-to-make-pattern-programs-in-c-or-c</guid><dc:creator><![CDATA[Saba Techatom]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Programme for USB Device Permisions]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/1419">@sanda</a> python monda danaganna ona</p>
]]></description><link>https://lankadevelopers.lk/topic/668/programme-for-usb-device-permisions</link><guid isPermaLink="true">https://lankadevelopers.lk/topic/668/programme-for-usb-device-permisions</guid><dc:creator><![CDATA[Pasindu Vishmika]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[C  count down timer set system time error]]></title><description><![CDATA[<p dir="auto">code eka danna bro. code eka balanne nathuwa mukuthma kiyanna ba . me forum eke code danna puluwan</p>
]]></description><link>https://lankadevelopers.lk/topic/544/c-count-down-timer-set-system-time-error</link><guid isPermaLink="true">https://lankadevelopers.lk/topic/544/c-count-down-timer-set-system-time-error</guid><dc:creator><![CDATA[root]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Need help in C]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/71">@Dilshan-Lakshitha</a> Machan first of all this is a community and it's not a place where you get other people to code for free of charge. Even if we wanted to I'm pretty sure most of us don't have enough time but what we can do is help you when you get stuck in some place or you don't know what to do next. Without out giving an effort, there won't be any help.</p>
<p dir="auto">Ok now let me give you a basic idea how this should be developed.</p>


<p dir="auto">Get all the Menu Items and prices into a  .txt file</p>
<p dir="auto">eg: - Fried Rice 180<br />
Fried Noodles 200<br />
etc.</p>


<p dir="auto">Using file reading function read them at the start and get it into a 2D array and print them accordingly.</p>
<p dir="auto">it should be showed to select. (This may vary according to user's preference)<br />
eg:-</p>

Fried Rice - Rs. 180
Fried Noodles - Rs 200<br />
etc.<br />
999.Done



<p dir="auto">Let the user select using the input method. Make sure the above said is in a loop. I prefer while loop.</p>


<p dir="auto">Each time the user selects an item add it to an array. I recommend using just numbers as you already have food items on another array.<br />
eg:-</p>
      int foodArr[200] = {2,5,9}



<p dir="auto">Then at the end of the ordering process when user hits that 999 or Done. Calculate the ordered food array and print it out.</p>


<p dir="auto">Try this method and see. Else come back to us and someone else or me would be able to help you.</p>
]]></description><link>https://lankadevelopers.lk/topic/62/need-help-in-c</link><guid isPermaLink="true">https://lankadevelopers.lk/topic/62/need-help-in-c</guid><dc:creator><![CDATA[lahirunc]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>