#include <stdio.h>

int main(){
char ray_tx_pwr[2][3]={{1,2,3},{4,5,6}};
int i = 0;
printf("r %d",ray_tx_pwr[0]);
return 0;
}

#include <stdio.h>
#define USAGE 0XFF00

int main(){
printf("USAGE %x", USAGE + 1);

return 0;
}

#include "stdio.h"
#include "string.h"
#include "string"
#include "iostream"
#include "math.h"
#include "map"

using namespace std;

map<char,string> mp;
map<char,string>::iterator it;
int main(int argc, char const *argv[])
{
mp['0']="0000";mp['1']="0001";mp['2']="0010";
mp['3']="0011";mp['4']="0100";mp['5']="0101";
mp['6']="0110";mp['7']="0111";mp['8']="1000";
mp['9']="1001";mp['A']="1010";mp['B']="1011";
mp['C']="1100";mp['D']="1101";mp['E']="1110";
mp['F']="1111";

for(it = mp.begin(); it != mp.end(); it++)
cout<<it->first<<":"<<it->second<<endl;
return 0;
}

#include<iostream>
#include<cstring>
using namespace std;
int main()
{
char sentence[]="This is a sentence with 7 tokens";
cout << "The string to be tokenized is:\n" << sentence << "\n\nThe tokens are:\n\n";
char *tokenPtr=strtok(sentence," ");
while(tokenPtr!=NULL){
cout<<tokenPtr<<endl;
tokenPtr=strtok(NULL," ");
}
//cout << "After strtok,sentence=" << tokenPtr<<endl;
return 0;
}
~

最新文章

  1. 连接第二个 insance 到 first_local_net - 每天5分钟玩转 OpenStack(83)
  2. JavaScript异步编程(2)- 先驱者:jsDeferred
  3. Python之路,Day1 - Python基础1
  4. Sparse Filtering 学习笔记(一)网络结构与特征矩阵
  5. [ios][swift]Swift - 常用文件目录路径获取(Home目录,文档目录,缓存目录等)
  6. websocket++编译过程
  7. mysql--乱码
  8. ArrStack——数组栈(procedure)
  9. mevan引入容联云通讯jar
  10. (转)MySQL存储过程/存储过程与自定义函数的区别
  11. 随手小代码——《Python编程 从入门到实践》项目1:外星人入侵
  12. three.js 实现全景以及优化(2)
  13. 6.QT信号和槽
  14. Python从入门到放弃系列(Django/Flask/爬虫)
  15. AE与C#入门笔记
  16. Nginx 配置TCP代理
  17. window apidoc的安装和使用
  18. Eureka 客户端启动报错误 Cannot determine embedded database driver class for database type NONE
  19. Linux下var目录介绍
  20. css - 字体图标的制作

热门文章

  1. maven打包找不到本地jar包的解决方法
  2. java链接pg数据库remaining connection slots are reserved for non-replication superuser connections问题
  3. LinuxK8S集群搭建三(部署dashboard)
  4. Nginx 虚拟主机中配置 server_name ⼀个server块中配置多个站点 ⼀个站点配置多个⼆级域名
  5. layui富文本编辑器提交时无法获取到值
  6. pandas-数据结构转换-纵转横
  7. 安装 Harbor
  8. NSA对下一代新技术的评估“网络透视”2010
  9. JSR303校验
  10. PostgreSQL-14 安装配置-wsl_v1_ubuntu22.04