登录
|
注册
公司
标签
文章
搜索
网易
C语言工程师
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
1
0
4231
下列关于makefile描述正确的有? makefile文件保存了编译器和连接器的参数选项 主要包含了五个东西:显式规则、隐晦规则、变量定义、文件指示和注释 默认的情况下,make命令会在当前目录下按顺序找寻文件名为“GNUmakefile”、“makefile”、“Makefile”的文件, 找到了解释这个文件 在Makefile不可以使用include关键字把别的Makefile包含进来 ...
阅读题目
网易
Linux
C语言工程师
多选题
经典指数
1
0
3672
如何让一个循环执行的线程安全现出,请用C++代码实现相应线程函数及退出机制。 ...
阅读题目
网易
C语言工程师
操作系统
问答题
经典指数
1
0
4420
下面的程序的输出是什么? #include<stdio.h> int main(void) { int n; char y[10] = "ntse"; char *x = y; n = strlen(x); *x = x[n]; x++; printf("x=%s\n",x); printf("y=%s\n",y); return 0; } x=atse,y= x=tse,y= x=atse,y=e x=tse,y=e ...
阅读题目
网易
C语言工程师
单选题
经典指数
1
0
4102
下面程序运行后的结果为: char str[] = "glad to test something"; char *p = str; p++; int *p1 = reinterpret_cast<int *>(p); p1++; p = reinterpret_cast<char *>(p1); printf("result is %s\n", p); result is glad to test something result is ad to test something result is test something result is to test something ...
阅读题目
C语言工程师
网易
C语言工程师
单选题
经典指数
1
0
2711
下面有关c++ traits,说法正确的有? 一个traits包括了enum、typedef、模板偏特化(template partial specialization) typedef定义了各个类的各自不同的类型定义 模板偏特化用于实现各个类的不同功能 当函数,类或者一些封装的通用算法中的某些部分会因为数据类型不同而导致处理或逻辑不同,traits会是一种很好的解决方案 ...
阅读题目
网易
C语言工程师
多选题
经典指数
1
0
4202
下列代码的输出为: #include<iostream> #include<vector> using namespace std; int main(void) { vector<int>array; array.push_back(100); array.push_back(300); array.push_back(300); array.push_back(500); vector<int>::iterator itor; for (itor = array.begin(); itor != array.end(); itor++) { if (*itor == 300) { itor = array.erase(itor); } } for (itor = array.begin(); itor != array.end(); itor++) { co ...
阅读题目
百度
网易
腾讯
C语言工程师
单选题
经典指数
1
0
2774
分别写一个宏和函数来获取元素个数如coute(a)会得到a数组元素个数。 ...
阅读题目
百度
网易
腾讯
C语言工程师
问答题
经典指数
1
0
2471
函数参数使用的空间是在()中申请的,malloc或new是在()中申请空间的? 堆,栈 栈,堆 栈, 栈 堆,堆 ...
阅读题目
网易
2015
C语言工程师
单选题
经典指数
1
0
4102
下面程序运行后的结果为: char str[] = "glad to test something"; char *p = str; p++; int *p1 = reinterpret_cast<int *>(p); p1++; p = reinterpret_cast<char *>(p1); printf("result is %s\n", p); result is glad to test something result is ad to test something result is test something result is to test something ...
阅读题目
C语言工程师
网易
C语言工程师
单选题
经典指数
1
0
2763
如果要实现一个多线程(非MFC)程序, 选择多线程CRT, 创建线程的时候应该用CreateThread还是_beginthreadex()? CreateThread _beginthreadex 一样 和具体机器配置相关 ...
阅读题目
网易
C语言工程师
Windows
单选题
经典指数
1
2
3
4
39
题目数
1
贡献者
31
答案数
扫描后移动端查看
我也分享一个题目
"网易"公司热门职位
测试工程师
机器学习
研发工程师
Java
"C语言工程师"
职位热门公司
迅雷
腾讯
百度
奇虎360
微软
华为
阿里巴巴
搜狐
京东
小米
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录