Ch (computer programming): Difference between revisions

Content deleted Content added
MeltBanana (talk | contribs)
Bluemoose (talk | contribs)
AWB Assisted clean up and fix c++ links
Line 1:
Ch, pronounced as C H, is an embeddable C/C++ interpreter. Ch is designed for using one C compatible language for all programming tasks.
 
Ch programming language extends [[C programming language|C]] and [[C plus plus|C++]] for scripting, numerical computing and 2D/3D plottings and embedded scripting. It can run in Windows, Linux x86, Linux PPC, Solaris, HP-UX, Mac OS X, FreeBSD and QNX.
 
== Features ==
 
=== C/C++ compatible interpreter ===
 
Ch supports 1999 ISO C Standard (C99) and C++ classes. It is superset of C with
C++ class. C99 major features such as complex numbers, variable length arrays (VLAs), IEEE-754 floating-point arithmetic, generic mathematical functions
Line 18 ⟶ 16:
 
=== 2D/3D plotting and numerical computing ===
 
Ch has built-in 2D/3D graphical plotting features and computational arrays for
numerical computing. Linear system equation b = A*x can be written verbatim in Ch.
 
 
== Examples ==
=== "Hello, world!" in Ch ===
 
There are two ways to run Ch code. One is:
 
Line 42 ⟶ 37:
 
=== Numerical computing in Ch ===
 
 
<nowiki>#</nowiki>include <stdio.h>
Line 66 ⟶ 60:
 
=== Shell programming ===
 
Find and compile all .c files into .o in the current directory when the .o is old or absent.
 
Line 83 ⟶ 76:
}
}
 
 
=== 2D/3D plotting in Ch ===
 
 
To plot a sine wave:
 
Line 103 ⟶ 93:
* [http://www.softintegration.com SoftIntegration Home Page]
 
 
[[Category:Programming_languages]]
[[Category:C_programming_language_familyC programming language family]]
[[Category:Curly_bracket_programming_languagesCurly bracket programming languages]]
[[Category:Programming languages]]