function

Home Forums C Programming function

This topic contains 10 replies, has 2 voices, and was last updated by  Humayan 9 years, 3 months ago.

  • Author
    Posts
  • #2130

    VidaVOXeql
    Member

    hello..po..great day..
    ahm..i need some help of my project..
    ahm..can you help me in this program:
    example program of:
    infix to postfix
    merge sort
    binary,hexa,octa convert to decimal..
    tnx…

  • #3431

    Humayan
    Member

    binary conversion:
     

     
     
    hex conversion:

     
    Is the merge sort on an array??

  • #3432

    VidaVOXeql
    Member

    ahmm thanks for the reply…cman..it help me a lot but,,,can you transfer the codes in C language…not C++…thank..you..and another is ung program po na conversion of octa,hexa,binary to decimal ai iisang program lang po..ndi po hiwahiwalay ung tatlo…tnx po..
    ahm..our instructor told us that it depend on us,,,kung ano ang gagawin nming program about that…basta kaya nming ipaliwanag po…ung program..nmin..
    and another thing is pwede po bang pkipaliwanag na din ng flow nung program..tnxx…a lot..
    have a nice day…

  • #3433

    Humayan
    Member

    merge sort:
     

     

  • #3434

    Humayan
    Member

    are you supposed to use a stack data structure for the postfix to infix conversion?? STL or homemade??

  • #3435

    VidaVOXeql
    Member

    ahm..sir cman….tnx for ur,,,reply…..i think it will help me a lot..but.i think you should transfer that source codes in C language….
    tnx….
    sir,,,,

  • #3436

    VidaVOXeql
    Member

    ahm..sir cman….tnx for ur,,,reply…..i think it will help me a
    lot..but.i think you should transfer that source codes in C language….
    tnx….
    sir,,,,
    and also,,,
    sir,,,
    nalilito po ako..dun sa mga codes…sa merge sort….
    ahm..can you,,,,make it clear….tnx…

  • #3437

    VidaVOXeql
    Member

    ahm,,,sir,,,tnx,,,,4 the reply,,
    ahm,,,,wat do you mean b,,,STL?
    anhm,,,,its ok,,,when you use the stack structure..
    tnx….

  • #3438

    Humayan
    Member

    So you need a version of the postfix program with a homemade stack? I’ll see if I can write one today/tommorow…….

  • #3439

    VidaVOXeql
    Member

    tnxxxx….po…kua….

  • #3440

    Humayan
    Member

    Heres a version of the infix to postfix conversion I found on the web. The implementation is pretty typical ( but could be simpler ). Ask if you have any questions:
     

You must be logged in to reply to this topic.

0 Shares
Share
+1
Tweet
Share
Stumble