Results 1 to 6 of 6

Thread: CH Interpreter

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Senior Member zak's Avatar
    Join Date
    Dec 2008
    Posts
    637
    Rep Power
    83

    CH Interpreter

    the CH interpreter is usefull for learning c/c++, and with an external IDE it is a breeze. download the free version from here: (43 MB)
    http://www.softintegration.com/downl...dard-6.3.0.exe
    write a classic c Myfile.c then run it from dos prompt like this:
    ch Myfile.c , or better download a free IDE from here:
    http://chscite.sourceforge.net/ChSciTEDoc.html
    download chscite-1.5.5.exe :
    http://sourceforge.net/projects/chsc...Scite%201.5.5/
    by using this ide just write the c code and press F5 , it will show the results at the bottom pane.
    the ch package come with a full opengl/glut support with many examples ,you can run it from dos prompt like ch cube.c, but you can't run the opengl demos from within the ide until you make tiny change, just find the file "cpp.properties" in "C:\Program Files\ChSciTE" and change those lines:
    command.go.subsystem.*.c=0
    command.go.subsystem.*.ch=0
    command.go.subsystem.*.cpp=0
    to
    command.go.subsystem.*=1.c=0
    command.go.subsystem.*=1.ch=0
    command.go.subsystem.*=1.cpp=0
    so it will be able to open the dos window to run the gl examples, read the Faqs. i attach the modified file cpp.properties for convenience.
    in the folder C:\Ch\toolkit\demos\OpenGL there is a huge number of opengl/glut examples including the whole redbook examples in "book_gl" folder.
    here is how it looks like running an example from the ide


    it seems to me that any c code can be compiled and run using VC6 also can be run directly using ch without compiling. additional notes from the forum members here can enrich the subject more and more.
    Attached Files Attached Files
    Last edited by zak; 15-12-2010 at 19:47.

Similar Threads

  1. Interpreter inside a database
    By Chris Holbrook in forum Shout Box Area
    Replies: 15
    Last Post: 09-02-2010, 00:15
  2. Interactive interpreter
    By Mark0 in forum thinBasic General
    Replies: 7
    Last Post: 28-04-2008, 21:29
  3. New to interpreter type questions.
    By Steve in forum thinBasic General
    Replies: 7
    Last Post: 24-02-2008, 01:22

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

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