How to initialize a CString array in MSVS C++ 2015
-
how do you initialize this CString array in msvc mfc 2015? CString weekday[] = {"Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat"}; It worked from msvc++ 2010 but does not work for 2015. Thanx in Advance
-
how do you initialize this CString array in msvc mfc 2015? CString weekday[] = {"Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat"}; It worked from msvc++ 2010 but does not work for 2015. Thanx in Advance
-
how do you initialize this CString array in msvc mfc 2015? CString weekday[] = {"Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat"}; It worked from msvc++ 2010 but does not work for 2015. Thanx in Advance
CString weekday[] = {CString ("Sun"), CString( "Mon")...};
-
By not working, do you mean it doesn't compile, doesn't show the values you thought, or someting other?
It will not compile using msvc++ 2015
-
It will not compile using msvc++ 2015
Member 9411471 wrote:
It will not compile using msvc++ 2015
And what compiler error does it produce?