Autor Beitrag
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Do 30.08.07 17:05 
Ich möchte eine Konsolenanwendung programmieren. Dafür würde mir z.B. Turbo Pascal einfallen. Jedoch möchte ich gerne objektorientiert programmieren. Was könnt ihr mir da empfehlen?

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Do 30.08.07 17:09 
wie wärs mit delphi ? hab davon mal irgendwo was gelesen, soll ganz gut sein.

mfg
Marco D. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Do 30.08.07 17:13 
user profile iconF34r0fTh3D4rk hat folgendes geschrieben:
wie wärs mit delphi ? hab davon mal irgendwo was gelesen, soll ganz gut sein.
mfg

Was ist denn Delphi? :shock:

:roll: Kann man denn damit auch Konsolenanwendungen objektorientiert programmieren? Dachte immer, in Delphi ist eine etwas modernere Version von Turbo Pascal integriert. Also vom Prinzip her.

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Do 30.08.07 17:35 
Zitat:
Kann man denn damit auch Konsolenanwendungen objektorientiert programmieren? Dachte immer, in Delphi ist eine etwas modernere Version von Turbo Pascal integriert. Also vom Prinzip her.
Grundsätzlich hat ja OOP nichts mit Konsolenanwendung oder GUI zu tun. Es kommt aber darauf an was du unter einer Konsolenanwendung verstehst. Mit Delphi kannst du direkt keine DOS-Programme entwickeln.

_________________
Markus Kinzler.
Jakob_Ullmann
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1747
Erhaltene Danke: 15

Win 7, *Ubuntu GNU/Linux*
*Anjuta* (C, C++, Python), Geany (Vala), Lazarus (Pascal), Eclipse (Java)
BeitragVerfasst: Do 30.08.07 17:42 
Konsolenanwendung heißt bei mir, dass sich ein Konsolenfenster öffnet und die Datei die Endung '.EXE' hat. DOS-Programme haben ja '.BAT', oder?
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Do 30.08.07 17:49 
Zitat:
Konsolenanwendung heißt bei mir, dass sich ein Konsolenfenster öffnet und die Datei die Endung '.EXE' hat.
Das geht natürlich.
Zitat:
DOS-Programme haben ja '.BAT', oder?
Nein .COM

_________________
Markus Kinzler.
Timosch
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1314

Debian Squeeze, Win 7 Prof.
D7 Pers
BeitragVerfasst: Do 30.08.07 18:02 
Um hier mal was klarzustellen:
1.) Konsolenanwendung != DOS-Anwendung
Die beiden bedienen sich zwar der gleichen Ausgabemethode, aber einer Win32-Konsolenanwendung steht die Win32-API zur Verfügung und sie läuft nicht unter DOS.
2.) Mit Delphi lassen sich problemlos Win32-Konsolenanwendungen erstellen, aber keine DOS-Anwendungen. (Es gab aber mal einen DOS-Extender, mit dem man Windows-Konsolenanwendungen unter MS-DOS ausführen konnte.)
Jetzt wirds OT:
3.) Unter DOS gab es zwei Arten von Anwendungen:
a) EXE: Beginnt mit MZ (Initialen von Mark Zbirovski, einem MS-Entwickler), enthält Codesegment, Datensegment und Stacksegment.
b) COM: Alles zusammen in einem Segment. Maximal 64kB groß.
Der Witz war allerdings, dass DOS nicht auf die Endung geschaut hat, sondern auf die ersten zwei Bytes. Wenn dort MZ stand, wars eine EXE.
4.) BAT-Dateien sind Stapelverarbeitungsdateien, die aus einer Liste von DOS-Befehlen (also Built-in-Befehlen der command.com oder Programmen) bestehen. Neuere Version, unter NT: CMD-Dateien.

_________________
If liberty means anything at all, it means the right to tell people what they do not want to hear. - George Orwell
ene
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 779
Erhaltene Danke: 1

Vista, XP, W2K
Delphi, .Net, Deutsch und Englisch
BeitragVerfasst: Fr 31.08.07 06:27 
Was willst du denn eigentlich programmieren? Was soll da passieren. Vielleicht reicht ja auch WHS oder VBS oder oder oder.

_________________
Wir, die guten Willens sind, geführt von Ahnungslosen, Versuchen für die Undankbaren das Unmögliche zu vollbringen.
Wir haben soviel mit so wenig so lange versucht, daß wir jetzt qualifiziert sind, fast alles mit Nichts zu bewerkstelligen.