Click here to Skip to main content
15,887,294 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Displaying date in Short Format Pin
Jijo.Raj9-Apr-09 23:02
Jijo.Raj9-Apr-09 23:02 
AnswerRe: Displaying date in Short Format Pin
shiv@nand9-Apr-09 23:16
shiv@nand9-Apr-09 23:16 
GeneralRe: Displaying date in Short Format Pin
Jijo.Raj10-Apr-09 0:57
Jijo.Raj10-Apr-09 0:57 
QuestionRe: Displaying date in Short Format Pin
David Crow10-Apr-09 2:57
David Crow10-Apr-09 2:57 
Questiondoubly linked lsit Pin
Aljaz1119-Apr-09 22:34
Aljaz1119-Apr-09 22:34 
AnswerRe: doubly linked lsit Pin
CPallini9-Apr-09 23:22
mveCPallini9-Apr-09 23:22 
GeneralRe: doubly linked lsit Pin
Aljaz11110-Apr-09 2:14
Aljaz11110-Apr-09 2:14 
AnswerRe: doubly linked lsit Pin
Divyang Mithaiwala9-Apr-09 23:23
Divyang Mithaiwala9-Apr-09 23:23 
What's problem? Code is simple.

void addTail(element*&head, element* new, element*&tail)
{
	new->next=NULL;
	new->prev=tail;

	if (tail!=NULL)
	{
		tail->prev=new;
		new->idx=tail->idx+1;
	}
	else
	{
		head=new;
		new->idx=0;
	}
	tail=new;
}




Do not trust a computer...
Always check what computer is doing

regards,
Divyang Mithaiwala
Software Engineer

GeneralRe: doubly linked lsit Pin
CPallini9-Apr-09 23:29
mveCPallini9-Apr-09 23:29 
QuestionCannot convert from 'CString' to 'TCHAR []' Pin
PankajB9-Apr-09 22:31
PankajB9-Apr-09 22:31 
AnswerRe: Cannot convert from 'CString' to 'TCHAR []' Pin
PankajB9-Apr-09 23:01
PankajB9-Apr-09 23:01 
GeneralRe: Cannot convert from 'CString' to 'TCHAR []' Pin
CPallini9-Apr-09 23:25
mveCPallini9-Apr-09 23:25 
AnswerRe: Cannot convert from 'CString' to 'TCHAR []' Pin
CPallini9-Apr-09 23:13
mveCPallini9-Apr-09 23:13 
Questionpointer on class Pin
durban29-Apr-09 21:43
durban29-Apr-09 21:43 
QuestionRe: pointer on class Pin
CPallini9-Apr-09 22:28
mveCPallini9-Apr-09 22:28 
QuestionCompare recorded speech (with FFT?) Pin
rwilmink9-Apr-09 21:16
rwilmink9-Apr-09 21:16 
QuestionExternal Hard Disk Drives Pin
Abinash Mohanty9-Apr-09 21:00
Abinash Mohanty9-Apr-09 21:00 
AnswerRe: External Hard Disk Drives Pin
Hamid_RT9-Apr-09 21:07
Hamid_RT9-Apr-09 21:07 
GeneralRe: External Hard Disk Drives Pin
Abinash Mohanty9-Apr-09 23:28
Abinash Mohanty9-Apr-09 23:28 
QuestionRe: External Hard Disk Drives Pin
David Crow10-Apr-09 3:02
David Crow10-Apr-09 3:02 
QuestionMacro, why? Pin
Maxwell Chen9-Apr-09 20:16
Maxwell Chen9-Apr-09 20:16 
QuestionRe: Macro, why? Pin
CPallini9-Apr-09 20:29
mveCPallini9-Apr-09 20:29 
AnswerRe: Macro, why? Pin
Maxwell Chen9-Apr-09 20:32
Maxwell Chen9-Apr-09 20:32 
Questionshow one column extra in CListControl Pin
Davitor9-Apr-09 20:06
Davitor9-Apr-09 20:06 
AnswerRe: show one column extra in CListControl Pin
rwilmink10-Apr-09 2:49
rwilmink10-Apr-09 2:49 

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.