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 » U++ Library support » U++ Core » Vector<Vector<double>> (Error in creating Vector<Vector<double>>)
Re: Vector<Vector<double>> [message #49517 is a reply to message #49514] Thu, 22 February 2018 08:22 Go to previous messageGo to previous message
Upp_User is currently offline  Upp_User
Messages: 8
Registered: May 2017
Location: India
Promising Member
Thanks for the clarification. i modified as below and it worked as expected.
void Bezier::getBez()
{
	cout<<"generating the square matrix"<<endl;
	
	for(int i=0;i<5;i++)
	{
		for(int i=0;i<5;i++)
		{
			tbez.Add()=double(i);
		}
		bezy<<tbez;
		tbez.Clear();
	}

	
}


But is there an easy way to directly assign the values. like, bezy[i][i]=double(i)?, using it, is not giving any compilation error, but shows assertion failed.

Thanks


UPP User
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem with websocket connect method
Next Topic: How to close the websocket connection
Goto Forum:
  


Current Time: Tue Aug 26 18:35:02 CEST 2025

Total time taken to generate the page: 0.07139 seconds