Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Extra libraries, Code snippets, applications etc. » Applications created with U++ » Distance - geodesic - Vincenty - very accurate
Re: Distance - geodesic - Vincenty - very accurate [message #25977 is a reply to message #25976] Mon, 22 March 2010 23:11 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3357
Registered: August 2008
Senior Veteran
nlneilson wrote on Mon, 22 March 2010 22:57

Thanks Koldo, the fabs took care of that error.

Now I get:
/home/neil/MyApps/Distance/Distance.cpp:280: error: extra qualification ‘MyApp::’ on member ‘Key’

at this line:
bool MyApp::Key(dword key, int count){

edit: I deleted "MyApp::" and it works in debug.
I will make a few changes like the default dir for the file chooser, I had that as C:\ for win.

Hello nlnelson

Very probably you have inserted the code inside a class.
That means that adding class name in function is useless, so you simply has to remove "MyApp::" in the left of function definition.

For example this will get the same error:

class EditFileFolder : public EditString {
typedef EditFileFolder CLASSNAME;
protected:
	bool EditFileFolder::Key(dword key, int rep) {     // EditFileFolder:: is useless
		if (key == K_ENTER) {	// Catch the ENTER
			DoGo();
			return false;
		} else
			return EditField::Key(key, rep);
	}


Best regards
Iñaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Google Translator
Next Topic: How to load dll
Goto Forum:
  


Current Time: Sat Apr 27 14:54:49 CEST 2024

Total time taken to generate the page: 0.08327 seconds