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 » Community » Newbie corner » Parameter Array reference.
Re: Parameter Array reference. [message #38304 is a reply to message #38299] Sun, 09 December 2012 18:50 Go to previous messageGo to previous message
nejnadusho is currently offline  nejnadusho
Messages: 60
Registered: October 2012
Member
Ok,

That is really weird!

if I do not define the:

void DataTransfer::FetchData(const String& className, const String & value, Array<String>& getData){
		if (className == "Tables"){
			if (value == "Initiate"){
				InitiateWorkplace(getData);
			}
		}
		
	}



In other words if I just remove it from the .cpp file everything is just fine.

If define it and leave it blank inside like this
void DataTransfer::FetchData(const String& className, const String & value, Array<String>& getData){}


and compile it it is giving the following error for this line

C:\MyApps\TeamB1ServerApp\DataTransfer.cpp(11) : error C3872: '0xa0': this character is not allowed in an identifier


Also if I leave only the Array as a parameter I get exactly the same error.
I tried changing the name of the function.
And same thing.

Please any suggestions will be greatly appreciated.

Best,
Georgi
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Many Widget Factories one class
Next Topic: Refreshing Docked Widget/Window/Ctrl
Goto Forum:
  


Current Time: Tue Jul 08 22:31:08 CEST 2025

Total time taken to generate the page: 0.03078 seconds