1304 questions
When you say that both x and y are paid by two,Is ~x+y==~(x+y) always false?The numbers between 5000 and 5000 are all falseWouldn't there be a true number somewhere?
enum {RANDOM, IMMEDIATE, SEARCH} strategy;strategy = IMMEDIATE;You can use it like this on C++, but there's an error on CIt's too hard.What should I do?error: conflicting types for ‘strategy’error: pr...
Nosuch file or directory is shortened to ENOFILEWhat does ENT stand for?
All I know is -Wall, -std=XXX.I want to know the flag that changes warning or warning to errorI searched it on Google and it's all in English so I can't understandㅠ
When int64_t is printed as %d, I keep getting a warningI tried a bigger %lld and it's the same ㅜㅜ lld is the biggest thing I know, what should I do?#include <stdio.h>#include <stdint.h>int...
int func(char* str){ char buffer[100]; unsigned short len = strlen(str); if(len >= 100) { return (-1); } strncpy(buffer,str,strlen(str)); return 0;}It's a school assignment. They want us to write ...
Everything I come up with is a clicheIs there a standard for removing space characters before/after?I hope it's a very standard look good, safe code.
static void *gostruct[] = { [0 ... 255] = &&l_bad, ['\t'] = &&l_loop, [' '] = &&l_loop, ['\r'] = &&l_loop, ['\n'] = &&l_loop, [''] = &&l_qup, [':'] ...
void foo() { int c[100]; { int d[200]; } //d[0]=1; //Error return;}It's not a situation like if or for, it's just another {}As I left the block, I couldn't write d.The professor said {} is a block in...
int a[5][5];int* a[5];int** a;When you get an array as a factor, you have to choose one of those three and unify itIs there any way I can turn it over without using a pointer?
« | - 62 - | » |
© 2024 OneMinuteCode. All rights reserved.