Tags » Liam B.

C: free freeing more than I want

I’ve asked a few questions about this before, but I think I’ve found the root cause of the problem.

I have a program mainLex.c which contains this loop: 838 more words

Stackoverflow

C code seems to work, but valgrind says an array is not initialized

I’m currently working on a project in which I make my own tokenizer. My code compiles and works fine, however valgrind is giving the error: 370 more words

Stackoverflow

Certain tokens acting strange on tokenizer in C

I’m currently trying to make a tokenizer in C. It works pretty well, except for one issue:

I try to pass in a string to a const char * arr in the program. 245 more words

Stackoverflow