-
my very first program compiled with mingw-w64 was
```c
#include
int main() { printf("%zu\n", sizeof(off_t)); }
```
it prints "zu".
turns out that there's a proper POSIX compatible pri…
-
### Description / Steps to reproduce the issue
` gcc -Wall -c bug.c -std=c99`
```c
#include
#define ATTRIBUTE_PRINTF(m, n) __attribute__ ((__format__ (__printf__, m, n)))
#define ATTRIBUTE_P…
-
```
$ dtrace -n 'proc:::exec-success { printf("%s\n", stringof(curpsinfo->pr_psargs)); }'
dtrace: invalid probe specifier proc:::exec-success { printf("%s\n", stringof(curpsinfo->pr_psargs)); }: in …
-
```
#include
int main(){
int n;
scanf("%d", &n);
int i;
for(i=n-1; i>=0; i--, puts("")){
for(int k=0; k
-
Printf can be repleaced by scanf_s due of the new securities uprgrade concerning c methods.
-
solve the issue in https://github.com/1NC22/hi/issues/new
#include
int main(){
int a,b;
printf("Enter the value for a:\n");
scanf("%d",&a);
printf("Enter the value for b:\n");
scanf("%d",&…
1NC22 updated
1 month ago
-
# 大家好,我用winlib的C编译器在win下编译成功,
**但是需要改变makefile文件的编写.**
mingw64是默认的,
makefile文件改造为如下:
```
# 目标可执行文件
目标 = mzcc
# 编译选项
编译选项 = -Wall -Werror -std=gnu99 -g -I.
# 对象文件
对象文件 = lexer.…
-
1. bertlv_tag_make 函数中第一个判断 num < 0x7f 是不是应该是 num < 0x1f 才对?,低标签编码的 num 范围应该是 0-30?
2. 在 1 的基础上我修改为 num < 0x1f, 执行下面的测试程序,发现像 256, 512 这种数 bertlv_tag_get_number 有问题?
```
int main(int argc, char **…
-
This is something that I am unfamiliar with. When I was experimenting a format specification checker for the `printf` family, everything worked as expected until it came to the c16/c64/c128 targets - …
-
Hi,
I am trying to debug my system\code.
How can I see printf output? Is there another recommended debug option?
Is there a recommended platform I should use? I am currently using eclipse, but …