Click here to Skip to main content
15,918,343 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: One for the template experts Pin
valikac30-Oct-03 5:56
valikac30-Oct-03 5:56 
GeneralRe: One for the template experts Pin
Anonymous30-Oct-03 21:46
Anonymous30-Oct-03 21:46 
QuestionHow to Add/remove the Dialog caption and border at run time? Pin
adara30-Oct-03 1:25
adara30-Oct-03 1:25 
AnswerRe: How to Add/remove the Dialog caption and border at run time? Pin
kotbegemot30-Oct-03 1:43
kotbegemot30-Oct-03 1:43 
GeneralDynamic memory Pin
bhangie30-Oct-03 0:29
bhangie30-Oct-03 0:29 
GeneralRe: Dynamic memory Pin
Anthony_Yio30-Oct-03 0:45
Anthony_Yio30-Oct-03 0:45 
GeneralRe: Dynamic memory Pin
BadJerry30-Oct-03 0:56
BadJerry30-Oct-03 0:56 
GeneralRe: Dynamic memory Pin
David Crow30-Oct-03 3:15
David Crow30-Oct-03 3:15 
bhangie wrote:
// Employee *NewEmp = new Emp ??

I assume you meant Employee *NewEmp = new Employee?

bhangie wrote:
I want the new employees details in a file .dat it keeps
on creating one employee overriding the previous info.


So do you have something akin to:

for each employee in list
{
    open .dat file
    write employee info to file
    close .dat file
}
In other words, after writing all employees to the .dat file, what one employee is in the file: the first one in the list or the last?

bhangie wrote:
Am i using new wrong? or am i missing the hole new
concept totaly


You are using it correctly. However, at this point, there is no way to know if your design is sound.


Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?

GeneralProblem using CArray Pin
d00_ape30-Oct-03 0:27
sussd00_ape30-Oct-03 0:27 
GeneralRe: Problem using CArray Pin
Anthony_Yio30-Oct-03 0:35
Anthony_Yio30-Oct-03 0:35 
GeneralRe: Problem using CArray Pin
d00_ape30-Oct-03 0:55
sussd00_ape30-Oct-03 0:55 
GeneralRe: Problem using CArray Pin
Anthony_Yio30-Oct-03 15:25
Anthony_Yio30-Oct-03 15:25 
GeneralRe: Problem using CArray Pin
d00_ape31-Oct-03 0:23
sussd00_ape31-Oct-03 0:23 
GeneralRe: Problem using CArray Pin
Anthony_Yio31-Oct-03 1:31
Anthony_Yio31-Oct-03 1:31 
GeneralRe: Problem using CArray Pin
d00_ape31-Oct-03 2:46
sussd00_ape31-Oct-03 2:46 
GeneralRe: Problem using CArray Pin
Anthony_Yio31-Oct-03 18:48
Anthony_Yio31-Oct-03 18:48 
GeneralRe: Problem using CArray Pin
BadJerry30-Oct-03 0:54
BadJerry30-Oct-03 0:54 
GeneralRe: Problem using CArray Pin
d00_ape30-Oct-03 1:14
sussd00_ape30-Oct-03 1:14 
GeneralRe: Problem using CArray Pin
David Crow30-Oct-03 3:26
David Crow30-Oct-03 3:26 
GeneralRe: Problem using CArray Pin
d00_ape30-Oct-03 10:19
sussd00_ape30-Oct-03 10:19 
Generaltime function Pin
diana_artatak30-Oct-03 0:10
diana_artatak30-Oct-03 0:10 
GeneralRe: time function Pin
vcplusplus30-Oct-03 2:49
vcplusplus30-Oct-03 2:49 
Generalfont question Pin
namdans29-Oct-03 23:52
namdans29-Oct-03 23:52 
GeneralRe: font question Pin
David Crow30-Oct-03 3:32
David Crow30-Oct-03 3:32 
GeneralRe: font question Pin
Andy Latham14-Nov-03 0:25
Andy Latham14-Nov-03 0:25 

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.