Search:

Type: Posts; User: McReal

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    3,185

    How to calculate the POFOD correctly?

    Hi everyone, I got a question about the POFOD.
    Q1: Implementing modules by two way. 1: 4 errors in 1000 test cases; 2: 6 errors in 1200 test cases.

    I got the P1=4/1000=0.004 and the...
  2. Replies
    7
    Views
    1,816

    Copy constructor: when creating an object, the...

    Copy constructor: when creating an object, the compiler calls the copy constructor automatically and make a copy of the default constructor.*1. When an object archieve itsclosure, the compiler called...
  3. Replies
    7
    Views
    1,816

    I am not native English speaker. In my case, it...

    I am not native English speaker. In my case, it is not easy to describe the big 3 well in English.
    My answer is:
    Copy constructor: when creating an object, the compiler calls the constructor...
  4. Replies
    7
    Views
    1,816

    How to write a paragraph explain the Big 3?

    Hi all, I got a question. Does anyone know that how to write a paragraph explaining the “ Big 3” - destructor, copy constructor and assignment operator?
    Thanks in advance!
  5. Replies
    9
    Views
    2,641

    Ahaaa, now I got it. Thanks all for both quick...

    Ahaaa, now I got it. Thanks all for both quick replies and kindness!!!
  6. Replies
    9
    Views
    2,641

    Thanks for pointing that out. I fixed the code as...

    Thanks for pointing that out. I fixed the code as below:


    #include <string>
    class cls
    {
    public int g(int h)
    {
    return h+1;
    }
  7. Replies
    9
    Views
    2,641

    I know the type is missed in int f (rabbit), but...

    I know the type is missed in int f (rabbit), but I am not sure what type I should add. Can anyone help?
  8. Replies
    9
    Views
    2,641

    C++ code need help to fix

    Hi all, I am newcomer of C++. I got two tiny nasty C++ code to fix, but I can't fix all the syntax errors. Could anybody fix that for me please?

    Thanks in advance!

    Codes as below:

    #include...
Results 1 to 8 of 8