Discuss run time error... in the C Programming forum on Dev Shed. run time error... C programming forum discussing all C derivatives, including C#, C++, Object-C, and even plain old vanilla C. These languages are low level languages, and used on projects such as device drivers, compilers, and even whole computer operating systems.
Posts: 26
Time spent in forums: < 1 sec
Reputation Power: 0
run time error...
Can someone please tell me what is wrong with this:
void S_S_Processor:rocess_tag_path_var(string tp_strng)
{
Tag_Path tp1 = Tag_Path();
start_tp.add_child(&tp1);
}
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....