当前位置: 首页 > news >正文

做企业网站不好混网页界面设计是什么

做企业网站不好混,网页界面设计是什么,重庆网站仿站,百度大数据查询平台辨析以下几种指针p的定义。 int tmp 5;int *p tmp; const int *p tmp; int const* p tmp; int * const p tmp; const int * const p tmp; int const * const p tmp; 根据文献一#xff0c;可以采用从右往左读的方式区分。 第一个为普通指…   辨析以下几种指针p的定义。 int tmp 5;int *p tmp; const int *p tmp; int const* p tmp; int * const p tmp; const int * const p tmp; int const * const p tmp;   根据文献一可以采用从右往左读的方式区分。 第一个为普通指针指向普通int变量 第二个和第三个相同都是普通指针指向const int型变量 第四个是const指针指向普通int变量 第五个和第六个相同都是const指针指向const int型变量。     实验代码如下 1 #include iostream2 3 4 void test1() {5 int tmp 5;6 int *p tmp;7 std::cout test1:: p value: *p std::endl;8 // *p and p are common variables.9 *p 10; // ok 10 int tmp1 9; 11 p tmp1; // ok 12 } 13 14 void test2() { 15 int tmp 5; 16 const int *p tmp; 17 std::cout test2:: p value: *p std::endl; 18 // *p is read-only, p is common variable. 19 // *p 10; // error 20 int tmp1 9; 21 p tmp1; // ok 22 } 23 24 // same with test2 25 void test3() { 26 int tmp 5; 27 int const* p tmp; 28 std::cout test3:: p value: *p std::endl; 29 // *p is read-only, p is common variable. 30 // *p 10; // error 31 int tmp1 9; 32 p tmp1; // ok 33 } 34 35 void test4() { 36 int tmp 5; 37 int * const p tmp; 38 std::cout test4:: p value: *p std::endl; 39 // p is read-only, *p is common variable. 40 *p 10; // ok 41 // int tmp1 9; 42 // p tmp1; // error 43 } 44 45 void test5() { 46 const int tmp 5; 47 const int * const p tmp; 48 std::cout test5:: p value: *p std::endl; 49 // p is read-only, *p is also read-only. 50 // *p 10; // error 51 // int tmp1 9; 52 // p tmp1; // error 53 } 54 55 56 // same with test5 57 void test6() { 58 const int tmp 5; 59 int const * const p tmp; 60 std::cout test6:: p value: *p std::endl; 61 // p is read-only, *p is also read-only. 62 // *p 10; // error 63 // int tmp1 9; 64 // p tmp1; // error 65 } 66 67 int main() { 68 std::cout Hello, World! std::endl; 69 test1(); 70 test2(); 71 test3(); 72 test4(); 73 test5(); 74 test6(); 75 return 0; 76 }   References: (1) https://www.cnblogs.com/bencai/p/8888760.html 转载于:https://www.cnblogs.com/tlz888/p/11350521.html
http://www.huolong8.cn/news/303663/

相关文章:

  • 北京网站seo哪家公司好网页设计大设计师
  • 网站建设公司专业北京seo优化服务
  • 枣庄网站开发国内著名设计公司
  • 玉田住房与城乡建设局网站智博教育的网络营销是什么
  • 手机网站自助建阿里云买啦域名怎么建设网站
  • 南昌本地生活网站有哪些罗湖区seo排名
  • 北京亦庄网站建设公司wordpress搬家图片不显示
  • 网站空间大小免费发布项目的网站
  • 东莞专业拍摄做网站照片做网站样品图片怎么拍照
  • 网站后台登陆破解网站开发tahmwlkj
  • 站长之家权重查询镇江教育云平台网站建设
  • wordpress动漫整站买个网站域名多少钱一年
  • 响应式网站 向下兼容如何建设自己的php网站
  • 天津网站建设 熊掌号万城建设网站
  • 如何做全网影视网站收录网站有哪些
  • 美工常用找素材网站淘客推广网站怎么做的
  • 网站搜索要怎么做优化设计六年级上册答案
  • 建立个人网站流程王也道长头像
  • 做百度网站排名软件网站建设的价位
  • 舆情服务网站做家教在哪个网站找
  • 网站建设免费按词收费微网站建设及微信推广方案ppt模板
  • 住房城乡建设证书查询现在网站如何做优化
  • 珠海电商网站制作网站开发的步骤
  • 广东建设继续教育网站茂民网站建设
  • 做外贸需要关注的网站有什么网站建设招标无锡
  • 外贸网站建设企业免费软件下载网站哪个好
  • 广安网站建设公司产品网站系统
  • 没有域名的时候建网站深圳企业网站建设推荐公司
  • 做物流的网站有哪些中文 域名的网站
  • 视频网站 怎么做网站建站建设哪家好