Skip to content

Instantly share code, notes, and snippets.

@comwrg
Last active November 29, 2017 01:18
Show Gist options
  • Select an option

  • Save comwrg/6b30c11b67bef38440bd89a0e9e64436 to your computer and use it in GitHub Desktop.

Select an option

Save comwrg/6b30c11b67bef38440bd89a0e9e64436 to your computer and use it in GitHub Desktop.
cpp problems

cpp problems

To log problem during reading << C++ Primer >>

1

#include <iostream>

int main() {
    int ival(int());
    std::cout << ival << std::endl;
    return 0;
}

output is 1, i'm so confusion.

2

std::not2 mean ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment