C4logaUeafTamaxy
C4logaUeafTamaxy C4logaUeafTamaxy
  • 14-09-2016
  • Computers and Technology
contestada

C programming: loading a dictionary into a trie data structure. Why am I segfaulting?

Respuesta :

Hussain514 Hussain514
  • 18-09-2016
// initialize root code c = fgetc(dictptr); while (c != EOF) { if (c != '\n') { // traverse tree code } else { // finish word code } c = fgetc(dictprt); } // finish word code
hope it helps
Answer Link

Otras preguntas

How do i write 5/10 in three equivalent forms?
TRIGONOMETRY please help
Find the area of the shape shown below.
Does anyone know this answer
What statement best illustrates how an organism maintains homeostasis ? A)Female barn swallows mate with long-tailed males. B)Desert pack rats are active at nig
Counting your pulse can be most accurately performed by applying light pressure to an artery that is close to the surface of the skin. True False
Which of the following terms best describes a group of galaxies? Select one: a. Cluster b. Constellation c. Solar system
babatunde draws a drinking glass with a scale of 2 units on his graph paper represents 2.5 cm. the glass is 8 units tall in the drawing what is the height in cm
Which of the following is the cause for different seasons on earth? A. The direction earth spins around it’s axis B. Changing levels of gas compositions throug
What is the answer? All I know is that the answer has to be a decimal and fraction.