Yeah, fair comment.
If you have parameterized variants of constructors of a parent class and you want to use the default constructor of this class, then you have to define this contructor explicitly.
The super()-method is mostly used if you want to call a parameterized version of the constructor of a parent class.
e.g.:
Class A{
public A(int iAValue){
....
}
}
Class B extends A{
public B (int iBValue){
super (iBValue);
}
}
If you do not use the super()-method here, the standard...
Hi,
I've made some Websites for an Intranet using the following pattern: the site is divided in two frames where the user can set in the headerframe the cookie of the site containing the frameset (via top.document.cookie). The Document in the second (content) frame reads this value (also by...
Hi Leibnitz,
thanks a lot for your answer!
Now I can catch the programpath of my MFC-Application.
But I still don't know how to start a dialog once at the programstart of a SDI-Application (I want to implement something like a logindialog that is shown once at the programstart).
Does anyone know...
Hi,
I've got two questions about MFC-Application:
- How can I get the path of a running MFC-Application (something like argv[0] in c)?
- How can I start a dialog at the start of a SDI-Application
(when I start the Dialog with OnInitialUpdate the dialog is shown without any textinformation)?
Any...
Hi sjravee,
thanks for your answer!
Well, that's exactly the problem. The searchengine and the keywords are coded in JavaScript.
This searchengine is placed in the first frame where you can enter your searchstring.
(The searchengine have to be placed in the first string, because this frame is...
Hi,
I've got a JavaScriptbased searchengine for an intranetpresentation.
The size of this searchengine is expected to grow about 1.5 - 2 MB, so
I decided to split the browserwindow in two frames and place the searchengine
in one of these frames. This way the searchengine has to be loaded only...
Hi again,
o.k., it's your opinion. But writing a.operator=(b) is equivalent to writing a = b, isn't it ;-).
Back to my posted problem: Now I've put the prototypes and class definition in a .h-file (myXML.h) and the function- and
memberfunctionbodies in a .cpp-file (myXML.cpp), but I'm still...
Thanks for your answers!
@VincentP:
The prototypes have to be insert in a .h-File (e.g. myXML.h).
But where do I have to place the functionbodies (myXML.cpp)?
@williamu
The operator works fine. A return value is not needed because it's a binary operator.
Hi,
actually i'm writing a program that's storing data in a XML-File.
Therefor i've written a library that reads and stores data in XML.
It looks like these:
#include <afx.h>
#include <afxtempl.h>
#include <fstream.h>
#include <string.h>
#include <ctype.h>
#ifndef myXML_cpp
#define...
Sorry, i must have been blind on early sunday morning. Of course i can get a list of the subfolders of the current folder by using the FindFirstFile function.
Thanks a lot!
Agadir
Thanks for your answer!
I've read the msdn articles about FindFirstFile. This function is great for fileoperations. But i also need a function to get a list of all subfolders of the current folder. The programm i'am currently writing "starts" scanning folders at a root-folder and go on...
Hi.
I'm pretty new in VC++ and i hope someone can help me.
I need a class / function that returns, after beeing called with a pathname as parameter, a list all files and subfolders of the given pathname. I already searched msdn but i could not find something corresponding.
Thanks.
Agadir
Hi there!
Is it possible in JavaScript to check out if a website is called local or from a webserver? If so how can i solve it. I have to implement a online course in html with Real Playlists. Now i have to distinguish if the site is called local on the users machine (the course has been...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.