[Info-vax] Basic C program in OpenVMS
Jan-Erik Soderholm
jan-erik.soderholm at telia.com
Mon Feb 18 06:17:38 EST 2013
kevinparker124 at gmail.com wrote 2013-02-18 11:32:
> That is fine...I have the code but don't know where to type-in
> I tried it by doing following steps, please let me know if I am wrong:
>
> $ EDIT/TPU HELLO.C
>
> I am getting error like "could not find"
>
That is not a C-specific issue as such.
You do seem to have a bunch of other "problems" besides
of the C specific ones. What are you actualy doing?
Is this a commercial/professional environment?
Or as a plain hobbyist?
For questions specific to C see:
http://h71000.www7.hp.com/commercial/c/index_alpha.html
"The User's Guide [pdf] explains how to develop and debug C programs
on OpenVMS systems, and provides information about OpenVMS features
and tools that work with the compiler."
For VMS quesstions, see:
http://h71000.www7.hp.com/doc/os84_index.html
In particular :
"OpenVMS User's Manual"
"HP OpenVMS Linker Utility Manual"
"HP OpenVMS Programming Concepts Manual"
And others depending on what your C-code is actualy doing.
$ create def.c
#include <stdio>
main()
{
int c = 3;
int d = 4;
int e;
e = c + d;
printf("%d\n", e);
} Exit
$ cc def
$ link def
$ run def
7
$
More information about the Info-vax
mailing list