Pagina 1 di 2 1 2 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 13

Discussione: [OT] Specifiche vaghe

  1. #1
    Utente di HTML.it
    Registrato dal
    May 2008
    Messaggi
    475

    [OT] Specifiche vaghe

    Ok, ho questa consegna fantastica:

    Write a cross reference program.
    Fine.

    Il punto è... che diavolo dovrei fare!?
    E' sempre bello avere delle specifiche chiare e complete ._.
    "Let him who has understanding reckon the number of the beast, for it is a human number.
    Its number is rw-rw-rw-."

  2. #2
    Un minimo di contesto? Da dove hai pescato questa consegna?
    Amaro C++, il gusto pieno dell'undefined behavior.

  3. #3
    Utente di HTML.it
    Registrato dal
    May 2008
    Messaggi
    475
    E' uno degli esercizi di programmazione del libro "Practical C++ Programming". Nello specifico, si trova alla fine del capitolo "Advanced Pointers", che spiega strutture dati come le liste e gli alberi.

    Notare che l'autore ha speso tipo mezzo capitolo sottolineando l'importanza di documentare sempre tutto, inserire commenti ovunque, e soprattutto dare sempre delle specifiche chiare per il programma ^^.
    "Let him who has understanding reckon the number of the beast, for it is a human number.
    Its number is rw-rw-rw-."

  4. #4
    Utente di HTML.it
    Registrato dal
    Jul 2010
    Messaggi
    466
    Non sono disponibili gli esercizi risolti o esempi in internet?

  5. #5
    Utente di HTML.it
    Registrato dal
    May 2008
    Messaggi
    475
    Obtaining Source Code

    [...] The examples in this book are available electronically in a number of ways: by FTP, Ftpmail, BITFTP, and UUC. [...]
    Questo libro è ottimo, interessante e soprattutto è del '96

    Considera che nel capitolo sui template li definisce un'aggiunta molto recente al linguaggio, e quindi non sono ancora implementati in un modo standard.
    Soprattutto è un capolavoro quando descrive l'implementazione Microsoft dei template.

    As of this publication date, the Microsoft C++ and Visual C++ compilers do not have templates. Although extremely simple, this form of "implementation" is very limited. On the other hand, I've never had any trouble with templates using a Microsoft compiler.
    Quindi sinceramente non ci ho nemmeno provato a scaricare i sorgenti ^^

    Update: ho tentato l'ftp. Mi dice che il login (eseguito secondo le sue istruzioni) non è valido. Però almeno il server risponde. Non so nemmeno cosa siano gli altri metodi xD
    "Let him who has understanding reckon the number of the beast, for it is a human number.
    Its number is rw-rw-rw-."

  6. #6
    Utente di HTML.it
    Registrato dal
    Jul 2010
    Messaggi
    466
    As of this publication date, the Microsoft C++ and Visual C++ compilers do not have templates. Although extremely simple, this form of "implementation" is very limited. On the other hand, I've never had any trouble with templates using a Microsoft compiler.

    PS: Ma è quello della O' Reilly?

  7. #7
    Utente di HTML.it
    Registrato dal
    May 2008
    Messaggi
    475
    ahaha sisi O'Reilly :P

    Steve Oualline, "Practical C++ Programming".
    "Let him who has understanding reckon the number of the beast, for it is a human number.
    Its number is rw-rw-rw-."

  8. #8
    Utente di HTML.it
    Registrato dal
    Jul 2010
    Messaggi
    466
    Hai mai pensato di cambiare libro?

  9. #9
    Utente di HTML.it
    Registrato dal
    May 2008
    Messaggi
    475
    Ma no ma guarda che è pure un buon libro! Cioè, ok, ovviamente è piuttosto datato, ma è molto chiaro e soprattutto da dei consigli veramente ottimi sul lato pratico di scrivere un programma.

    Cioè, ti descrive la teoria ma senza scendere nelle minuzie, mentre si dilunga molto su come si scrive un programma chiaro e documentato che possa essere facilmente compreso e modificato in seguito anche da altri.

    E poi ora ho capito come si usa make ^^
    "Let him who has understanding reckon the number of the beast, for it is a human number.
    Its number is rw-rw-rw-."

  10. #10
    Utente di HTML.it
    Registrato dal
    Jul 2010
    Messaggi
    466
    Originariamente inviato da Ippo343
    E poi ora ho capito come si usa make ^^

    Vuoi dire che il libro spiega un pò (magari a grandi linee) come scrivere un makefile, vero?
    PS: sò che "C++ Primer Plus 5th edition" è ottimo come libro..

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.