0_0_33615804_1268.cpp: In function 'void create_trie(char*)':
0_0_33615804_1268.cpp:12:13: error: 'root' was not declared in this scope
node*p=&root;
^
0_0_33615804_1268.cpp: In function 'int search_trie(char*)':
0_0_33615804_1268.cpp:34:16: error: 'root' was not declared in this scope
node p=root;
^
0_0_33615804_1268.cpp: In function 'int main()':
0_0_33615804_1268.cpp:75:28: error: conversion from 'node*' to non-scalar type 'node' requested
node root=new node();
^
|