Click here to Skip to main content
15,921,174 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionOpen File Dialog Pin
nonokey10-Apr-09 2:08
nonokey10-Apr-09 2:08 
QuestionRe: Open File Dialog Pin
David Crow10-Apr-09 2:50
David Crow10-Apr-09 2:50 
AnswerRe: Open File Dialog Pin
nonokey10-Apr-09 3:13
nonokey10-Apr-09 3:13 
AnswerRe: Open File Dialog Pin
CPallini10-Apr-09 2:55
mveCPallini10-Apr-09 2:55 
AnswerRe: Open File Dialog Pin
Hamid_RT10-Apr-09 8:03
Hamid_RT10-Apr-09 8:03 
Questionhow to delete cstring Pin
Aljaz11110-Apr-09 2:07
Aljaz11110-Apr-09 2:07 
AnswerRe: how to delete cstring Pin
CPallini10-Apr-09 2:22
mveCPallini10-Apr-09 2:22 
GeneralRe: how to delete cstring Pin
Aljaz11110-Apr-09 4:01
Aljaz11110-Apr-09 4:01 
QuestionUnable to detect few usb drives Pin
Le@rner10-Apr-09 1:05
Le@rner10-Apr-09 1:05 
Questionhow can i input from file using i/o with getline Pin
Mohamed_Khalil10-Apr-09 0:24
Mohamed_Khalil10-Apr-09 0:24 
QuestionRe: how can i input from file using i/o with getline Pin
CPallini10-Apr-09 0:26
mveCPallini10-Apr-09 0:26 
AnswerRe: how can i input from file using i/o with getline Pin
Mohamed_Khalil10-Apr-09 0:29
Mohamed_Khalil10-Apr-09 0:29 
GeneralRe: how can i input from file using i/o with getline Pin
CPallini10-Apr-09 0:39
mveCPallini10-Apr-09 0:39 
GeneralRe: how can i input from file using i/o with getline Pin
Mohamed_Khalil10-Apr-09 0:41
Mohamed_Khalil10-Apr-09 0:41 
GeneralRe: how can i input from file using i/o with getline Pin
CPallini10-Apr-09 0:56
mveCPallini10-Apr-09 0:56 
AnswerRe: how can i input from file using i/o with getline Pin
David Crow10-Apr-09 2:55
David Crow10-Apr-09 2:55 
QuestionDisplaying date in Short Format Pin
shiv@nand9-Apr-09 22:50
shiv@nand9-Apr-09 22:50 
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

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.