1:自定义数据段 #pragma DATA_SECTION(symbol,".section") Int32 symbol[LENGTH]; 2:前几天遇到一个问题。dsp在执行某一块算法执行的时间太长达到100多ms。这个时间后面通过设置ccs的一些优化选项。减少到42ms。这还是不能达到我们的需...
分类:
其他好文 时间:
2014-07-16 23:03:30
阅读次数:
240
服务端-监听接收#include "winsock2.h"#pragma comment(lib,"WS2_32.LIB")int bufi;class mserver{private: SOCKET ssock,csock; sockaddr_in saddr,cadd...
分类:
编程语言 时间:
2014-07-16 20:45:32
阅读次数:
122
iOS开发项目篇—33发微博一、简单说明1.发送按钮当textView的文字发生改变(有内容)的时候,设置导航栏右侧的按钮为可点击的。说明:监听内容的改变,既可以使用通知来实现,也可以使用代理来实现(下面使用的是代理的方式)代码说明:1 #pragma mark-设置代理方法2 /**3 *当te....
分类:
移动开发 时间:
2014-07-16 18:13:21
阅读次数:
343
题目如下:
How Big Is It?
Ian's going to California, and he has to pack his things, including hiscollection of circles. Given a set of circles, your program mustfind the smallest r...
分类:
其他好文 时间:
2014-07-16 17:17:02
阅读次数:
259
准备工作下载并安装VirtualBox for Mac到https://www.virtualbox.org/wiki/Downloads下载VirtualBox for OS X hosts下载并安装VirtualBox Extension Pack在步骤1的页面点击VirtualBox Or.....
#pragma once#include "student.h"#include "Teacher.h"typedef enum _EPersonType{ ePersonUndefin = 0, ePersonStudent, ePersonTeacher}EPersonType...
分类:
其他好文 时间:
2014-07-13 00:36:51
阅读次数:
216
get 请求
#pragma mark - GET登录
- (void)getLogon
{
// 1. URL
NSString *urlStr = [NSString stringWithFormat:@"http://localhost/login.php?username=%@&password=%@", self.userName.text, self.userPw...
分类:
移动开发 时间:
2014-07-12 22:44:33
阅读次数:
267
#pragma once
#include
#include
#include
#include
#include
class CountDownLatch : boost::noncopyable
{
public:
explicit CountDownLatch(int count);
void wait();
void countDown();
int getCo...
1、 文件的上传完整用例代码:#pragma mark 文件上传- (void)upload { NSURL *url = [NSURL URLWithString:@"http://192.168.1.106:8080/MJServer/upload"]; NSMutableURLRequest....
分类:
其他好文 时间:
2014-07-12 09:15:16
阅读次数:
193
相关代码展示:#pragma mark - PSCollectionViewDelegate and DataSource methods- (NSInteger)numberOfRowsInCollectionView:(PSCollectionView *)collectionView{ re....
分类:
其他好文 时间:
2014-07-11 21:26:23
阅读次数:
316