CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   header file for strings in udf (http://www.cfd-online.com/Forums/fluent/45188-header-file-strings-udf.html)

sangeeta June 28, 2007 02:37

header file for strings in udf
 
I am writing a udf in C++ which has strings. but when i compile my udF it says. Undeclared variable. So what is the solution for this? Can ne1 help

Thanks, Sangeeta

Allan Walsh June 28, 2007 12:48

Re: header file for strings in udf
 
Your variables, or ones that you thought were defined in Fluent header files?

sangeeta June 29, 2007 02:28

Re: header file for strings in udf
 
Its not my variables. there are some functions in C++ like round(). There are also not there in fluent compiler. SO help me with this also.

Thanks, Sangeeta B.


mayur July 5, 2007 08:05

Re: header file for strings in udf
 
I think u can only use ANSI C in linux or VC++ in windows... try to use some macro

Sangeeta July 6, 2007 00:52

Re: header file for strings in udf
 
Thank you mayur. I wl try this option


All times are GMT -4. The time now is 15:08.