LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-11-2007, 09:43 PM   #1
jaepi
Member
 
Registered: Apr 2007
Location: Urban Jungle
Distribution: Ubuntu
Posts: 189
Blog Entries: 1

Rep: Reputation: 30
no member function declared in class...weird behavior...


Hello there, I'm currently at the peak of my coding when I suddenly experienced this really really weird behavior. My compiler (gcc) tells me that one of my functions are not declared in the class (which resides in my .h file). I used the same global variable object to the entire class to access functions to my other class but it doesn't have any problems with that. I'm really wondering why.
 
Old 12-11-2007, 10:23 PM   #2
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
i dont think youll get any answers until you post all the relevant code (with proper [code ] tags and formatting).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Howto access a variable outside the function from where it is declared in C daYz Programming 4 03-09-2007 01:37 PM
How to register deeper member function in above class? kornerr Programming 3 01-30-2007 02:27 PM
class declared in lib, defined in implementation (C++) ta0kira Programming 6 09-29-2006 07:10 AM
passing a class member function to pthread_create. dmail Programming 1 07-29-2006 11:15 AM
C++ / Passing a variable by reference to a class member function. sepulture Programming 12 11-15-2005 10:23 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration