U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » Dehaviour of DirectoryExists
Dehaviour of DirectoryExists [message #44982] Thu, 06 August 2015 13:17 Go to previous message
kov_serg is currently offline  kov_serg
Messages: 42
Registered: August 2008
Location: Russia
Member
#include <Core/Core.h>

using namespace Upp;

CONSOLE_APP_MAIN
{
	Cout()<<(DirectoryExists("C:\\WINDOWS")?"yes":"no")<<"\n";
	Cout()<<(DirectoryExists("C:\\WINDOWS\\")?"yes":"no")<<"\n";
}

What result should I expect if directory C:\WINDOWS exists?

output Win32 U++8760
yes
no

Confused
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Why Cout() and Cerr() work so different?
Next Topic: Suggestion for StringBuffer
Goto Forum:
  


Current Time: Wed May 06 03:07:18 GMT+2 2026

Total time taken to generate the page: 0.00577 seconds