Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
gottagetcodin #1
cfexecute for mathematical algorithms
Hi I need to write C++ programs to do long mathematical algorithms which I
want to combine into cfm pages. I know java is quicker but i dont use java and
C++ CFX tags are enough to drive someone mad. Now that MX6.1 can return a
variable from an executable program, is it feasible to run the exe files thru
cfexecute. Lets say I've got a number of scalar inputs and return a single
output. Can anyone show me the cfm/C++ code required to run a function adding
two numbers together and returning the result as an example? Thanks in advance
Tim
gottagetcodin Guest
-
Anyone mathematical?
Are you any good at maths? If so I was wondering if you can come up with a nice formular that I can program in Lingo that will calculate the angle... -
advanced lingo algorithms
Alright guys, We all know that lingo is great for eye catching multimedia but programmers are known for laying down the science right? Well I've... -
Mathematical differences?!
Hello all, I ported a algorithm from JavaScript to PHP and noticed that PHP outputs a different result than JS. For example: ... -
[PHP] Mathematical differences?!
How could that be?! 1:1 the same code but different outputs? Is this a PHP-bug? :-? *feelin' kinda' smart arsed today, if no one noticed* ... -
Finding algorithms
What would make a good resource for algorithms? There are ample references APIs, languages, structure and numerical work. But some applications need... -
Mr Black #2
Re: cfexecute for mathematical algorithms
CFX would be a better choice, of course. You can write a standing-alone EXE
and CFEXECUTE it, if you want. The following are rules: 1. To pass
parameters you can use command line arguments and to parse them in your C
program. Some alternate CFEXECUTE implementations also can use stdin to read
the data, like this one: [url]http://www.cftagstore.com/tags/cfxexec.cfm[/url] Of
course, you can use a data file for input also. 2. If you want to return
something to CF, you have to write to stdout. Stdout stream can be returned
back to CF. Again an output file is an option also.
Mr Black Guest



Reply With Quote

