Click here to Skip to main content
14,209,109 members

C / C++ / MFC

 
AnswerRe: event handler Pin
Victor Nijegorodov28-Jun-18 8:59
memberVictor Nijegorodov28-Jun-18 8:59 
AnswerRe: event handler Pin
«_Superman_»1-Jul-18 18:20
professional«_Superman_»1-Jul-18 18:20 
Question#import <somedll.dll> no_namespace Pin
Sakthiu28-Jun-18 5:03
memberSakthiu28-Jun-18 5:03 
AnswerRe: #import <somedll.dll> no_namespace Pin
Joe Woodbury28-Jun-18 5:46
professionalJoe Woodbury28-Jun-18 5:46 
AnswerRe: #import <somedll.dll> no_namespace Pin
Victor Nijegorodov28-Jun-18 8:46
memberVictor Nijegorodov28-Jun-18 8:46 
AnswerRe: #import <somedll.dll> no_namespace Pin
«_Superman_»1-Jul-18 18:25
professional«_Superman_»1-Jul-18 18:25 
QuestionC++ Run Time Error "Stack around the variable 'Student' was corrupted." Pin
Umad Ahmad27-Jun-18 1:45
memberUmad Ahmad27-Jun-18 1:45 
AnswerRe: C++ Run Time Error "Stack around the variable 'Student' was corrupted." Pin
Richard MacCutchan27-Jun-18 2:36
protectorRichard MacCutchan27-Jun-18 2:36 
You have declared marks as a 2 element array, but your loop runs 3 times.
for (int k = 0; k <= 2; k++) { // <-- this will run three loops
    cout << "Enter Student NO " << i + 1 << " Subject " << k + 1 << " Marks : \t";
    cin >> Student[i].marks[k]; // when k == 2 you are overwriting unallocated memory
    
    if ((Student[i].marks[k]) < 40)
    {
        failSubjects++;
    }
}

It should be:
for (int k = 0; k < 2; k++) { // k must be only 0 or 1

QuestionConvert C++ code to python Pin
Megha Bhamare27-Jun-18 1:26
memberMegha Bhamare27-Jun-18 1:26 
AnswerRe: Convert C++ code to python Pin
Richard MacCutchan27-Jun-18 2:30
protectorRichard MacCutchan27-Jun-18 2:30 
QuestionHow to call a 'C' program function from VB code ? Pin
Sakthiu26-Jun-18 3:31
memberSakthiu26-Jun-18 3:31 
AnswerRe: How to call a 'C' program function from VB code ? Pin
Victor Nijegorodov26-Jun-18 4:04
memberVictor Nijegorodov26-Jun-18 4:04 
GeneralRe: How to call a 'C' program function from VB code ? Pin
Sakthiu26-Jun-18 4:08
memberSakthiu26-Jun-18 4:08 
QuestionRe: How to call a 'C' program function from VB code ? Pin
David Crow26-Jun-18 4:38
memberDavid Crow26-Jun-18 4:38 
AnswerRe: How to call a 'C' program function from VB code ? Pin
Sakthiu26-Jun-18 4:44
memberSakthiu26-Jun-18 4:44 
AnswerRe: How to call a 'C' program function from VB code ? Pin
David Crow26-Jun-18 4:49
memberDavid Crow26-Jun-18 4:49 
AnswerRe: How to call a 'C' program function from VB code ? Pin
Randor 26-Jun-18 5:44
professional Randor 26-Jun-18 5:44 
PraiseRe: How to call a 'C' program function from VB code ? Pin
«_Superman_»1-Jul-18 18:28
professional«_Superman_»1-Jul-18 18:28 
QuestionDIALOG WITH MULTIPLE THREADS Pin
Member 1142662425-Jun-18 7:52
memberMember 1142662425-Jun-18 7:52 
AnswerRe: DIALOG WITH MULTIPLE THREADS Pin
Randor 25-Jun-18 8:22
professional Randor 25-Jun-18 8:22 
AnswerRe: DIALOG WITH MULTIPLE THREADS Pin
Victor Nijegorodov25-Jun-18 8:52
memberVictor Nijegorodov25-Jun-18 8:52 
QuestionCan't automate Excel from Windows 10 Pin
garyflet21-Jun-18 8:39
membergaryflet21-Jun-18 8:39 
AnswerRe: Can't automate Excel from Windows 10 Pin
Victor Nijegorodov21-Jun-18 20:59
memberVictor Nijegorodov21-Jun-18 20:59 
AnswerRe: Can't automate Excel from Windows 10 Pin
_Flaviu21-Jun-18 22:43
member_Flaviu21-Jun-18 22:43 
Questionlooking for 3rd party library to "create overlay guided user experiences" ? Pin
Maximilien21-Jun-18 8:17
memberMaximilien21-Jun-18 8:17 

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
Web04 | 2.8.190617.3 | Last Updated 17 Jun 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid