indyz 1 #1 May 13, 2003 I know, I know. Don't use Visual C++. But anyway, I have this assignment. It's basically freeform, so I'm doing a really lame (read: not useable in real life, but the instructor won't know that) logbook program. Anyway, it was compiling fine, now I'm getting a C2061 error from VC6 at a method declaration. The full text is: "error C2061: syntax error : identifier 'CJump'" and the line of code is: 'void InsertAt(int nIdx, CJump *jumpIns);' I'm at my wits end here. I can't find any problems with my code (other than it's a rush job and needs better comments). It's probably something stupid that just needs a fresh set of eyes to spot. I can PM somebody the workspace as an attachment if they want to take a shot at it. Quote Share this post Link to post Share on other sites
JamesNahikian 0 #3 May 13, 2003 Dude, post your entire program. You probably have pointer error but w/o the substance of your program it's unlikely that somebody can help you. And, yeah, Visual C is not my favorite IDE either. D. James Nahikian CHICAGO Quote Share this post Link to post Share on other sites
tobi778 0 #4 May 13, 2003 Could you PM me the code? It's impossible to say what it might be without a larger portion of the program... Quote Share this post Link to post Share on other sites
indyz 1 #5 May 13, 2003 The workspace is 500k, so I can't post it. I'll PM a URL to anybody who wants it, though. Quote Share this post Link to post Share on other sites
JamesNahikian 0 #6 May 13, 2003 Post your code; this issue can be resolved quite easily in all likelihood. I hope to remain awake for another 1/2 hour and that's pushing it dude. D. James Nahikian CHICAGO Quote Share this post Link to post Share on other sites
JamesNahikian 0 #7 May 13, 2003 You have that much space and you can't post a logbook program? Get some sleep then e-mail your code to jnahikian@hotmail.com (intentionally not clicky). I'll do the best I can. D. James Nahikian CHICAGO Quote Share this post Link to post Share on other sites
sfc 1 #8 May 13, 2003 Problem solved and PMed. Quote Share this post Link to post Share on other sites
JamesNahikian 0 #9 May 13, 2003 Previous offer rescinded. Good night. D. James Nahikian CHICAGO Quote Share this post Link to post Share on other sites
indyz 1 #10 May 13, 2003 sfc got it. Big thanks, man. I'm going to eat my humble pie now. Quote Share this post Link to post Share on other sites