சனி, 20 பிப்ரவரி, 2010

VC++ or C++?

  1. Can I use VC++ when MFC is not allowed?
  2. Yes, you can use VC++. VC++ is a development environment, while MFC is a library for developing GUI applications.
  3. What should I use: VC++ or C++?
  4. On the Windows platform, VC++ is a development environment (editor, compiler, debugger) that allows for application development using C as well as C++. All features available in the C++ standard are supported by VC++.
  5. How can I use VC++ when I do not know Windows SDK (Win32 SDK) programming?
  6. VC++ is a development environment (editor, compiler, debugger). CNumbered Listonsole-based, text applications can be developed easily with VC++.
  7. What is curses?
  8. Curses is a library for screen manipulation. The library allows for text mode applications only. It is available on the Unix and Linux platforms. It is available on the windows platform as well, but only with the GNU C++ distribution.
  9. How do I use files for data storage in the project?
  10. To be discussed in class.
  11. Can I use a database / Can I use database connectivity?
  12. No. Database connectivity of any sort is not allowed. To save to disk and read from disk, use simple file I/O.
  13. Can I use MFC?
  14. No. Usage of MFC is not allowed.
  15. What is STL?
  16. STL is a library of common containers and functions written using templates. It is quite an extensive library that should be used wherever possible in the project.
  17. Can I use STL?
  18. Yes. You are encouraged to used STL. Do not spend time writing containers and stacks and sorting routines. use STL and spend more time on the application logic.
  19. Is inheritance a must in the project?
  20. No. Inheritance is not a must. Presence of inheritance depends on the project. You might not be having a single derived class and still it may not be a bad mark on the project.
  21. How big should the project be?
  22. To be discussed in class.
  23. How many classes should be present in the project?
  24. Though the number of classes in the project depends completely on the scope of the project, as a simple markup (for measurement), we follow: 3 to 5 classes per project group person.
  25. But I do not have a GUI!
  26. The main focus of the project should be the classes and their functionality. A jazzy GUI, but not enough functionality, will not fetch you the required marks. Good functionality, with a functional user interface is surely be a better option.
  27. Can I use some classes from MFC?
  28. NO. Usage of MFC in any form - part or whole - is not allowed.
  29. Can I use standard libraries/free libraries?
  30. Yes. But only if you are building an application on top of such a library. Such libraries should not be used to substitute some of the classes you are supposed to be developing as part of the project.
  31. Which compilers are available on the Windows platform?
  32. VC++ and GNU C++.
  33. Which compilers are available on the Unix platform?
  34. There are two choices. The first choice is the native C++ compiler of the environment. The second choice is to use GNU C++ installed on the platform.
  35. Which compilers are available on the Linux platform?
  36. GNU C++ is the native C++ compiler provided with the environment.
  37. How can I use VC++ if I do not use the Win32 SDK?
  38. It is not necessary to useWin32 SDK when using VC++. VC++ is a development environment (editor, compiler, debugger) that allows development of text based applications, windows applications.
  39. Which notation is to be used for the class diagram?
  40. UML only.
  41. Can I use CRC?
  42. No. Use UML notation only.
  43. Can I use OMT?
  44. No. Use UML notation only.
  45. Which part of UML do I refer?
  46. Refer to the "class diagram" part from the appropriate UML references.
  47. Can I use Borland C++ or T
  48. urbo C++?
  49. No. Usage of Borland C++ as well as Turbo C++ is not allowed.
  50. Can I select a project not given in the list?
  51. Yes. In fact, you are encouraged to select a project outside the list. In such a case, use the outlines as a reference to get decide the scope of the project. most importantly, projects not specified in the list have to be approved by local faculty.
  52. How do I decide the scope of the project?
  53. You can refer to the project outlines while deciding the scope of your project.
  54. What is the minimum NCST expects from a project?
  55. To be discussed in class.
  56. What are the expectations from the project?
  57. Expectations from the project are a decent class diagram, good understanding of OO and UML concepts, as well as a running demo.
  58. Can I have design that is more than the code?
  59. Yes. Design is done first. Code is developed according to the design. How can there be code if it has not been designed earlier? Having code but not design means you have created the design from the code, which is a very bad idea.
  60. Can I have more design classes that the implementation at evaluation time?
  61. At the time of evaluation, there is a possibility that the design you have is more than the code implemented. In such a case, do not edit the design diagram to match the implemented code. Let the design model be unchanged. At the time of evaluation, make a distinction between the features implemented versus the features not implemented.
  62. How do I compare code and design?
  63. Your code should be a direct reflection of the design. Design and code have to match.
  64. What is the conceptual diagram?
  65. A conceptual class diagram is a class diagram that does not contain any platform and language specific details. It is a logical diagram. For example, if you wish to represent a collection, putting a "linked list" class in the conceptual diagram is a bad idea. The conceptual diagram should instead mention "pool" or "collection", without talking about implementation specific details. Decisions such as "linked list" or "tree" should reflect in the implementation diagram.
  66. What is the implementation model?
  67. An implementation class diargam is a conceptual diagram plus platform and language specific considerations. An implementation diagram uses the conceptual diagram as its basis.
  68. How can I code in C++ if I do not know C?
  69. The C programming language is a full subset of the C++ programming language. Though the programming paradigms are different for the languages (C advocates procedural programming paradigm while C++ advocates object-oriented programming paradigm), basic programming language constructs are similar.
  70. But we have not done a project in C?
  71. The C programming language is a complete subset of C++. Hence, you do not really need to do a project in C before attempting a project in C++.

கருத்துகள் இல்லை:

கருத்துரையிடுக