Click here to Skip to main content
13,801,197 members

C / C++ / MFC

 
QuestionStart app without taskbar icon Pin
_Flaviu17-Jan-18 2:56
member_Flaviu17-Jan-18 2:56 
AnswerRe: Start app without taskbar icon Pin
Richard MacCutchan17-Jan-18 3:11
protectorRichard MacCutchan17-Jan-18 3:11 
AnswerRe: Start app without taskbar icon Pin
Jochen Arndt17-Jan-18 3:20
mvpJochen Arndt17-Jan-18 3:20 
GeneralRe: Start app without taskbar icon Pin
_Flaviu18-Jan-18 2:09
member_Flaviu18-Jan-18 2:09 
GeneralRe: Start app without taskbar icon Pin
leon de boer18-Jan-18 2:40
memberleon de boer18-Jan-18 2:40 
GeneralRe: Start app without taskbar icon Pin
Jochen Arndt18-Jan-18 3:07
mvpJochen Arndt18-Jan-18 3:07 
QuestionTo make an interacting user game on *Tower of hanoi* . Pin
Tarun Jha15-Jan-18 0:58
memberTarun Jha15-Jan-18 0:58 
AnswerRe: To make an interacting user game on *Tower of hanoi* . Pin
Jochen Arndt15-Jan-18 1:33
mvpJochen Arndt15-Jan-18 1: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 2:01
memberTarun Jha15-Jan-18 2:01 
GeneralRe: To make an interacting user game on *Tower of hanoi* . Pin
Jochen Arndt15-Jan-18 2:11
mvpJochen Arndt15-Jan-18 2:11 
AnswerRe: To make an interacting user game on *Tower of hanoi* . Pin
Richard MacCutchan15-Jan-18 2:06
protectorRichard MacCutchan15-Jan-18 2:06 
GeneralRe: To make an interacting user game on *Tower of hanoi* . Pin
Tarun Jha15-Jan-18 2:21
memberTarun Jha15-Jan-18 2:21 
GeneralRe: To make an interacting user game on *Tower of hanoi* . Pin
David Crow15-Jan-18 3:42
memberDavid Crow15-Jan-18 3:42 
GeneralRe: To make an interacting user game on *Tower of hanoi* . Pin
Richard MacCutchan15-Jan-18 6:00
protectorRichard MacCutchan15-Jan-18 6:00 
QuestionSort digits of number Pin
Anonygeeker14-Jan-18 23:41
memberAnonygeeker14-Jan-18 23:41 
AnswerRe: Sort digits of number Pin
CPallini15-Jan-18 0:00
mvpCPallini15-Jan-18 0:00 
AnswerRe: Sort digits of number Pin
Richard MacCutchan15-Jan-18 0:06
protectorRichard MacCutchan15-Jan-18 0:06 
Questionconversion error Pin
Anonygeeker14-Jan-18 21:28
memberAnonygeeker14-Jan-18 21:28 
AnswerRe: conversion error Pin
Jochen Arndt14-Jan-18 22:19
mvpJochen Arndt14-Jan-18 22:19 
AnswerRe: conversion error Pin
Richard MacCutchan14-Jan-18 22:36
protectorRichard MacCutchan14-Jan-18 22:36 
QuestionI couldn't think a good title for this.Simple question Pin
Emrah Duatepe14-Jan-18 8:37
memberEmrah Duatepe14-Jan-18 8:37 
AnswerRe: I couldn't think a good title for this.Simple question Pin
Jochen Arndt14-Jan-18 22:37
mvpJochen Arndt14-Jan-18 22:37 
GeneralRe: I couldn't think a good title for this.Simple question Pin
Emrah Duatepe14-Jan-18 22:44
memberEmrah Duatepe14-Jan-18 22:44 
GeneralRe: I couldn't think a good title for this.Simple question Pin
Jochen Arndt14-Jan-18 23:18
mvpJochen Arndt14-Jan-18 23:18 
GeneralRe: I couldn't think a good title for this.Simple question Pin
Emrah Duatepe15-Jan-18 0:37
memberEmrah Duatepe15-Jan-18 0: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.


Advertise | Privacy | Cookies | Terms of Service
Web02 | 2.8.181215.1 | Last Updated 16 Dec 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid