Search found 2 matches

by tobasco666
16 Nov 2010, 19:05
Forum: Mindstorms Software
Topic: NXC function pointers
Replies: 2
Views: 4534

NXC function pointers

Hi, I want to use a menu like the standard menu from NXT 2.0 brick. Unfortunately I can't find a system call to reuse the existing one :-( Therefore I tried to implement my own, but it I couldn't declare a function pointer: typedef struct { string label; string ricPath; bool (*onEnter)(int *item); /...
by tobasco666
13 Oct 2010, 09:40
Forum: Mindstorms Software
Topic: some NXC beginner questions
Replies: 1
Views: 3855

some NXC beginner questions

Hi, Usaually I'm working with high-level-languages, therfore I run into some pitfalls when I start to work with NXC (BricxCC 3.3): When I try to declare a multi-dim-array with initialization I get Errors: Variable name expected, ";" expected int matrix[][] = {{1, 2, 3}, {4, 5, 6}}; When I ...