Ch (computer programming): Difference between revisions

Content deleted Content added
Alacenski (talk | contribs)
Reworded possibly biased citation wording. Small copy edits.
Alacenski (talk | contribs)
No edit summary
Line 16:
The following C++ features are available in Ch:
 
* Member functionfunctions
* Mixed code and declaration
* The this-> pointer
* Reference type and pass-by-reference
* Function-style type conversion
* ClassClasses
* privatePrivate/public data and functions in classclasses. Ch is compatible with C++ in that by default, members of a class definition are assumed to be private until a 'public' declaration is given
* Static member of class/struct/union
* Const member functions
Line 36:
* Classes inside member functions
* Nested functions with classes
* PassPassing member function to argument of pointer-to-function type of functions
 
Ch can interface with existing C/C++ libraries and call C/C++ functions from Ch script.<ref>{{cite journal | last = Wilson | first = Matthew | year = 2004 | title = Open-RJ and Ch | url = http://drdobbs.com/184401877?queryText=ChSDK | publisher = Dr. Dobb's Journal}}</ref>
Line 42:
<ref>{{cite journal|last1=Wang|first1=Li-rong | last2 = Bo | first2 = Yo|last3=Hagiwara | first3 = Ichiro | title = An agent based collaborative simplification of 3D mesh model | url = http://dl.acm.org/citation.cfm?id=1813032 | year=2009 | publisher = CDVE'09 Proceedings of the 6th international conference on cooperative design, visualization, and engineering }}</ref>
 
Ch is a C language [[shell (computing)|shell]] and can be used as login shell. Ch has a built-in string type (string_t) for automatic memory allocation and de-allocation. It makes C/C++ easy of scripting. It supports shell aliasaliases, history, piping, etc.<ref>{{cite journal | last = Campbell | first = Matt | year = 2003 | title = Ch, A C/C++ Interpreter -- New possibilities for people who like C and Unix | url = http://www.mactech.com/articles/mactech/Vol.19/19.09/CInterpreter/index.html | publisher = MACTECH, the journal of Apple technology}}</ref><ref>{{cite book|last=Cheng|first=Harry|title=The Ch Language Environment|edition=6.3|year=2010|publisher= SoftIntegration, Inc.|___location=Davis, CA}}</ref>
 
Ch has built-in 2D/3D graphical plotting features and computational [[array data type|array]]s for