|
|
back to boardCommon BoardCOMPILATION ERRORS ? [code deleted] Edited by author 02.02.2007 16:03 Edited by moderator 13.02.2007 20:58 Re: COMPILATION ERRORS ? Because C/C++ does not allow lists in "{", "}" everywhere in the program. They are allowed only in constant definition where the compiler can check type of every list member. I'd suggest you to use classes instead of structures. Then you'll will be able to create constructor with 3 parameters and write q.push(ln(0,0,NULL)); Edited by author 02.02.2007 20:07 |
|
|