Search Results

Showing results 1 to 8 of 8
Search took 0.01 seconds.
Search: Posts Made By: heimdhal
Forum: C++ Jan 9th, 2009
Replies: 11
Views: 539
Posted By heimdhal
I found the way that works but it is not a correct solution.

When changing

Rules[this->RuleNum]->min->MembraneOut[0]=A.min.MembraneOut[0];


into a
...
Forum: C++ Jan 9th, 2009
Replies: 11
Views: 539
Posted By heimdhal
Here Genome is creat6ed:

__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
Genome=new(RuleSet);

}

I've tracked it through a constructor - everything's OK.
Forum: C++ Jan 8th, 2009
Replies: 11
Views: 539
Posted By heimdhal
watches also told me that in function in question
this = NULL

That's supposed to be a member function!

I just don't get it...
Forum: C++ Jan 8th, 2009
Replies: 11
Views: 539
Posted By heimdhal
No It wouldn't.
Rules[SomeInt] is a class, not a pointer to one.
Forum: C++ Jan 8th, 2009
Replies: 11
Views: 539
Posted By heimdhal
class Rule
{
public:
LivingCell min;
LivingCell max;
LivingCell IgnoredParametres;
int Action;
int Parameter;
};
// ------------------- Класс "Генотип" -----------------
Forum: C++ Jan 8th, 2009
Replies: 11
Views: 539
Posted By heimdhal
Well I did like you told, but still it doesn't work.

And using watches I found that
RuleNum's value is ???? (four question marks
)
Forum: C++ Jan 8th, 2009
Replies: 11
Views: 539
Posted By heimdhal
I've got an array of pointers to my class "Rule" Now I'm trying to access it from within a member function AddRule. But on the first line I keep getting "Memory Access Violation"

Can anyone tell...
Forum: C++ Jan 7th, 2009
Replies: 2
Views: 797
Posted By heimdhal
I quite don't get it!

I've got a memory access violation on a perfectly normal code string. Error occurs when starting the application. I can click continiuse and everything goes on ok.
And more....
Showing results 1 to 8 of 8

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC