I need to imagine some spatial points: x, y, z
when I try to initialize the array as follows:
int[][][] points { { {100, 120, 10}, {100, 120, 18}, ... } }
I have a mistake: Impossible source code - not a statement
where is the mistake?
You just forgot the = sign and semicolon ;
=
;
int[][][] points = {{{100, 120, 10}, {100, 120, 18}}};
int[][][] points = {{{100,200,300},{120,200},{200,250}}};
Source: https://habr.com/ru/post/1312056/More articles:Using Windows 7 SDK and DirectX with VS2005 - winapiWhat is the relationship between Spring and javax.enterprise.inject? - springUsing git svn with some awkward permissions - gitActors at Scala.net - scalaSqlite-3 error while running ROR application - sqliteMD5 in objects C and C # - c #Drupal 6: print the entire contents of a body field into a node template file - drupalHow to execute a query against an XML column In SQL Server 2008 - xmlcherry when you need to know that the server is running - pythonCreating a Simple C # Wrapper to Clean Up Code - c #All Articles