stringstream - jak wpisać do tablicy?
Ostatnio zmodyfikowano 2017-03-05 18:54
Lich555 Temat założony przez niniejszego użytkownika |
» 2017-03-04 16:38:44 Hmm... strlcpy was not declared in this scope. Z tego co wyczytałem, to nie ma jej w moim kompilatorze. "The more popular strlcat and strlcpy have been criticised on the basis that they encourage use of C strings and thus create more problems than they solve. Consequently they have not been included in the GNU C library (used by software on Linux), although they are implemented in OpenBSD, FreeBSD, NetBSD, Solaris, Mac OS X, QNX, and even internally in the Linux kernel." Chyba będę musiał skorzystać z 1 sposobu... |
|
mokrowski |
» 2017-03-04 16:47:25 No to użyj strncpy(). To z pewnością masz w <cstring> |
|
Lich555 Temat założony przez niniejszego użytkownika |
» 2017-03-05 18:54:26 Ok, dzięki za pomoc :) |
|
1 « 2 » |