$(document).ready(function() { // 禁止右键 $(document).bind("contextmenu", function(){return false;}); // 禁止选择 $(document).bind("selectstart", function(){return false;}); // 禁止Ctrl+C 和Ctrl+A });

2022年4月2日

C++,当类名和对象名称相同时会发生什么?

摘要: 今天突发奇想,如果类名和由这个类声明的对象标识符相同时会发生什么,然后就测试了一下。如下: 1 2 3 4 5 6 7 8 9 10 11 12 13 #include <iostream> using namespace std; class a { public: a() {cout << "a 阅读全文

posted @ 2022-04-02 11:12 是晓雨呀 阅读(156) 评论(0) 推荐(0)

导航