Yes it looks like i'll have to use remoting to achieve the goal.
Thanks though
Type: Posts; User: drb2k2
Yes it looks like i'll have to use remoting to achieve the goal.
Thanks though
Hi guys,
I have a difficult problem here that I can't solve.
I have written a dll in C++ that is called from a java program.
The java program runs on Computer A,
The DLL is stored on Computer...
Thanks, i'll give it a go.
Much appreciated
thats the trick
thank you very much
Hi All,
I have a class called CLine, and have declared a pointer by
CLine *pWhichGen;
I then point it to an object in an array by:
Hi all,
A bit of advice using MFC needed really. I want to be able to set a variable m_PopSize (which is declared in "App.h") to generate an array (LineArray) of objects in "Doc.cpp" whoose size...
Hi all,
I'm using MFC for the first time to design a genetic algorithm. When I generate a new generation stored in an array "NextGen"
I want to have a new window pop up where the user can select...
Hi all,
I'm having trouble with a genetic algorithm. Basically I want to be able to keep 10 of the original population if a certain variable (Elitism) is set to one. This also has to change the...
opkay sorry I should have checked my code through.
The problem for anyone that is interested seems to be related to the fact that that I hadn't changed the number being compared to the number that...
Hi all,
First of all I should say that I am attempting the following using MFC.
I am trying to find the lowest scoring object in an array of objects called LineArray. Whenever a low score is...
Hi Adrian,
here is the coords2lineSeg defn.
struct lineSeg *coords2lineSeg(int x1,int y1,int x2,int y2)
{
struct lineSeg *p;
/* set up memory, fill it, return pointer to it */
p= (struct...
HI all, Still having problems getting an output from my line program.
As an overview:
I have an array of objects called LineArray. Each of these objects has an arrary called m_XYCoOrds[][]. This...
Okay don't worry I have run some tests and the function always returns 0 so there must be a problem within the function.
sorry to waste any time
Hi all,
I have sorted out my earlier problem but now have a different. I have defined an array of objects called LineArray. Each of these objects has an array called m_XYCoOrds[][] which hold ten...
Hi all,
I have defined a function in my Doc.h file that uses several variables also defined in this file, one of which is the definition of
struct lineSeg{
struct vector r1;
struct vector...
yes you are right, sorry to have completely wasted your time. I was calling the random function in a different place, and when running it was never actually calling the length function. My...
Hi again all,
This time i'm having trouble in returning a value from a class function. The function is supposed to work out the euclidian distance between two points i.e. sqrt( (x1-x2)squared +...
Hi again all,
This time i'm having trouble in returning a value from a class function. The function is supposed to work out the euclidian distance between two points i.e. sqrt( (x1-x2)squared +...
Hello again all,
I have some values stored in a Class Object that I would like to print to the screen. Unfortunately I only seem to be able to find ways of printing strings to the screen. Is there...
Thank you very much
Not sure what he was on about with code tags. If anyone is interested i moved the srand(time) declaration out of the function and this fixed everything.
cheers
Hello all,
I can't seem to get this to work, even though it has been typed in exactly as in a book:
class CLinesDoc : public CDocument
{
protected: // create from serialization only...
Thanks, that will clear it up.
Hi all, I have a function to try and put random numbers into an array. However for each object that I run the function for the same random numbers are being produced. I used time.h to try and seed...
Hi all,
I'm having a bit of trouble checking that my program is working properly. I have defined a list of objects in an object array called "LineArray". One of the data members of these objects...