21st-Century-Examples icon indicating copy to clipboard operation
21st-Century-Examples copied to clipboard

Examples for _21st Century C_ by Ben Klemens

Results 6 21st-Century-Examples issues
Sort by recently updated
recently updated
newest added

gdb can't parse the .gdbinit until these deletions were made.

There is a bug on page 190, 2nd edition. The line: if(!str) Should be: if(!*str) I also remember another "bug": a semicolon at the end of a one-line-macro, but I...

Hi I met a problem when test **string_utilities.c**, I ran valgrind and found heap leak. But I was unable to locate and solve the problem. ----------------------------- #### system info OS:...

Hi I am getting the following error when running the example 1.3 `/gsl_erf: error while loading shared libraries: libgsl.so.0: cannot open shared object file: No such file or directory `

Hi, in my understanding, initialization of tally in line 75 of c_factors.c is not C11-compliant: - if initialized with memset, length of area to set to 0 should be `sizeof...

Hello, I started to read your book - it is nice! Thanks for it. I stuck with gdb, where your examples on page 45 (GDB Variables) do not work for...