[Skip Navigation] [CSUSB] / [CNS] / [Comp Sci & Eng Dept] / [R J Botting] / [CSci201] / ccc
[Text Version] [Syllabus] [Schedule] [Glossary] [Labs] [Projects] [Resources] [Grading] [Contact] [Search ]
Notes: [01] [02] [03] [04] [05] [06] [07] [08] [09] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20]
[01] [02] [03] [04] [05] [06] [07] [08] [09] [10]
Tue Dec 30 10:08:34 PST 2008

Contents


    Horstmann's CCC 3rd edition library

      class Time

      #include "ccc_time.h"
    1. Time()
    2. Time(hour, min, secong)

    3. get_seconds()
    4. get_minutes()
    5. get_hours()

    6. add_second(nseconds)
    7. seconds_from(time)

      class Employee

      #include "ccc_empl.h"
    8. Employee(name, salary)

    9. get_name()
    10. get_salary()

    11. set_salary(newSalary)

      class GraphicWindow

      #include "ccc_win.h"
    12. coord(topleft_x,top_left_y, bottom_right_x, bottom_right_y)

    13. clear()

    14. get_string(prompt)
    15. get_int(prompt)
    16. get_double(prompt)
    17. get_mouse(prompt)

    18. operator << shape

    19. cwin is a GraphicWindow object.

      class Point

      #include "ccc_win.h"
    20. Point(x,y)

    21. get_x()
    22. get_y()

    23. move(dx, dy)

      class Circle

      #include "ccc_win.h"
    24. Circle(center, radius)

    25. get_center()
    26. get_radius()

    27. move(dx, dy)

      class Line

      #include "ccc_win.h"
    28. Line(start_point, end_point)

    29. get_start()
    30. get_end()
    31. move(dx, dy)

      class Message

      #include "ccc_win.h"
    32. Message(place, string)
    33. Message(place, x)

    34. get_start()
    35. get_text()

    36. move(dx, dy)

      The wxWindows library

      TBA

    . . . . . . . . . ( end of section Horstmann's CCC 3rd edition library) <<Contents | End>>

    Abreviations

  1. Gnu::="Gnu's Not Unix", a long running open source project that supplies a very popular C++ compiler.
  2. KDE::="Kommon Desktop Environment".
  3. OOP::="Object-Oriented Programming", Current paradigm for programming.
  4. SP::="Structured Programming", Previous paradigm for programming.
  5. TBA::="To Be Announced", something I should do.
  6. TBD::="To Be Done", something you have to do.
  7. UML::="Unified Modeling Language", [ 15.html ] (class notes on the UML and OOP).

End