krillov's Profile User Rating: -----

Reputation: 1 Apprentice
Group:
Members
Active Posts:
30 (0.04 per day)
Joined:
18-November 12
Profile Views:
16,844
Last Active:
User is offline Yesterday, 04:23 PM
Currently:
Offline

Previous Fields

Country:
SE
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
0
Icon   krillov has not set their status

Posts I've Made

  1. In Topic: Problem with creating new schema in PostgreSQL

    Posted 17 Feb 2014

    Thanks. :-)
  2. In Topic: Problem with creating new schema in PostgreSQL

    Posted 17 Feb 2014

    It is't in SELECT statement. So I don't really understand the error message but it's working now. In some strange way. I must use some editor like Sublime and save the code in SQL file format. If I upload the code that way then it's working.
  3. In Topic: Problem with opening a file from a different folder

    Posted 5 Feb 2014

    Never mind. I just missed something...
  4. In Topic: Unhandled exception, Access violation problem

    Posted 20 Nov 2013

    View Postvividexstance, on 20 November 2013 - 09:57 AM, said:

    Where are you calling scheduleTrain()? That's what's important, because if you pass a NULL pointer to that function and then try to access it through the states vector, you're going to get a seg fault. Maybe put a check in that scheduleTrain() function so it doesn't add NULL pointers.


    Iīm calling it here:

    void NotReady::changeState()
    {  
        t_time.changeStateTime(20);
        train->changeState("NOTREADY");
        traffic->scheduleTrain(new Ready(traffic, train, t_time));
    }
    
    


    Virtual classes which call each other in chain one after one. Iīm nearly 100% sure it canīt be NULL pointer.
  5. In Topic: Unhandled exception, Access violation problem

    Posted 20 Nov 2013

    Thanks for help! I changed some logic in my solution so it is working now. I couldnīt handle that problem so this felt like a better solution.

My Information

Member Title:
New D.I.C Head
Age:
31 years old
Birthday:
June 4, 1983
Gender:
Programming Languages:
C++, Java, Visual Basic .NET, Python

Contact Information

E-mail:
Private

Friends

Comments

Page 1 of 1
  1. Photo

    wb_09 Icon

    11 Feb 2014 - 01:59
    Hi! Did you ever finish up on your state machine and that pesky unhandled exception?
Page 1 of 1