Click here to Skip to main content
14,303,800 members

C / C++ / MFC

 
GeneralRe: error C2059 Pin
CPallini20-Aug-19 21:59
mveCPallini20-Aug-19 21:59 
QuestionRe: error C2059 Pin
David Crow20-Aug-19 3:09
memberDavid Crow20-Aug-19 3:09 
AnswerRe: error C2059 Pin
_Flaviu20-Aug-19 3:32
member_Flaviu20-Aug-19 3:32 
QuestionRe: error C2059 Pin
David Crow20-Aug-19 3:35
memberDavid Crow20-Aug-19 3:35 
AnswerRe: error C2059 Pin
speedbump9920-Aug-19 9:01
memberspeedbump9920-Aug-19 9:01 
GeneralRe: error C2059 Pin
_Flaviu20-Aug-19 22:04
member_Flaviu20-Aug-19 22:04 
GeneralRe: error C2059 Pin
_Flaviu20-Aug-19 22:14
member_Flaviu20-Aug-19 22:14 
GeneralRe: error C2059 Pin
Stefan_Lang20-Aug-19 22:31
memberStefan_Lang20-Aug-19 22:31 
You can't use -> or * on a value of 0! That causes the compiler errors. Try any non-null value, and at least these compiler errors should go away.

Moreover, typeof is not standard C/C++. There are implementations for that in the GCC extension for C, or in the BOOST library. You may need to find the correct BOOST library and include that in your project to make this code work.
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

GeneralRe: error C2059 Pin
_Flaviu20-Aug-19 23:22
member_Flaviu20-Aug-19 23:22 
GeneralRe: error C2059 Pin
_Flaviu20-Aug-19 23:28
member_Flaviu20-Aug-19 23:28 
GeneralRe: error C2059 Pin
_Flaviu20-Aug-19 23:39
member_Flaviu20-Aug-19 23:39 
GeneralRe: error C2059 Pin
Richard MacCutchan21-Aug-19 0:03
protectorRichard MacCutchan21-Aug-19 0:03 
GeneralRe: error C2059 Pin
_Flaviu21-Aug-19 0:52
member_Flaviu21-Aug-19 0:52 
GeneralRe: error C2059 Pin
Victor Nijegorodov21-Aug-19 2:08
memberVictor Nijegorodov21-Aug-19 2:08 
GeneralRe: error C2059 Pin
Victor Nijegorodov21-Aug-19 2:17
memberVictor Nijegorodov21-Aug-19 2:17 
GeneralRe: error C2059 Pin
_Flaviu21-Aug-19 2:38
member_Flaviu21-Aug-19 2:38 
GeneralRe: error C2059 Pin
Richard MacCutchan21-Aug-19 3:59
protectorRichard MacCutchan21-Aug-19 3:59 
GeneralRe: error C2059 Pin
_Flaviu21-Aug-19 20:50
member_Flaviu21-Aug-19 20:50 
GeneralRe: error C2059 Pin
Stefan_Lang21-Aug-19 5:24
memberStefan_Lang21-Aug-19 5:24 
GeneralRe: error C2059 Pin
_Flaviu21-Aug-19 21:45
member_Flaviu21-Aug-19 21:45 
GeneralRe: error C2059 Pin
Stefan_Lang21-Aug-19 21:51
memberStefan_Lang21-Aug-19 21:51 
GeneralRe: error C2059 Pin
_Flaviu21-Aug-19 23:53
member_Flaviu21-Aug-19 23:53 
AnswerRe: error C2059 Pin
Stefan_Lang21-Aug-19 3:08
memberStefan_Lang21-Aug-19 3:08 
QuestionC++ Program to decompress a compressed string Pin
antoniu20016-Aug-19 6:19
memberantoniu20016-Aug-19 6:19 
AnswerRe: C++ Program to decompress a compressed string Pin
Richard MacCutchan17-Aug-19 1:19
protectorRichard MacCutchan17-Aug-19 1:19 

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.