BBYR Achieve
返回首页
版面

CPP

学术科技 · 当前来自首页固化板块目录。

5815
本版帖子
镜像【问题】大家在MAC Sierra上是如何使用gdb的??

貌似是mac升级Sierra之后的的问题,网上搜了一下大家的问题都很一致...按照stackoverflow上推荐的两个方法都试了。 一个是set startup-with-shell off,另一个是在Recovery模式下csrutil disable关闭SIP(System Integrity Protectio…

zzzexe2017/3/21CPP最后回复 2017/3/23· MadScientist
15
镜像sizeof 返回的是什么,string 和 char数组返回不一样?

今天同学问到360的笔试题,我试了下。发现这个问题,求问一下大家。 ```cpp #include <iostream> #include <string> using namespace std; int main(){ string str1("abc\678"); char str2[] = "abc\678";…

Mi2017/3/18CPP最后回复 2017/3/20· zx723
16
镜像Merge Sorted Array,我的程序超时了

Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note: You may assume that nums1 has enough space (size that is grea…

bingge2017/3/20CPP最后回复 2017/3/20· bingge
4
镜像到底哪里不同,Rotate Array

class Solution { public: void rotate(vector<int>& nums, int k) { if (nums.empty() || (k %nums.size()) == 0) return; int n = nums.size(); reverse(nums.begin(), n…

bingge2017/3/17CPP最后回复 2017/3/18· a940100079
7
镜像【问题】关于vector清空的问题

现在有vector< vector<Point> > contours这样一个结构,如果直接调用contours.clear()的话会报错,网上查了一些资料,据说应该用swap方法,但是这种嵌套的应该怎么调用,请大神指教

yyy2017/3/16CPP最后回复 2017/3/16· buptxrc
5
镜像求大神解救。。。qt Qthread 两种方法,区别是个啥?

初学qt,,哪位大神知道这两种有什么区别呢?

kwsyl2017/3/13CPP最后回复 2017/3/15· kwsyl
7
镜像华为2017软件精英设计大赛

刚听说,有人想报名么?单纯问问

smile1234562017/3/12CPP最后回复 2017/3/14· shan10211865
9
镜像一个关于ns3内log系统的C++的简单问题

源码查看:https://www.nsnam.org/docs/release/3.18/doxygen/log_8h_source.html 问题是:第131行的代码有什么意义?强制转换后就没了?std::clog不会受到第131行的影响吧? #define NS_LOG_APPEND_TIME_PREFIX \ 1…

bond19932017/3/13CPP最后回复 2017/3/13· bond1993
5
镜像哪里出了错!!

Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to complete at most one transaction (ie, buy …

bingge2017/3/13CPP最后回复 2017/3/13· NachtZ
3
镜像求大神解决问题

链接错误,描述看文件,libtool的哪个格式不对呀?

djkaesl2017/3/10CPP最后回复 2017/3/12· nuanyangyang
9
镜像【跪求大神】这种超大的c++该怎么读

c++学的一般 后来也没咋用 这种程序对我来说太难了 发自「贵邮」

guo12342017/3/9CPP最后回复 2017/3/11· FromSixToTen
23
镜像问大神cfree突然今天删除键回车啥的没反应怎么整

rt(摊手) 发自「贵邮」

Broly1232017/3/9CPP最后回复 2017/3/11· Vampire
2
镜像求C++资源

大一刚上C++,VS资源哪里有,师兄师姐快来救我[ema23]

xuc2017/3/9CPP最后回复 2017/3/10· NachtZ
2
镜像大一刚学C++,没找到哪下VC2015啊

求大神学长学姐给个资源,谢谢啦。

sh308169952017/3/9CPP最后回复 2017/3/10· JakeYoung
65
镜像【问题】求大神指点这10几行代码实现了什么算法

verilog语言,代码如下: module ones_comp_add( input logic [7:0] A, B, output logic [7:0] C); logic [8:0] A_int, B_int, C_int; assign A_int = {1'b0, A}; assign B_int = {…

Starsunny2017/2/19CPP最后回复 2017/3/10· gatusokaka
1