大约有 800 项符合查询结果(耗时:0.0043秒) [XML]

https://bbs.tsingfun.com/thread-32-1-1.html 

nvarchar和varchar相互转换、联合查询 - ORACLE - 清泛IT论坛,有思想、有深度

...atype is NVARCHAR2. (A表字段c_xxx:varchar,B表c_xxx:nvarcharselect translate(c_xxx USING NCHAR_CS) from A union all select c_xxx from B 或者 select c_xxx from A union all select translate(c_xxx USING CHAR_CS) from B 注意:translate函数括号中没有逗号。 1、...
https://bbs.tsingfun.com/thread-770-1-1.html 

const char *, char const *, char * const 异同?const修饰符各位置有何区...

const char * p = new char('a'); 这个是常字符,即p的内容不能被修改。 char const * p 意义同上,没有区别。 这时,*p = 'c'; 会报错。 char * const p = new char('a'); 这个是常指针,即p指针本身不可被修改。 这时,p = new char; 会报...
https://bbs.tsingfun.com/thread-478-1-1.html 

C语言结构体里的成员数组和指针 - c++1y / stl - 清泛IT社区,为创新赋能!

...#include <stdio.h> struct str{     int len;     char s[0]; }; struct foo {     struct str *a; }; int main(int argc, char** argv) {     struct foo f={0};     if (f.a->s) {         printf( f.a->s);   &...
https://bbs.tsingfun.com/thread-782-1-1.html 

VC/Linux C++ 递归访问目录下所有文件 - c++1y / stl - 清泛IT社区,为创新赋能!

VC函数,部分代码如下:find(char * lpPath) {     char szFind[MAX_PATH];     WIN32_FIND_DATA FindFileData;     strcpy(szFind,lpPath);     strcat(szFind,"\\*.*");     HANDLE hFind=::FindFirstFile(szFind,&FindFileData);   &...
https://bbs.tsingfun.com/thread-778-1-1.html 

vc/mfc *通配符 批量删除文件 - c++1y / stl - 清泛IT社区,为创新赋能!

...de "stdafx.h" #include <windows.h> int _tmain(int argc, _TCHAR* argv[]) {         LPTSTR delFileName = L"c:/test/test*.txt";         SHFILEOPSTRUCT FileOp;         ZeroMemory((void*...
https://bbs.tsingfun.com/thread-570-1-1.html 

error: ‘uint16_t’ does not name a type - c++1y / stl - 清泛IT社区,为创新赋能!

...t 2012, 2013 MinGW.org project * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy...
https://bbs.tsingfun.com/thread-464-1-1.html 

Lua简明教程 - 脚本技术 - 清泛IT论坛,有思想、有深度

...;            对应表达式 -a __concat(a, b)                  对应表达式 a .. b __len(a)                       &nbsp...
https://bbs.tsingfun.com/thread-491-1-1.html 

Linux automake自动编译全攻略 - 脚本技术 - 清泛IT社区,为创新赋能!

...nclude <stdio.h> #include "lib/calc.h" int main(int argc, char** argv) {         int sum = add(1, 2);         printf("sum:%d\n", sum);                  r...
https://bbs.tsingfun.com/thread-841-1-1.html 

C语言面试那些事儿──一道指针与数组问题 - c++1y / stl - 清泛IT社区,为创新赋能!

首先看如下代码: int main(int argc, char** argv) {     int a[5] = {1,2,3,4,5};     int* ptr = (int*)(&a + 1);     printf("%d,%d\n", *(a+1), *(ptr-1));     return 0; }复制代码这道题在很多所谓经典C语言面试题里是常见...
https://bbs.tsingfun.com/thread-630-1-1.html 

Unicode and UTF-8 - 综合 - 清泛IT论坛,有思想、有深度

...)、和ASCII码不兼容,而且不太好移植(Not Portable) 例如:char *s=“Good ,北京”;该C语言代码采用UTF-16编码后,字节序列中间有许多’\0’,’\0’ 会被识别为字符串的终止,strlen()函数不起用了。 2)、存储空间较大,造成存储及...