Author: Unknown
Subject: How to Initialize Struct?
Date: Friday, 24 Apr 2020, 14:15:53
209 struct elt *e = DictSearch(d, currPos); Whenever I try to set a element, I get this error ==16390== Use of uninitialised value of size 8 ==16390== at 0x483BBE6: strlen (vg_replace_strmem.c:461) ==16390== by 0x48F9295: puts (ioputs.c:35) ==16390== by 0x401B49: main (Nine20.c:209) ==16390== Uninitialised value was created by a stack allocation ==16390== at 0x401A10: main (Nine20.c:190) Is there something different I need to do to initialize a struct?PREV INDEX NEXT