November 28th, 2002, 06:34 PM
run time error...
Can someone please tell me what is wrong with this:
void S_S_Processor::process_tag_path_var(string tp_strng)
Tag_Path tp1 = Tag_Path();
where Tag_Path is a linked list type variable.
where start_tp is a Tag_Path global variable.
The Tag_Path class is fine. Hell my entire code compiles fine, but it will not execute
properly. It runs into problems have way through running it.
Am I not allowed to create a local variable in a method, and add a pointer to it to the
global variable? Is that it? Please advise....
November 29th, 2002, 03:33 PM
Er... shouldn't that be:
Tag_Path *tp1 = new Tag_Path();