Stilllegung des Forums
Das Forum wurde am 05.06.2023 nach über 20 Jahren stillgelegt (weitere Informationen und ein kleiner Rückblick).
Registrierungen, Anmeldungen und Postings sind nicht mehr möglich. Öffentliche Inhalte sind weiterhin zugänglich.
Das Team von spieleprogrammierer.de bedankt sich bei der Community für die vielen schönen Jahre.
Wenn du eine deutschsprachige Spieleentwickler-Community suchst, schau doch mal im Discord und auf ZFX vorbei!
Werbeanzeige
Sheddex
unregistriert
Zitat von »"koschka"«
Syntax ist aber etwas zu überladen, wenn man für jedes bisschen ein eigenes Schlüsselwort hat.
Eines find ich aber sehr schade - genau wie in Java gibt es keine Mehrfachvererbung.
Zitat von »"DragonFlame"«
Zitat von »"koschka"«
Syntax ist aber etwas zu überladen, wenn man für jedes bisschen ein eigenes Schlüsselwort hat.
Eines find ich aber sehr schade - genau wie in Java gibt es keine Mehrfachvererbung.
Also lasst uns auf ein D++ hoffen, dass diese Mängel beseitigt und die ultimative Programmiersprache wird... schön wärs ja.
Zitat von »"Chase"«
... Kann man also mit D in DirectX programmieren, oder ist man auf entsprechene Libs angewiesen ? ...
Zitat von »"http://www.digitalmars.com/d/attribute.html#linkage"«
Quellcode
1 2 3 4 5 6 7 8 9 10 LinkageAttribute: extern extern ( LinkageType ) LinkageType: C C++ D Windows Pascal
D provides an easy way to call C functions and operating system API functions, as compatibility with both is essential. The LinkageType is case sensitive, and is meant to be extensible by the implementation (they are not keywords). C and D must be supplied, the others are what makes sense for the implementation. C++ is reserved for future use. Implementation Note: for Win32 platforms, Windows and Pascal should exist.
C function calling conventions are specified by:
Quellcode
1 2 extern (C): int foo(); // call foo() with C conventions
Windows API conventions are:
Quellcode
1 2 3 4 5 6 7 extern (Windows): void *VirtualAlloc( void *lpAddress, uint dwSize, uint flAllocationType, uint flProtect );
Anonymous
unregistriert
Zitat von »"Chase"«
Ich werde zumindest warten bis es eine vernuenftige IDE dafuer gibt.
Werbeanzeige