|
|
hum, it seems that you don't post the whole code that is crashing...
firstly, give the entiere definitions of struct link ans class linklist.
secondly, give the code where you use the class' member functions
then, give the error messages as they are provided (certainly with the file location and the line where the error occured).
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
|
Rupali sarda wrote:
struct link{};
class linklist
{
link additem();
}
What error it is giving
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Rupali sarda wrote:
it is not working
it should...
what is the error code provided ??
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
Hello,
Try the following:
struct link;
class linklist
{
link* additem();
};
Maybe you want struct link{}; to be just a prototype declaration. Here you define the structure. If you defined the structure also in another file, you get those conversion problems. If you want to return the link by value, you should include the header of the link struct instead of using a prototype declaration...
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|
|
Geeez... You are both on the race today
|
|
|
|
|
Thanx Bob ...
Its working.
Rupali Sarda
|
|
|
|
|
just waiting for the red lights turn off... !!!
wroooooom vroooomm vRRRRRRROOOOOOOMMM
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
You're welcome
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|
|
cedric moonen wrote:
You are both on the race today
after Very long time
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Holidays ?
|
|
|
|
|
cedric moonen wrote:
Holidays ?
naah!!! Busy With JOb
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
hi .....
i am not professional in programming ,this is my first real experience , so i need a help
i wanna make interface ,from it i can enter the name and number of person ,then i will pass these parameters into function to proccess them .
|
|
|
|
|
|
lallaba wrote:
i wanna make interface ,from it i can enter the name and number of person
if you looking for COM interface :-
http://www.codeproject.com/atl/SimpleATLCom.asp[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
By interface, you mean GUI (graphical user interface) ? That is the window with the controls on it in which you can enter the data ?
If yes, I would choose a Dialog Based application when you create your project (in the wizzard for seting up your project). Then play a little bit with that, find some article on this website (or even better, buy a good book that explains how to work with MFC and class Wizzard) try it by yourself and if you have some specific questions, come back and ask. It's really too long to explain everything here.
|
|
|
|
|
Hello.,
I have two radio button , Yes and NO
and a Spin Control in a dialog based application.
My Question is .,->
When I select Yes Radio button ,I want to activate that Spin control.
In this EnableWindow() is not working.
Praveen
|
|
|
|
|
could you please post the code with which you try to do that ?
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
How to Print a Bitmap on a paper and print ListCtrl values on that page means company logo should print on the paper in light shade and display ListCtrl values as a report
|
|
|
|
|
http://www.programmersheaven.com/other/Latestfaqs.htm
This link may helps you.
you may get some answers regarding printing.
Haranadh
|
|
|
|
|
http://www.codeproject.com/listctrl/fexportlistview.asp
C function to export text from a ListView into a text file with separators
-By Bruno Challier
You post your question in his article.
|
|
|
|
|
Respected all
Regards!
I loaded a bitmap already ,now i have to load a bitmap which is small in size over that bitmap on a specific position so that both bitmap become visible to me.
plz guide me.
from
david
|
|
|
|
|
Friends,
In my dll or exe, i want to place certain file in the resource (file can be HTML file or text file or any image). Later at run time i want to retrieve that file from the resource and manipulate it.
Please tell me how can i store file in resource and then retrieve it from the resource.
Imtiaz
|
|
|
|
|
Imtiaz Murtaza wrote:
Please tell me how can i store file in resource and then retrieve it from the resource.
this article will help
http://www.codeproject.com/cpp/UpdateResource.asp[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|