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

C / C++ / MFC

 
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 
Please use the code block button to post code snippets.
It looks like you aren't completely aware about C++ syntax: new is a keyword (hence a reserved identifier), moreover if you wish (as it appears) execute both the statements
Aljaz111 wrote:
tail=new;
head=new;

after the else clause the you've to enclose them in a block ({}).

Please fix your code, be sure it compiles and works and then ask for completion.
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

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 
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 

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.