Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28946 Discussions

Numerical Recipes web site and forum

hbell
Beginner
826 Views
I just noticed there is a Numerical Recipes web site (a spin-off from the famous book "Numerical Recipes in Fortran by Press, Teukolsky, Vetterling, and Flannery") http://www.nr.com/ They also have their own forum at http://www.nr.com/forum/ .

If using their code in compiled commercial applications they like programmers to embed a specified text copyright notice anyplace in the EXE but without giving it screen visibility to the user. Is there an easy way to do this?

Harry
0 Kudos
1 Reply
Steven_L_Intel1
Employee
826 Views
The easiest way is to declare a character variable containing the text. I'd suggest putting the variable in a MODULE that you use, or in a COMMON in a BLOCK DATA subprogram, so that you know the variable is kept in the EXE. For example:

module mymod
...
character*80 nr_copyright = "Copyright 2002 ..."
...
end module mymod
0 Kudos
Reply