473,799 Members | 3,866 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

boost::filesyst em::create_dire ctory()

How can I create spaces with the create_director y() function?? When i
use this

boost::filesyst em::create_dire ctory("bla bla");

it throws. When I user

boost::filesyst em::create_dire ctory("blabla") ;

it works, but i need a space. How can i do it?

Mar 1 '06 #1
2 6503
TB
jh****@gmail.co m skrev:
How can I create spaces with the create_director y() function?? When i
use this

boost::filesyst em::create_dire ctory("bla bla");

it throws. When I user

boost::filesyst em::create_dire ctory("blabla") ;

it works, but i need a space. How can i do it?


I'd guess that's a restriction due to the many systems
it tries to support. Read the documentation.

--
TB @ SWEDEN
Mar 1 '06 #2

TB wrote in message <44************ **********@taz. nntpserver.com> ...
jh****@gmail.c om skrev:
How can I create spaces with the create_director y() function?? When i
use this

boost::filesyst em::create_dire ctory("bla bla");

it throws. When I user

boost::filesyst em::create_dire ctory("blabla") ;

it works, but i need a space. How can i do it?


I'd guess that's a restriction due to the many systems
it tries to support. Read the documentation.

--
TB @ SWEDEN


OP:
Try:
boost::filesyst em::create_dire ctory( "\"bla bla\"" );

Some systems (window$) requires the string to be enclosed in quotes when a
space is present.

TB: thanks for the use of your post. (I didn't load the orig.).
--
Bob R
POVrookie
Mar 1 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.