I'm having a weird problem
i'm trying to read a string from a console with scanf()
like this
scanf("%[^
]",string1);
but it doesnt read anything. it just skips the entire scanf.
I'm trying it in gcc compiler
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…