Jan, Your code has an extra ";" for the function main() which should not take any returned integer. int main( void ); Ch allows C code to run without main()...
Hah! It figures! Sorry for the distraction over such a trivial mistake. I've sometimes actually taken Ch code and passed it through gcc in "pedantic" C99 mode...
Anyone know a source for 3D kernel smoother C code or multivariate that can be specialized to that? I have NAG for Ch, and am aware of g10bac and the other...
hi to all. i've just started using ChIDE for plotting some graphs but i'm having issues. this is my code: #include <stdio.h> #include <math.h> #include...
A couple of things wrong with your code. You are using linspace, one its deprectated, and two, it will wipe out your values filling the array with values...
[ Charset ISO-8859-1 converted... ] ... you can use "ch -n" to parse, but do not execute a program. It will detect the syntax errors before you execute the...
Does CH have any provisions to easily read data files, extracting columns without looping, for further processing on all or a subset of the data like...
It depends, in part, on how large the columns are in each case. It is IMO easy to read columns of data with sscanf. Yes, loops are required, but if one writes...
The C source to DM is in fact available but with a restrictive license. From my naive perspective, the beauty of DM is that all it cares about is the *type*...
Ch supports shell programming. You may use commands dm, awk, cut, etc., such as char filename[] = "rawdata.dat"; dm $(filename) inside a Ch script to process a...
Hi, When I try to run: char * strcpy(int dst, int src) { return ""; } main() { strcpy(0,1); } CH complains that: ERROR: found int where string is expected ...
... yes. You can. You can use #pragma remkey (strcpy) in a program remove it. Then, redefine it. strcpy() is a standard C function. It is not recommended to...
Hi T.S., Thanks for your reply. ... It is for an old code base so I do not have a lot of choice. But it is correct C isn't it so why does it require a #pragma?...
Hello, I am trying to convert a Linux-based intrusion detection system to a Mobile-C agent-based system. However, the system is dependent partly on the...
... not sure exactly what you want achieve. Assume you want to call the kernel space C functions, it should not be a problem. You can find more at the link...
Hi, When I try to run this code: #include <stdio.h> long bla(char * s, ...) { printf(s,...); return 0; } int bli(int a, int b) { return 0; } main() { ...
Hello! I have joined this group long time ago, but I was tempted to ask something since I found someone was asking a question about drag coefficient. My...
Well I learned some more. First that passing the '...' will not work. It probably shouldn't even but I'll leave that to the Ch experts. What should work is...
... Ch Student edition or Ch Professional llows you to do plotting. see CHHOME/docs/chguide.pdf in chapter about plotting. ... For Windows, you can use the...
Hi all! I have been playing with the Ch Standard Ed for about a week and I enjoy it a lot. However, I consider using it as a teaching environment on Windows,...
... I don't think you can do the same way to get microsoft office to work in another machine. It is the same here. You may use image dump to copy the entire...
Hi, I'm trying some demo examples given with Mobile-C. Until now everything seem to work fine. But when I start the demo example mc_array_return_example, the...
... Thanks for helping with redirecting Ch to Vim. Perhaps with some Vim scripting, the two programs can be made to work very well together. I'll try to...
... We didn't include gvim for limiting the size to download. The existing vim version features looks OK for us to use. Any new features in the latest vim...
... Since Vim 6.3, more than 4 years old now, there were several new releases of the editor, each adding new features. Of those features, here are some, not...
Hello all! Here are some suggestions regarding Ch. - 1 - Windows Ch's bin directory contains some programs in more than one copy, under different names. The...