Hi All, I am using SciTe C++ editor along with CH. When I declare a variable as "double" or (even "long double") in C++, it is happily supposed to take the...
... How do you input your value to a variable of double type? For example, you may use double x; scanf("%lf", &x); Note that scanf("%f", &x); will make x equal...
Is there any possibility to clear a variable to use it again? For instance Matlab has the clear statement. (clear cleans up the screen in Ch.) Is there any...
Hello, I just started on this list and with Ch. I'm new to Ch but not to C/C++ programming. I just ported a C application made of several files to Ch. Had to ...
Running XP and Ch Version 5.5.0.13221 I have a few commands(dot commands), .ch extensions, and a number of functions (.chf) called by each command. I would...
... You may use system variables declared by the type qualifier __declspec(global). For example, __declspec(global) int s_var1, s_var2; Tech support...
... I have an include file with: #ifndef _GLOBALVARS_ #define _GLOBALVARS_ __declspec(global) int s_var1, s_var2; #endif Command file 'tglobal.ch' is #include...
... manipulated ... Additionally --- I created a dot command in the _chrc file as... alias("tglob", ". tglobal"); alias("tglob1", ". tglobal1"); tglob produces...
Hello, Thanks for your reply. No, I just tested hypot.c and it doesn't run either. The output is: Error: dlopen(): /usr/local/ch/dl/libmath.dl: Undefined...
... number of ... Solved - The declspec declarations were put into the _chrc file. If put there, the code behaves as expected. If put anywhere else, it...
[ Charset ISO-8859-1 converted... ] ... You may start a new Ch shell before running commands to see the error message. The error messages when runing your code...
... This might be the reason. Ch for FreeBSD is compiled in a 32bit machine. Not sure how to run a program compiled in 32 bit machine for FreeBSD run in 64 bit...
Yes, I agree with you that executing Ch in a 64 bit FreeBSD box might be a borderline case just now. Anyway I can do more tests, if you need. Eventually Ch...
... Thanks for your help. Yes. We will do the porting if the demand to run 64 FreeBSD is picked up. ... The un-commonly used feature of declaring a union...
Yes, I agree that a union cast such as this is difficult to read. It is not mine, but part of an open-source library. I simplified it more or less in the way...
hi, how does one specify case insensitivity in matching in chpcre? i tried the PERLesque "/..../i" but it treats it like part of the pattern. i looked at the...
found it! see http://www.ugcs.caltech.edu/manuals/libs/pcre-6.4/pcreapi.html#SEC13 you specify PCRE_CASELESS as the option (solo or combined) of the ...
... Ch normally will not crash and gives a descriptive error message. If you can package your code with README inside to show how to run the code and...
Sorry, I didn't mean to say that Ch crashes. What crashes is my program in Ch. Or, to put it better, Ch refuses to execute my program further from a given...
I am running Standard edition, version 5.5.0.13221 on windows XP. I reproduced the Student class from the User's Manual, Ch. 19. I have put the class in both...
... Three files prog.cpp, student.h, Student.cpp attached show how to run a C++ proram in Ch. Header file student.h contains the class definition. File...
Yes, now I can make the example work. The pragma statement that I found necessary, for the test program, is #pragma import <Student.cpp> However, now add a...
... To handle C++ constructor overloading and polymorphism, You may use Student(...); for Student(); Student (char *n); Please check section 19.9.4 Polymorphic...
Hi, Is there any library having functions which allow a program to interrogate how much memory resources are available or used, preferably subdivided into main...
High ChScite users! I used the localization files of the ChScite download site to switch the ChScite GUI to german language. In Windows the charakters are ...
My attempts to run the official example "load sample" with windows Visual Studio 2003 compiler fails. I am able to compile libsample.dl with any errors. But...
... ChScite German localization is modified based http://scintilla.sourceforge.net/locale.de.properties You may modify locale.properties for german distributed...