[Gambas-user] 2D-Array ?

Jussi Lahtinen jussi.lahtinen at ...626...
Sun Oct 23 14:10:47 CEST 2011


http://gambasdoc.org/help
http://old.nabble.com/Gambas-f3425.html

Jussi


On Sun, Oct 23, 2011 at 06:27, wally <wally at ...2037...> wrote:

> Hi,
>
> more important as the following question itself, is where may i find the
> answer myself without this mailinglist ?
> I always have problems to find sufficient documentation on gambas :(
> Where to search for it ?
> How to search the mailinglist archive ?
>
> How can i do the following C code in a Public Sub Button1_Click()
> in Gambas 3 ?
>
> int main() {
>     int i;
>
>     float arr[][2] = { {1.2, 3.4} , {4.5, 5.6} , {7.8 , 8.9} };   <-- ???
>
>     printf("%i \n", sizeof(arr)/sizeof(float)/2);
>     for (i=0;i<(sizeof(arr)/sizeof(float)/2);i++) {
>          printf("%2.2f \t %2.2f \n",arr[i][0],arr[i][1]);
>     }
> return 0;
> }
>
>
> ------------------------------------------------------------------------------
> The demand for IT networking professionals continues to grow, and the
> demand for specialized networking skills is growing even more rapidly.
> Take a complimentary Learning at ...2709... Self-Assessment and learn
> about Cisco certifications, training, and career opportunities.
> http://p.sf.net/sfu/cisco-dev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list