0

t to do something like

void f1(int a[][])
{//do smth
}
//and call the function like this
F1({{1,0},{2,5}});
3
Contributors
4
Replies
5
Views
6 Years
Discussion Span
Last Post by dospy
0

Initializer lists are part of standard C++, since August 2011 (when C++11 was formally accepted by a unanimous 21-0 vote). It was not there in the old standard (C++98 which has now been superseded).

0

thx for responses guys, but never mind it, i'll try to find an easier solution, because it seems that the chip i am trying to program doesn't support advance C++, not ever libraries, just native C and the predefined functions used to manipulate the circuit

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.