Click here to Skip to main content
15,910,009 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: USB SD Card reader message Pin
ThatsAlok8-Feb-06 23:04
ThatsAlok8-Feb-06 23:04 
AnswerRe: USB SD Card reader message Pin
Requiem Sollar9-Feb-06 6:42
Requiem Sollar9-Feb-06 6:42 
AnswerRe: USB SD Card reader message Pin
Requiem Sollar9-Feb-06 9:32
Requiem Sollar9-Feb-06 9:32 
Questionfocus on dynamic button Pin
mk_le8-Feb-06 8:12
mk_le8-Feb-06 8:12 
AnswerRe: focus on dynamic button Pin
Ravi Bhavnani8-Feb-06 8:43
professionalRavi Bhavnani8-Feb-06 8:43 
GeneralRe: focus on dynamic button Pin
mk_le8-Feb-06 8:49
mk_le8-Feb-06 8:49 
AnswerRe: focus on dynamic button Pin
_AnsHUMAN_ 8-Feb-06 17:19
_AnsHUMAN_ 8-Feb-06 17:19 
Questionmalloc() Pin
paully8-Feb-06 7:14
paully8-Feb-06 7:14 
For some reason one malloc works but every other time it fails. Is there something in .NET or a setting that I have to change? This is weird, 'head' allocates and I assign to it but 'myList' never gets memory allocated to it. Any ideas? I'm trying to work with C more that's why I'm using malloc.

paul
<br />
<br />
struct myNode<br />
{<br />
	int number;<br />
	myNode* link;<br />
};<br />
<br />
int main ()<br />
{<br />
	//_set_new_mode(1);<br />
	myNode* myList = NULL;	<br />
	myNode* head = NULL;<br />
<br />
	myList = (myNode*)malloc(sizeof(struct myNode));<br />
	head = (myNode*)malloc(sizeof(struct myNode));<br />
<br />
	myList->number = 4;<br />
	myList->link = NULL;<br />
<br />
	head->number = 1;<br />
	head->link = NULL;<br />
	<br />
	return 0;<br />
}<br />

AnswerRe: malloc() Pin
toxcct8-Feb-06 7:40
toxcct8-Feb-06 7:40 
GeneralRe: malloc() Pin
paully8-Feb-06 8:39
paully8-Feb-06 8:39 
QuestionRe: malloc() Pin
David Crow8-Feb-06 8:58
David Crow8-Feb-06 8:58 
QuestionOracle, CDatabase and multithread Pin
Nandiator8-Feb-06 6:21
Nandiator8-Feb-06 6:21 
AnswerRe: Oracle, CDatabase and multithread Pin
Chris Meech8-Feb-06 6:41
Chris Meech8-Feb-06 6:41 
QuestionProblem with FindNextChangeNotification Pin
Dan Neely8-Feb-06 5:19
Dan Neely8-Feb-06 5:19 
AnswerRe: Problem with FindNextChangeNotification Pin
James R. Twine8-Feb-06 6:20
James R. Twine8-Feb-06 6:20 
GeneralRe: Problem with FindNextChangeNotification Pin
Dan Neely8-Feb-06 7:16
Dan Neely8-Feb-06 7:16 
QuestionRe: Problem with FindNextChangeNotification Pin
David Crow8-Feb-06 9:00
David Crow8-Feb-06 9:00 
AnswerRe: Problem with FindNextChangeNotification Pin
Dan Neely8-Feb-06 9:51
Dan Neely8-Feb-06 9:51 
GeneralRe: Problem with FindNextChangeNotification Pin
David Crow8-Feb-06 10:16
David Crow8-Feb-06 10:16 
GeneralRe: Problem with FindNextChangeNotification Pin
Dan Neely8-Feb-06 11:41
Dan Neely8-Feb-06 11:41 
GeneralRe: Problem with FindNextChangeNotification Pin
David Crow9-Feb-06 2:51
David Crow9-Feb-06 2:51 
QuestionTree control bug? Pin
Gary Wheeler8-Feb-06 4:24
Gary Wheeler8-Feb-06 4:24 
AnswerRe: Tree control bug? Pin
David Crow8-Feb-06 4:45
David Crow8-Feb-06 4:45 
GeneralRe: Tree control bug? Pin
Gary Wheeler8-Feb-06 4:56
Gary Wheeler8-Feb-06 4:56 
AnswerRe: Tree control bug? Pin
James R. Twine8-Feb-06 4:59
James R. Twine8-Feb-06 4:59 

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.