Click here to Skip to main content
13,624,821 members

C / C++ / MFC

 
GeneralRe: Using fstream with USB Serial Port Pin
OscardelaGrouch14-Jul-18 9:40
memberOscardelaGrouch14-Jul-18 9:40 
GeneralRe: Using fstream with USB Serial Port Pin
Jochen Arndt14-Jul-18 12:49
mvpJochen Arndt14-Jul-18 12:49 
QuestionWhich do I use ide for learn c ++ Pin
Onur Çil6-Jul-18 2:33
memberOnur Çil6-Jul-18 2:33 
AnswerRe: Which do I use ide for learn c ++ Pin
Richard MacCutchan6-Jul-18 2:54
protectorRichard MacCutchan6-Jul-18 2:54 
AnswerRe: Which do I use ide for learn c ++ Pin
CPallini7-Jul-18 11:06
mvpCPallini7-Jul-18 11:06 
GeneralRe: Which do I use ide for learn c ++ Pin
Daniel Pfeffer8-Jul-18 1:49
professionalDaniel Pfeffer8-Jul-18 1:49 
GeneralRe: Which do I use ide for learn c ++ Pin
CPallini8-Jul-18 20:56
mvpCPallini8-Jul-18 20:56 
Questionfree pointer to pointer Pin
Diprom3-Jul-18 4:10
memberDiprom3-Jul-18 4:10 
Hello, there's a code.

#include <stdio.h>
#include <memory.h>
#include <stdlib.h>
int main()
{
	char* x = (char*)calloc(sizeof(char),150);
	char* p = x;
	free(x);
	x = NULL;
.....
//p = NULL (get from x)
	return 0;
}
<pre>

Tell me how to get NULL under p when x is removed and set to NULL.
AnswerRe: free pointer to pointer Pin
Richard MacCutchan3-Jul-18 4:23
protectorRichard MacCutchan3-Jul-18 4:23 
AnswerRe: free pointer to pointer Pin
CPallini3-Jul-18 10:25
mvpCPallini3-Jul-18 10:25 
GeneralRe: free pointer to pointer Pin
Richard MacCutchan3-Jul-18 21:38
protectorRichard MacCutchan3-Jul-18 21:38 
GeneralRe: free pointer to pointer Pin
CPallini3-Jul-18 21:41
mvpCPallini3-Jul-18 21:41 
GeneralRe: free pointer to pointer Pin
Richard MacCutchan3-Jul-18 21:53
protectorRichard MacCutchan3-Jul-18 21:53 
JokeRe: free pointer to pointer Pin
CPallini3-Jul-18 22:00
mvpCPallini3-Jul-18 22:00 
GeneralRe: free pointer to pointer Pin
Richard MacCutchan3-Jul-18 22:11
protectorRichard MacCutchan3-Jul-18 22:11 
GeneralRe: free pointer to pointer Pin
CPallini3-Jul-18 22:24
mvpCPallini3-Jul-18 22:24 
QuestionModifying dll source code for Notepad++ compare plugin Pin
Member 133232572-Jul-18 9:35
memberMember 133232572-Jul-18 9:35 
AnswerRe: Modifying dll source code for Notepad++ compare plugin Pin
Richard MacCutchan2-Jul-18 21:03
protectorRichard MacCutchan2-Jul-18 21:03 
QuestionCustome title bar Pin
john563228-Jun-18 18:44
memberjohn563228-Jun-18 18:44 
AnswerRe: Custome title bar Pin
Richard MacCutchan28-Jun-18 20:52
protectorRichard MacCutchan28-Jun-18 20:52 
AnswerRe: Custome title bar Pin
Victor Nijegorodov29-Jun-18 1:31
memberVictor Nijegorodov29-Jun-18 1:31 
AnswerRe: Custome title bar Pin
«_Superman_»1-Jul-18 18:16
professional«_Superman_»1-Jul-18 18:16 
QuestionC++ and Artificial Intelligence Pin
Miles UE28-Jun-18 11:55
memberMiles UE28-Jun-18 11:55 
AnswerRe: C++ and Artificial Intelligence Pin
Manish K. Agarwal28-Jun-18 21:56
memberManish K. Agarwal28-Jun-18 21:56 
GeneralRe: C++ and Artificial Intelligence Pin
_Flaviu28-Jun-18 22:06
member_Flaviu28-Jun-18 22:06 

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
Web01 | 2.8.180712.1 | Last Updated 16 Jul 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid