1
I know a lot of things in c, but this is new to me, but, see below with Ocaml: Generating a component file name: Note that the second argument is a list of strings.
- String.Concat "/" [""; "usr"; "local"; "bin"]
It is very simple and easy to use. This generates as output ....
- : string = "/usr/local/bin"
How can I transfer this to c? I wanted to understand how to do this in c!
I wanted to use this with: Document.write() with a printf.
Footsteps:
The program inserts:
- String.Concat "/" [""; "usr"; "local"; "bin"]
Gera:
- : string = "/usr/local/bin"
And then gives a:
- Document.write()
And then it turns:
- Document.write("/usr/local/bin");
And then in:
- printf.
What I want with it?
- I want to create a directory! And so insert files or data in this directory!
Because Document.write(); ?
- Is that I want to insert this directory in the document and reference - lo.
Because printf?
- Why printf does a real Document.write() by writing in a data file.
Could be in C++?
– lsalamon
Yes can be done in c++. That would help a lot! You could do, if yes: - show me, PLEASE.
– Kaio
Don’t post comments like answers.
– Victor Stafusa