mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-28 06:12:53 -06:00
changed svn layout
git-svn-id: svn://ultimatepp.org/upp/trunk@281 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
commit
263ff5f895
2665 changed files with 642923 additions and 0 deletions
8
reference/GetDataFile/GetDataFile.cpp
Normal file
8
reference/GetDataFile/GetDataFile.cpp
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#include <Core/Core.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
CONSOLE_APP_MAIN
|
||||
{
|
||||
puts(LoadFile(GetDataFile("data.txt")));
|
||||
}
|
||||
12
reference/GetDataFile/GetDataFile.upp
Normal file
12
reference/GetDataFile/GetDataFile.upp
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
description "Demonstration of facility used to read application specific files";
|
||||
|
||||
uses
|
||||
Core;
|
||||
|
||||
file
|
||||
data.txt,
|
||||
GetDataFile.cpp;
|
||||
|
||||
mainconfig
|
||||
"" = "";
|
||||
|
||||
1
reference/GetDataFile/data.txt
Normal file
1
reference/GetDataFile/data.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
Data example....
|
||||
Loading…
Add table
Add a link
Reference in a new issue