"C" compiler


Closed Thread
Results 1 to 7 of 7

Thread: "C" compiler

  1. #1
    Eng4444's Avatar
    Eng4444 Guest

    Exclamation "C" compiler

    I am used to write my code using PicBasic Pro.

    I am finding many suitable programs for my PC16F876A but they are all written in C language!

    so can i just copy the programs and paste them directly in PicBasic Pro workspace?

    or i need a certain new program?

    in case i need a new program (compiler) would anyone be able to give me a download link?

    thanks.

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    I am used to write my code using PicBasic Pro.

    I am finding many suitable programs for my PC16F876A but they are all written in C language!

    so can i just copy the programs and paste them directly in PicBasic Pro workspace?
    No you can't cut & paste C code into PBP programs.

    or i need a certain new program?
    You will need the C compiler your code examples were written for.

    in case i need a new program (compiler) would anyone be able to give me a download link?
    Once you know which C compiler was used to create the code examples you
    have, then you'll know which one to get.

    Microchip has a free student version of the C18 C compiler;
    http://www.microchip.com/stellent/id...&part=SW006011

    Hi-Tech also has a free limited version C compiler;
    http://www.htsoft.com

    And there are quite a few more, but first you really want to find out which
    one was used to create the examples you have.

    You can always port your examples from one C compiler to another, but of
    course you'll need to be somewhat familiar with C to do this.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  3. #3
    Eng4444's Avatar
    Eng4444 Guest


    Did you find this post helpful? Yes | No

    Exclamation Thank you :-)

    // Compiler : mikroC, mikroElektronika C compiler
    // for Microchip PIC microcontrollers
    // Version: 5.0.0.3
    ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++

    Here what it is being used.. so from where to get it?

    any website?

  4. #4
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  5. #5
    Join Date
    Apr 2006
    Location
    New Hampshire USA
    Posts
    298


    Did you find this post helpful? Yes | No

    Thumbs up mikroC has a forum

    Last edited by Pic_User; - 1st June 2006 at 14:40.
    Ohm it's not just a good idea... it's the LAW !

  6. #6
    Join Date
    Sep 2003
    Location
    Vermont
    Posts
    373


    Did you find this post helpful? Yes | No

    Default

    After looking at some C routines, it is fairly easy to convert most code to PBP. Of course string handling and FP math is more difficult, but I've found that it's good to stay with something I'm familiar with. I have a project coming up that must be done in C. While part of me is dreading the learning curve, I do look forward to expanding my language knowledge.

    Good luck,
    Ron

  7. #7
    Eng4444's Avatar
    Eng4444 Guest


    Did you find this post helpful? Yes | No

    Wink Thank you ADAM!:-)

    Sometimes, i really meet very nice people...like Adam.

Similar Threads

  1. PIC BASIC Compiler for ARM machines?
    By stone20008 in forum General
    Replies: 2
    Last Post: - 22nd August 2008, 07:14
  2. Compiler refuses to compile
    By CodeShredder in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 21st June 2008, 19:41
  3. compiler help!!!!
    By MINHLE in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 20th April 2008, 18:52
  4. Compiler Errors
    By Conspiracy Bro in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 1st November 2004, 16:57
  5. Compiler Error
    By mikep in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 6th November 2003, 18:53

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts