Click here to Skip to main content
15,886,873 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Help me to decipher the error messages Pin
Richard Andrew x6421-Jan-24 11:33
professionalRichard Andrew x6421-Jan-24 11:33 
AnswerRe: Help me to decipher the error messages Pin
CPallini21-Jan-24 20:33
mveCPallini21-Jan-24 20:33 
AnswerRe: Help me to decipher the error messages Pin
jschell22-Jan-24 5:24
jschell22-Jan-24 5:24 
GeneralRe: Help me to decipher the error messages Pin
Richard MacCutchan22-Jan-24 6:22
mveRichard MacCutchan22-Jan-24 6:22 
GeneralRe: Help me to decipher the error messages Pin
Gerry Schmitz26-Jan-24 6:13
mveGerry Schmitz26-Jan-24 6:13 
QuestionLoop thru two dimensional array - edited Pin
Salvatore Terress15-Jan-24 7:41
Salvatore Terress15-Jan-24 7:41 
AnswerRe: Loop thru two dimensional array Pin
jeron115-Jan-24 9:31
jeron115-Jan-24 9:31 
GeneralRe: Loop thru two dimensional array Pin
Salvatore Terress15-Jan-24 9:50
Salvatore Terress15-Jan-24 9:50 
Sorry, no go.

This is not about Qt - I no longer post questions about Qt - this is wrong forum for Qt.

This is plain C question - hence in "C..." sub forum.


In my view each loop has its stopping point.

The first - parent loop - needs to stop when it reaches the end

AND its "size" is correct (see debug message ) and I can run it bypassing the "inner " loop.

The size of inner loop is wrong - see debug messages posted.

Changing the parent loop size as suggested gets this error:


/mnt/A_BT_DEC10/BT__PROGRAMS/A_JAN11/A_BT_LIBRARY/terminal_Bluetooth/mainwindow_Bluetooth.cpp:142: error: member reference base type 'const QStringList[10]' is not a structure or union
mainwindow_Bluetooth.cpp:142:52: error: member reference base type 'const QStringList[10]' is not a structure or union
    for (index_array = 0; index_array <  list_array.size(); ++index_array  )
                                         ~~~~~~~~~~^~~~~

AnswerRe: Loop thru two dimensional array Pin
k505415-Jan-24 10:45
mvek505415-Jan-24 10:45 
GeneralRe: Loop thru two dimensional array Pin
Salvatore Terress15-Jan-24 12:28
Salvatore Terress15-Jan-24 12:28 
AnswerSOLVED Re: Loop thru two dimensional array - edited Pin
Salvatore Terress15-Jan-24 12:49
Salvatore Terress15-Jan-24 12:49 
QuestionRe: SOLVED Re: Loop thru two dimensional array - edited Pin
jeron116-Jan-24 6:39
jeron116-Jan-24 6:39 
AnswerRe: SOLVED Re: Loop thru two dimensional array - edited Pin
Salvatore Terress16-Jan-24 7:20
Salvatore Terress16-Jan-24 7:20 
QuestionAdding "checkable " in Qt QMenu / QAction using C++ partially fails Pin
Salvatore Terress13-Jan-24 16:29
Salvatore Terress13-Jan-24 16:29 
AnswerRe: Adding "checkable " in Qt QMenu / QAction using C++ partially fails Pin
Richard MacCutchan13-Jan-24 21:09
mveRichard MacCutchan13-Jan-24 21:09 
AnswerRe: Adding "checkable " in Qt QMenu / QAction using C++ partially fails Pin
Dave Kreskowiak14-Jan-24 6:06
mveDave Kreskowiak14-Jan-24 6:06 
AnswerRe: Adding "checkable " in Qt QMenu / QAction using C++ partially fails Pin
jschell15-Jan-24 4:00
jschell15-Jan-24 4:00 
GeneralRe: Adding "checkable " in Qt QMenu / QAction using C++ partially fails Pin
Salvatore Terress15-Jan-24 7:06
Salvatore Terress15-Jan-24 7:06 
Questionmemory allocation failure Pin
mike741111-Jan-24 1:28
mike741111-Jan-24 1:28 
AnswerRe: memory allocation failure Pin
Mircea Neacsu11-Jan-24 1:37
Mircea Neacsu11-Jan-24 1:37 
GeneralRe: memory allocation failure Pin
mike741111-Jan-24 3:28
mike741111-Jan-24 3:28 
GeneralRe: memory allocation failure Pin
Richard MacCutchan11-Jan-24 3:35
mveRichard MacCutchan11-Jan-24 3:35 
GeneralRe: memory allocation failure Pin
Mircea Neacsu11-Jan-24 3:40
Mircea Neacsu11-Jan-24 3:40 
AnswerRe: memory allocation failure Pin
CPallini11-Jan-24 1:38
mveCPallini11-Jan-24 1:38 
QuestionHow to read a specified amount bytes from a binary-file with a offset (C++) Pin
P. Mehroof Abid7-Jan-24 3:24
P. Mehroof Abid7-Jan-24 3:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.