Hi All,
I am new to this google protobuf. I am using nanopb for my project. and not
using cpp --cpp out compiler option.
I came across a message type which contains array of 10 structures. How can
I fill data without cpp APIs. For eg:
message structA {
required float x = 3;
required float y = 2;
}
message myData {
repeated uint32 Id = 8;
repeated structA point = 1;
}
In my main program, I have 10 different points to fill in these myData. How
can i do this ? How to fill myData.point[i].x looping i from 0 to 10?
Regards
Fezin
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.