src/config/config.cc
/*
 * Gets the default configuration files location for the users OS.
 * On Windows, this will be C:/Users/USER/My Documents/ndb/ndb.conf.
 * On Linux, this will be /home/USER/.config/ndb/ndb.conf
 *
 * This function always returns some valid string, though the path
 * may be inaccessible.
 *
 * The returned string must be deleted after use.
 */
Gets the default configuration files location for the users OS.

This function always returns some valid string, though the path
may be inaccessible.

The returned string must be deleted after use.
Gets the default configuration files location for the users OS . This function always returns some valid string though the path may be inaccessible . The returned string must be deleted after use .
char *Config::GetDefaultFile(void) {
  char *root = GetRootFolder();
  char *file = JoinPaths(root, kConfName_);
  delete[] root;
  return file;
}
char * Config :: GetDefaultFile ( void ) { char * root = GetRootFolder ( ) ; char * file = JoinPaths ( root , kConfName_ ) ; delete [ ] root ; return file ; }
Gets the default configuration files location for the users OS.
Gets the default configuration files location for the users OS .