Ways to show your co-programmers that some methods are not yet implemented in a class when programming in C++

后端 未结 7 1583
生来不讨喜
生来不讨喜 2021-02-15 04:02

What approaches can you use when:

  • you work with several (e.g. 1-3) other programmers over a small C++ project, you use a single repository
  • you create a class,
7条回答
  •  独厮守ぢ
    2021-02-15 04:25

    Declare it. Dont implemented it. When the programmer use to call the unimplemented part of code linker complains, which is the clear hit to the programmer.

    class myClass
    {
        int i;
    public:
        void print(); //NOt yet implemented
        void display()
        {
            cout<<"I am implemented"<

提交回复
热议问题