Click here to Skip to main content
14,775,596 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: typedef for a function for different platforms Pin
ForNow13-Sep-19 5:36
MemberForNow13-Sep-19 5:36 
QuestionError 12029 WinHTTP Pin
Diprom12-Sep-19 23:36
MemberDiprom12-Sep-19 23:36 
AnswerRe: Error 12029 WinHTTP Pin
Richard MacCutchan13-Sep-19 2:16
mveRichard MacCutchan13-Sep-19 2:16 
AnswerRe: Error 12029 WinHTTP Pin
Victor Nijegorodov13-Sep-19 3:26
MemberVictor Nijegorodov13-Sep-19 3:26 
GeneralRe: Error 12029 WinHTTP Pin
Diprom13-Sep-19 3:30
MemberDiprom13-Sep-19 3:30 
GeneralRe: Error 12029 WinHTTP Pin
Victor Nijegorodov13-Sep-19 3:38
MemberVictor Nijegorodov13-Sep-19 3:38 
AnswerRe: Error 12029 WinHTTP Pin
Randor 14-Sep-19 4:03
professional Randor 14-Sep-19 4:03 
QuestionVisual Studio 2017 C++ Static analyzer (or in ReSharper C++) Pin
Maximilien12-Sep-19 5:21
MemberMaximilien12-Sep-19 5:21 
Is there a switch in Visual Studio C++ Static Analyzer to catch the uninitialized member i.

Or if you are using ReSharper C++ which one of the gazillion inspection options I would need to check to catch this?

Thanks.
class Test
{
public:
    Test(int i) : m_i(i)
    {
        std::cout << m_i << std::endl;
    };
    int m_i;
};

class MainTest
{
public:
    MainTest() : m_Test(i)  {}; // i is not initialized here... 

    Test m_Test; 
    int i = 33; // if I put this line before the line above it will be corrected.
};

int main()
{
    MainTest m;

    std::cout << "Hello World!\n"; 
}
I'd rather be phishing!

AnswerRe: Visual Studio 2017 C++ Static analyzer (or in ReSharper C++) Pin
Stefan_Lang12-Sep-19 6:33
mveStefan_Lang12-Sep-19 6:33 
AnswerRe: Visual Studio 2017 C++ Static analyzer (or in ReSharper C++) Pin
CPallini12-Sep-19 22:08
mveCPallini12-Sep-19 22:08 
GeneralRe: Visual Studio 2017 C++ Static analyzer (or in ReSharper C++) Pin
Stefan_Lang12-Sep-19 23:19
mveStefan_Lang12-Sep-19 23:19 
GeneralRe: Visual Studio 2017 C++ Static analyzer (or in ReSharper C++) Pin
Stefan_Lang13-Sep-19 0:26
mveStefan_Lang13-Sep-19 0:26 
AnswerRe: Visual Studio 2017 C++ Static analyzer (or in ReSharper C++) Pin
Stefan_Lang12-Sep-19 23:46
mveStefan_Lang12-Sep-19 23:46 
QuestionMFC VC++ ListCtrl Pin
Member 1457555612-Sep-19 2:23
MemberMember 1457555612-Sep-19 2:23 
AnswerRe: MFC VC++ ListCtrl Pin
CPallini12-Sep-19 2:32
mveCPallini12-Sep-19 2:32 
GeneralRe: MFC VC++ ListCtrl Pin
Member 1457555612-Sep-19 2:41
MemberMember 1457555612-Sep-19 2:41 
GeneralRe: MFC VC++ ListCtrl Pin
Richard MacCutchan12-Sep-19 2:45
mveRichard MacCutchan12-Sep-19 2:45 
AnswerRe: MFC VC++ ListCtrl Pin
Victor Nijegorodov12-Sep-19 2:41
MemberVictor Nijegorodov12-Sep-19 2:41 
QuestionRe: MFC VC++ ListCtrl Pin
David Crow12-Sep-19 8:26
MemberDavid Crow12-Sep-19 8:26 
Questionfast return of data to the server Pin
Diprom11-Sep-19 23:36
MemberDiprom11-Sep-19 23:36 
AnswerRe: fast return of data to the server Pin
Diprom12-Sep-19 0:11
MemberDiprom12-Sep-19 0:11 
GeneralRe: fast return of data to the server Pin
Stefan_Lang12-Sep-19 7:02
mveStefan_Lang12-Sep-19 7:02 
QuestionVirtual address of pointer keeps changing Pin
Rakanoth9-Sep-19 23:45
MemberRakanoth9-Sep-19 23:45 
AnswerRe: Virtual address of pointer keeps changing Pin
Richard MacCutchan10-Sep-19 0:18
mveRichard MacCutchan10-Sep-19 0:18 
GeneralRe: Virtual address of pointer keeps changing Pin
Rakanoth10-Sep-19 3:28
MemberRakanoth10-Sep-19 3:28 

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.