
english stady
财务码农小老板
我以前是一个穷逼财务,现在想做一名小资码农,将来我还想做不管闲事的小老板。
展开
-
gcc compile error :headfile not defined
2_server.c:43:2: warning: incompatible implicit declaration of built-in function ‘bzero’ [enabled by default]warning : 警告incompatible :不相容的implicit :隐性的declaration :声明built-in :内置function原创 2016-09-24 23:04:31 · 477 阅读 · 0 评论 -
gcc pompile error: socket
ocket operation on non-socketoperation :操作整句翻译:在非套接字操作套筒产生原因:在创建、绑定、接受连接申请时,在做错误判断时忘记加“()”了,将与0的比较结果赋值给了文件描述符,所以是错的。原创 2016-09-24 23:53:09 · 429 阅读 · 0 评论 -
gcc compile :conflicting types for ‘do_client’
gcc compile: conflicting types for ‘do_client’原因:自定义函数没有声明原创 2016-09-29 16:57:22 · 381 阅读 · 0 评论 -
gcc compile : assignment of read-only variable ‘pTarget’
gcc compile :assignment of read-only variable ‘pTarget’variable:变量源代码:int * const Results = NULL; int i = 90; Results = & i;此处Results 已经被const修饰了,说明其指向的地址就不能变了,但指向地址的内容可以通过*Results来修改原创 2016-10-25 19:46:22 · 2580 阅读 · 0 评论 -
gcc compile : assignment of read-only location '*p'
gcc compile : assignment of read-only location ’ *p ‘p指向的位置是只读的,不能被分配; 只读位置的分配assignment :分配 location:位置产生原因:源代码:const int * p; int TargetNum = 5;*P = 10; 此处 *p 被 const 修饰了,说明不能通过 *p 来修改 p 指向的变量,所原创 2016-10-25 19:37:22 · 14588 阅读 · 0 评论