Compare commits

...

3 Commits

Author SHA1 Message Date
Timo Schmidt 7f6e5230c8 better log message 2023-03-24 23:18:12 +01:00
Timo Schmidt 9e73cc7176 Better log message 2023-03-24 23:17:45 +01:00
Timo Schmidt 0070587f4d Better log message 2023-03-24 23:17:09 +01:00
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/19 05:59:56 by tischmid #+# #+# */
/* Updated: 2023/03/24 01:29:58 by tischmid ### ########.fr */
/* Updated: 2023/03/24 23:17:31 by tischmid ### ########.fr */
/* */
/* ************************************************************************** */
@ -34,7 +34,7 @@ int main(void)
for (int j = 0; j < arrlen; ++j)
{
printf("####### Element == '%s' #######\n", teststrings[j]);
printf("####### dest = '|' * 10, src == '%s' #######\n", teststrings[j]);
ft_strcpy(buf, teststrings[j]);
for (int i = 0; i < BUFSIZE; ++i)
printf((buf[i] >= 32 && buf[i] <= 126) ? "%c\n" : "0x%x\n", buf[i]);

View File

@ -6,7 +6,7 @@
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/19 10:25:26 by tischmid #+# #+# */
/* Updated: 2023/03/24 01:29:37 by tischmid ### ########.fr */
/* Updated: 2023/03/24 23:18:06 by tischmid ### ########.fr */
/* */
/* ************************************************************************** */
@ -31,7 +31,7 @@ int main(void)
for (int j = 0; j < 11; ++j)
{
printf("####### Size == %d #######\n", j);
printf("####### Dest = '|' * 10, src = 'Hey', Size == %d #######\n", j);
ft_strncpy(buf, "Hei", j);
for (int i = 0; i < BUFSIZE; ++i)
printf((buf[i] >= 32 && buf[i] <= 126) ? "%c\n" : "0x%x\n", buf[i]);