I know a lot of things in c, however, this is new to me, but, see below with OCaml: Generating a component filename: Note that the second argument is a list of strings.
- String.concat "/" [""; "usr"; "local"; "bin"]
It's very simple and easy to use. This generates as output ....
- : string="/ usr / local / bin"
How can I pass this to c? I would like to understand how to do this in c!
I wanted to use this with: document.write () with a printf.
Steps:
The program inserts:
- String.concat "/" [""; "usr"; "local"; "bin"]
Generates:
- : string="/ usr / local / bin"
And then give one:
- document.write ()
And then transform:
- document.write ("/ usr / local / bin");
Then in:
- printf.
What do I want with this?
- I want to create a directory! And so insert files or data into this directory!
Because document.write (); ?
- I want to insert this directory into the document and reference it.
Why printf?
- Because printf does a real document.write (), writing to data file.