digitalmars.D - import or not import
- Artem (11/11) Dec 14 2004 it compiles without eror!
- Thomas Kuehne (2/13) Dec 14 2004 -> dmd/src/phobos/object.d
- John Reimer (3/18) Dec 14 2004 Printf is of those functions that's available by default. No imports
- Tyro (4/19) Dec 14 2004 You can use any anything that is defined in
- Simon Buchan (15/30) Dec 15 2004 Whether or not thats a Good Thing(tm) is up to you, I suppose
it compiles without eror! what can I use without impot else? ------------------------------ //import std.c.stdio; int main() { sum(dig,data); printf("Hallo World\n"); return 0; } ------------------------------
Dec 14 2004
Artem schrieb am Tue, 14 Dec 2004 20:16:21 +0000 (UTC):it compiles without eror! what can I use without impot else? ------------------------------ //import std.c.stdio; int main() { sum(dig,data); printf("Hallo World\n"); return 0; } -------------------------------> dmd/src/phobos/object.d
Dec 14 2004
Artem wrote:it compiles without eror! what can I use without impot else? ------------------------------ //import std.c.stdio; int main() { sum(dig,data); printf("Hallo World\n"); return 0; } ------------------------------Printf is of those functions that's available by default. No imports necessary. :-)
Dec 14 2004
Artem wrote:it compiles without eror! what can I use without impot else?You can use any anything that is defined in or publicly imported into dmd/src/phobos/object.d without having to importing it into your program!------------------------------ //import std.c.stdio; int main() { sum(dig,data); printf("Hallo World\n"); return 0; } ------------------------------
Dec 14 2004
On Tue, 14 Dec 2004 18:05:20 -0500, Tyro <ridimz_at yahoo.dot.com> wrote:Artem wrote:Whether or not thats a Good Thing(tm) is up to you, I suppose -- "Unhappy Microsoft customers have a funny way of becoming Linux, Salesforce.com and Oracle customers." - www.microsoft-watch.com: "The Year in Review: Microsoft Opens Up" -- "I plan on at least one critical patch every month, and I haven't been disappointed." - Adam Hansen, manager of security at Sonnenschein Nath & Rosenthal LLP (Quote from http://www.eweek.com/article2/0,1759,1736104,00.asp) -- "It's been a challenge to "reteach or retrain" Web users to pay for content, said Pizey" -Wired website: "The Incredible Shrinking Comic"it compiles without eror! what can I use without impot else?You can use any anything that is defined in or publicly imported into dmd/src/phobos/object.d without having to importing it into your program!------------------------------ //import std.c.stdio; int main() { sum(dig,data); printf("Hallo World\n"); return 0; } ------------------------------
Dec 15 2004