/********************* Tips for Using Ch *******************/ 1) To get started, type "help" at the Ch shell prompt. 2) In the Ch shell, you can simply type the C/Ch file name to run your program (you need to run "chmod +x file_name.c" first in Unix, Mac) If you have multiple files for a program, check the URL below to see how to run the program without Makefile: http://www.softintegration.com/support/faq/generalprog.html#2 3) Ch supports shell programming. Unix commands such as awk and sed can be used inside Ch scripts as in Perl, Bash, or csh. Ch built-in string type string_t and foreach-loop are especially useful for shell programming. Below is an example: string_t token, str="dir1 dir2 dir3"; foreach(token; str) { mkdir $token } More at http://www.softintegration.com/docs/ch/shell/ 4) Ch supports POSIX functions such as opendir() and readdir() for cross platform directory and file handling. More at http://www.softintegration.com/demos/chstandard/posix.html 5) A better calculator for quick calculations, easy to check if there is typo for the input number. For example: C:/> 23+344+23.02+343 733.0200 C:/> 733.02/4 183.2550 C:/> 6) Like in Unix, a command in Windows can be executed in the background by appending "&" at the end of the command. For example, c:/> notepad & 7) Ch demos contain code for C90, C99, C++ and other features. More at http://www.softintegration.com/demos/chstandard/ 8) Numerical computing and 2D/3D graphical plotting functions are available in Ch Professional Editions. Check http://www.softintegration.com/products/chprofessional/ For Numerical computing and web based numerical analysis, check: http://www.softintegration.com/webservices/numeric/ http://www.softintegration.com/chhtml/lang/demos/lib/libch/numeric/ http://www.softintegration.com/solution/engineering/ 9) Web-based graphical plotting, numerical analysis, and control system design and analysis can be found at http://www.softintegration.com/webservices/ 10) There are two ways to build functions used by Ch. i) to build functions used in Ch shell You can put your function files in a directory and set your _fpath to include this directory. You can check sample ~/.chrc file which can get by running "ch -d". ii) To call your functions in static/dynamic libraries, check our Ch SDK at http://www.softintegration.com/products/sdk/chsdk/ 11) To access Ch file functions or variables from Ch shell command line, please visit http://www.softintegration.com/support/faq/generalprog.html#8 http://www.softintegration.com/support/faq/generalprog.html#9 12) To embed Ch into your applications as a script engine, check our Embedded Ch http://www.softintegration.com/products/sdk/embedded_ch/ 13)If you are looking for C++ graphical library for your applications, check http://www.softintegration.com/products/silib/graphlib/ These graphical library functions have the same APIs in Ch Professional Edition. They can run in Ch Professional Edition without compilation. 14) If you are an experienced C/C++ user, you may only need to read Appendices B and C in Ch User's Guide with comparison to C and C++, plus Chapters 23 and 24 for 2D/3D plotting and numerical analysis available in Ch Professional Edition. Chapters 1, 2, 3, and 4 will be useful to getting started to use Unix shell.