AD Teaching Wiki
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

FrontPage

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

Revision 696 as of 2010-06-17 21:37:21
AD Teaching Wiki:
  • ProgrammierenCplusplusSS2010
  • AktuellesBlattFragen

Fragen und Kommentare zur 8. Vorlesung / zum 8. Übungsblatt

Sollen wir auch für "Typsicherheit" sorgen, also soll bei sowas wie

Set<int> set;
set.insert('a');

mit Fehlermeldung abgebrochen werden? Simson 17Jun10 22:32

Irgendwie steh ich grad auf dem Schlauch. in meinem Konstruktor heißt es

_elements = new T[MAX_ARRAY_SIZE];

und in meinem Test

ASSERT_EQ(NULL, set._elements[0]);

und Hudson meldet immer

[ RUN      ] SetTest.constructor
SetTest.cpp:12: Failure
Value of: set._elements[0]
  Actual: 1
Expected: __null
Which is: 0

Was ist da los? Simson 17Jun10 22:37

  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01