Autor Beitrag
Orothred
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 86


C# (VS 2005)
BeitragVerfasst: Di 11.09.07 14:51 
Hi!

Hab mal nen kleinen Kopfrechentrainer geschrieben und wollte wissen, was ihr davon haltet.

Ich denke mal dafür, dass ich mich erst seit einer woche mit c# beschäftige ist er gar nicht schlecht geworden. über konstruktive kritik freue ich mich aber trotzdem ^^
Einloggen, um Attachments anzusehen!


Zuletzt bearbeitet von Orothred am Do 13.09.07 12:05, insgesamt 3-mal bearbeitet
Wolle92
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1296

Windows Vista Home Premium
Delphi 7 PE, Delphi 7 Portable, bald C++ & DirectX
BeitragVerfasst: Di 11.09.07 15:01 
Ja, ist schonmal ganz gut, aber:
- Anzahl der Aufgaben ist irgendwie am falschen Platz...
- Nächste Aufgabe ist überflüssig, einfach automatisch weitermachen...

Ansonsten ganz gut, abgesehen davon, dass das hier das Delphi-Forum und nicht das C#-Forum ist ;)
GericasS
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 540

Windows Vista Home Premium
D2010, VisualStudio2008
BeitragVerfasst: Di 11.09.07 15:04 
Habs mir auch grad geladen :

-finde es auch gut macht Spaß für zwischendurch aber,

-kannst du es so einrichten das man die Eingabe der Zahl mit Enter bestätigen kann das klicken ist immer nen bisschen nervig !
bd.cole
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 46

Win XP, Vista
C# (VS 2005)
BeitragVerfasst: Di 11.09.07 15:43 
Jo ist ganz lustig. Willst nicht noch eine Zeitmessung einbaun? Wäre glaub ganz interessant.
Und außerdem steht das doch im c# Forum und nicht im Delphi Forum @ Wolle92. Also bei mir zumindest :)
Wolle92
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1296

Windows Vista Home Premium
Delphi 7 PE, Delphi 7 Portable, bald C++ & DirectX
BeitragVerfasst: Di 11.09.07 15:52 
:idea: Die beiden Projekt-Bereiche sind miteinander verknüpft, sehe ich grade...
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Di 11.09.07 23:19 
Kopfrechnen auf Zeit fehlt
Die Fokus-Steuerung könnte besser sein
Ergebnis mit Enter bestätigen für nächste Aufgabe
Mischung der Rechenarten
Die Zahlen zum Rechnen etwas größer (damit man die schneller lesen kann) ...

Ansonsten: Nette Idee ... Hab 10 / 10 Punkte in < 2 Minuten ... (Durch die sehr kleine Schrift ...)

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Orothred Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 86


C# (VS 2005)
BeitragVerfasst: Do 13.09.07 10:52 
hab eine zeitmessung eingebaut. allerdings bekomme ich die zeit in einem format ähnlich diesem: 00:00:23.234234

wie kann ich das format ändern, das es nur die benötigten sekunden anzeigt?
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10183
Erhaltene Danke: 1256

W10ent
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Do 13.09.07 10:58 
Moin!

Bitte Fragen zur Programmierung in einer entsprechenden Sparte erstellen! :mahn: Diese Sparte ist zur Projekt-Vorstellung vorgesehen. Danke. ;)

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
bd.cole
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 46

Win XP, Vista
C# (VS 2005)
BeitragVerfasst: Do 13.09.07 11:13 
ausblenden C#-Quelltext
1:
2:
3:
4:
5:
TimeSpan ts = stopWatch.Elapsed;


labelTime.Text = String.Format("{0:00}:{1:00}:{2:00}"
    ts.Hours, ts.Minutes, ts.Seconds);

so müsste es gehen
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Do 13.09.07 11:27 
Hier geht's weiter mit der Frage. Demnächst bitte direkt auf den Mod hören, danke! :-)

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
bd.cole
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 46

Win XP, Vista
C# (VS 2005)
BeitragVerfasst: Do 13.09.07 11:36 
Jo sry. Kommt nicht mehr vor :)
Orothred Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 86


C# (VS 2005)
BeitragVerfasst: Do 13.09.07 12:07 
so, hab ne neue version hochgeladen (zu finden im ersten beitrag im anhang)

Neuerungen:

- Auswahl der Rechenart auf eine ComboBox verändert
- Anzeige, bei welcher Aufgabe man gerade ist
- Divisionsaufgaben hinzugefügt (berücksichtigt eine Rundungsungenauigkeit des Ergebnisses um 0.1)
- Zeitmessung hinzugefügt, die ausgibt, wie lange man für die Bearbeitung der Aufgaben gebraucht hat
- Highscore-Liste hinzugefügt, die alle Ergebnisse in einer Textdatei abspeichert