Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は次のことを試しています:
int length = strlen(input)+1; char * toCrypt = (char*)malloc(length);
入力は文字列です。奇妙なのは、これが機能することもあれば、toCrypt が悪いポインターを与えることもあるということです...解決策は?