Jump to content



Photo
- - - - -

Conversion


  • Please log in to reply
6 replies to this topic

#1 scientifix

scientifix

    Casio Addict

  • Members
  • PipPipPip
  • 78 posts

  • Calculators:
    fx9860gII

Posted 18 May 2013 - 03:31 PM

Hi,
Is it possible to convert hp programs into casio programs using this :
http://www.xnview.com/en/xnconvert/ ????
Thanks
scientifix

#2 3298

3298

    Casio Addict

  • Members
  • PipPipPip
  • 79 posts
  • Gender:Male
  • Location:Germany

  • Calculators:
    fx-9750G Plus
    Algebra FX 2.0 (ROM 1.03,broken)
    HP 50G

Posted 19 May 2013 - 08:58 PM

How do you expect an IMAGE conversion program to convert PROGRAMS? :lol2: No, that will never work.

#3 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 20 May 2013 - 12:08 AM

Scientifix, you may want to learn some C, and then try undertaking porting these CAS's yourself ;)
  • Casimo likes this

#4 scientifix

scientifix

    Casio Addict

  • Members
  • PipPipPip
  • 78 posts

  • Calculators:
    fx9860gII

Posted 20 May 2013 - 04:43 PM

I'd like to but I don't know how and where I could learn it !

#5 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 20 May 2013 - 06:53 PM

http://www.cprogramming.com/

That's a good place to start. ;)

#6 3298

3298

    Casio Addict

  • Members
  • PipPipPip
  • 79 posts
  • Gender:Male
  • Location:Germany

  • Calculators:
    fx-9750G Plus
    Algebra FX 2.0 (ROM 1.03,broken)
    HP 50G

Posted 20 May 2013 - 07:21 PM

You could look at other people's programs. For C, C++ and some other languages it doesn't even need to be a calculator-related program, just pick e.g. an open-source PC game and try to understand and modify parts of it. My first steps with C were the MLCAFX interpreter by 4nic8 which I wanted to enhance, but the coding style was way below the PC game I try to contribute to (OpenTTD). Also, if you don't understand something, ask someone (Google, some forum member, ...) or just try it and look at the output.
Unfortunately, C won't help you much with HP programs, you would need to learn another new language. If you really want that, get an emulator and learn it with the same process.
For all languages, try this: Get some trivial program (helloworld for C, factorial for Haskell, some simple additions, subtractions etc. for RPL, ...) and modify it to do a little bit more. Then get the next example which is a little bit different (let's take command-line parameters). If you understand that, time to take your big example program and examine what it does with its command-line parameters. And so on.

#7 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 20 May 2013 - 08:45 PM

Also, just some tips for beginners:

1. Comment well, comment often. Even if you think it is self-explanatory, when you are starting out, comment as much as you can. It saves loads of time later on, or if you want someone to help you with your program.

2. Pick a system and stick with it. All your indents should be the same, 2 spaces, 3 spaces, or tabs. Your names should all follow the same guidelines, don't do functionName1 and Functionname2 in the same program.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users