September 17, 2003 D » Re: Cast operators | |||
|---|---|---|---|
| |||
How about a cast property?
double d = 3.14159;
printf("%d", d.cast); // outputs 3
| |||
September 16, 2003 D » Re: DMD 0.72 release (wchar problems) | |||
|---|---|---|---|
| |||
...process( oca.dup, owa.dup ); return 0; } outputs wchar array as wchars : len:4 'a... | |||
September 16, 2003 D » Re: DMD 0.72 release | |||
|---|---|---|---|
| |||
...addA( ds ); printf( "done\n" ); return 0; } ----------------------- outputs ds: D::printInts(1, 2) D::printInts... | |||
September 06, 2003 D » Re: Guide to converting C .h files to D modules | |||
|---|---|---|---|
| |||
...easy to make a D compiler that outputs TDF - a bytecode format with which tools... | |||
August 27, 2003 D » Is it a normal behaviour ? | |||
|---|---|---|---|
| |||
...A a = new C(); foo( a ); } It outputs "A" Im wondering if it cannot be... | |||
August 24, 2003 D » polymorphism into derived classes | |||
|---|---|---|---|
| |||
...b.a(3);
b.a(4.5);
}
Outputs
3
4
To print correctly 4.5... | |||
August 23, 2003 D » Re: Function members (final and static attribs) | |||
|---|---|---|---|
| |||
...funcB(c) = %d\n", i ); return 0; } outputs funcA(a) = 1 funcA(b) = 0 funcA... | |||
July 31, 2003 D » unexplained crash. | |||
|---|---|---|---|
| |||
...0 (could not be read) the last outputs from the compiler where (and it was... | |||
July 25, 2003 D » printf issue | |||
|---|---|---|---|
| |||
...debuging isn't it ? For more sofisticated outputs ( padding, ... ), maybe a more specific class can... | |||
July 24, 2003 c++ » lost values from one constructor to another | |||
|---|---|---|---|
| |||
...printf("%d,",a); }
};
void main() { A x; }
outputs: 4,4219774. Can somebody explain me why... | |||
Copyright © 1999-2021 by the D Language Foundation