NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error C2078

too many initializers

The number of initializers exceeds the number of objects to be initialized.

The following sample generates C2078:

#include <stdio.h>

void main() {

char a[]={"a", "b"};// c2078, try char *b[]={"a", "b"};

char c[2]={"a", "b"};// c2078, try char *d[2]={"c", "d"};

}