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

C / C++ / MFC

 
QuestionStart app without taskbar icon Pin
_Flaviu17-Jan-18 1:56
_Flaviu17-Jan-18 1:56 
AnswerRe: Start app without taskbar icon Pin
Richard MacCutchan17-Jan-18 2:11
mveRichard MacCutchan17-Jan-18 2:11 
AnswerRe: Start app without taskbar icon Pin
Jochen Arndt17-Jan-18 2:20
professionalJochen Arndt17-Jan-18 2:20 
GeneralRe: Start app without taskbar icon Pin
_Flaviu18-Jan-18 1:09
_Flaviu18-Jan-18 1:09 
GeneralRe: Start app without taskbar icon Pin
leon de boer18-Jan-18 1:40
leon de boer18-Jan-18 1:40 
GeneralRe: Start app without taskbar icon Pin
Jochen Arndt18-Jan-18 2:07
professionalJochen Arndt18-Jan-18 2:07 
QuestionTo make an interacting user game on *Tower of hanoi* . Pin
Tarun Jha14-Jan-18 23:58
Tarun Jha14-Jan-18 23:58 
AnswerRe: To make an interacting user game on *Tower of hanoi* . Pin
Jochen Arndt15-Jan-18 0:33
professionalJochen Arndt15-Jan-18 0:33 
If you got compiler errors and warnings, inspect them or add them to your question so that we know them. They contain the line number where the error occured. Inspect that line and the previous one(s) (some errors are sourced on previous lines and detected later). Read the error message. If you do not understand them, do some web research first.

However, there is one big beginner's mistake in your code:
The size of the arrays and the access to the array elements. With C/C++, arrays are accessed by zero based indexes. So the allowed indexes for a size of three are 0, 1, and 2. But your code uses also the index 3. As a result, your code will never work as expected or even crash.

So change the array sizes to
int m[4], r[4], l[4];
before handling any other errors.
GeneralRe: To make an interacting user game on *Tower of hanoi* . Pin
Tarun Jha15-Jan-18 1:01
Tarun Jha15-Jan-18 1:01 
GeneralRe: To make an interacting user game on *Tower of hanoi* . Pin
Jochen Arndt15-Jan-18 1:11
professionalJochen Arndt15-Jan-18 1:11 
AnswerRe: To make an interacting user game on *Tower of hanoi* . Pin
Richard MacCutchan15-Jan-18 1:06
mveRichard MacCutchan15-Jan-18 1:06 
GeneralRe: To make an interacting user game on *Tower of hanoi* . Pin
Tarun Jha15-Jan-18 1:21
Tarun Jha15-Jan-18 1:21 
GeneralRe: To make an interacting user game on *Tower of hanoi* . Pin
David Crow15-Jan-18 2:42
David Crow15-Jan-18 2:42 
GeneralRe: To make an interacting user game on *Tower of hanoi* . Pin
Richard MacCutchan15-Jan-18 5:00
mveRichard MacCutchan15-Jan-18 5:00 
QuestionSort digits of number Pin
Anonygeeker14-Jan-18 22:41
Anonygeeker14-Jan-18 22:41 
AnswerRe: Sort digits of number Pin
CPallini14-Jan-18 23:00
mveCPallini14-Jan-18 23:00 
AnswerRe: Sort digits of number Pin
Richard MacCutchan14-Jan-18 23:06
mveRichard MacCutchan14-Jan-18 23:06 
Questionconversion error Pin
Anonygeeker14-Jan-18 20:28
Anonygeeker14-Jan-18 20:28 
AnswerRe: conversion error Pin
Jochen Arndt14-Jan-18 21:19
professionalJochen Arndt14-Jan-18 21:19 
AnswerRe: conversion error Pin
Richard MacCutchan14-Jan-18 21:36
mveRichard MacCutchan14-Jan-18 21:36 
QuestionI couldn't think a good title for this.Simple question Pin
Emrah Duatepe14-Jan-18 7:37
Emrah Duatepe14-Jan-18 7:37 
AnswerRe: I couldn't think a good title for this.Simple question Pin
Jochen Arndt14-Jan-18 21:37
professionalJochen Arndt14-Jan-18 21:37 
GeneralRe: I couldn't think a good title for this.Simple question Pin
Emrah Duatepe14-Jan-18 21:44
Emrah Duatepe14-Jan-18 21:44 
GeneralRe: I couldn't think a good title for this.Simple question Pin
Jochen Arndt14-Jan-18 22:18
professionalJochen Arndt14-Jan-18 22:18 
GeneralRe: I couldn't think a good title for this.Simple question Pin
Emrah Duatepe14-Jan-18 23:37
Emrah Duatepe14-Jan-18 23:37 

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.