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 » Developing U++ » U++ Developers corner » Assist++ future
Standard array not parsed [message #10927 is a reply to message #10917] Sun, 05 August 2007 13:29 Go to previous messageGo to previous message
andrei-catalin is currently offline  andrei-catalin
Messages: 62
Registered: May 2006
Location: Romania
Member
Standard array is not parsed by Assist

//$-
int step[11]={0,1,2,5,10,20,50,100,200,500,1000}; //Whithout parser directives assist don't work
//$+

struct Foo
{
	void ShowStep(int n);
};

//test Alt+C/Ctrl+V
void Foo::ShowStep(int n)
{
	Cout()<<"Step["<<n<<"] = "<<step[n]<<"\n";
}


CONSOLE_APP_MAIN
{
	Cout()<<"Start"<<"\n";
	Foo foo;
	//test autocompletion
	foo.ShowStep(5);
}


Andrei
 
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: U++ infrastructure server...
Next Topic: Decimal
Goto Forum:
  


Current Time: Sat May 18 03:25:24 CEST 2024

Total time taken to generate the page: 0.03952 seconds