comp.lang.ada
 help / color / mirror / Atom feed
* Re: Making Direc
  1998-08-04  0:00 Making Direc Michael E Dooley
@ 1998-08-04  0:00 ` Jerry van Dijk
  0 siblings, 0 replies; 2+ messages in thread
From: Jerry van Dijk @ 1998-08-04  0:00 UTC (permalink / raw)


Michael E Dooley (medooley@rockwell.collins.com) wrote:

: I am just learning Ada and I have a question.  I know a little C++ and
: in C++ there is a command called mkdir, which will make a director on
: the computer that you are using.  I was wondering if anyone out there
: knows of a command in Ada that does the same thing.    I am using the
: ObjectAda for Windows V7.1.105 (special edition) compiler.  If anyone
: can help me please respond to my email address.

Ada doesn't include mkdir as the existence of directories is OS and
not language specific. The same, BTW, goes for C or C++.

With most C or C++ compilers there comes a library that implements the
mkdir function. Most standard Ada compilers do not, instead relying on
a standard POSIX binding for OS specific functions (thus making the
program portable over environments) or a OS specific binding.

In this case you need to use the Win32 API binding. Documentation for
it is on-line with OA.

Jerry.


-- 
-- Jerry van Dijk  | email: jdijk@acm.org
-- Leiden, Holland | member Team-Ada
-- Ada & Win32: http://stad.dsl.nl/~jvandyk




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Making Direc
@ 1998-08-04  0:00 Michael E Dooley
  1998-08-04  0:00 ` Jerry van Dijk
  0 siblings, 1 reply; 2+ messages in thread
From: Michael E Dooley @ 1998-08-04  0:00 UTC (permalink / raw)


Hello,

I am just learning Ada and I have a question.  I know a little C++ and
in C++ there is a command called mkdir, which will make a director on
the computer that you are using.  I was wondering if anyone out there
knows of a command in Ada that does the same thing.    I am using the
ObjectAda for Windows V7.1.105 (special edition) compiler.  If anyone
can help me please respond to my email address.

Thanks,
Michael Dooley
medooley@rockwell.collins.com





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-08-04  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-08-04  0:00 Making Direc Michael E Dooley
1998-08-04  0:00 ` Jerry van Dijk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox