Belthazor's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
New Members
Active Posts:
1 (0 per day)
Joined:
18-September 12
Profile Views:
345
Last Active:
User is offline Sep 25 2012 12:20 AM
Currently:
Offline

Previous Fields

Dream Kudos:
0
Icon   Belthazor has not set their status

Posts I've Made

  1. In Topic: C++ Tile Engine from Scratch -- Part 4

    Posted 18 Sep 2012

    Hey guys,

    First great tutorial i just hoped you had added your version of the SFML 2.0 it would have made this tutorial much easier.

    The SFML 2.0 is updated and that makes this tutorial harder to understand but after hours and more hours and even more hours i finally fixed every thing and when i tried to run my code i get this nasty error.

    Unhandled exception at 0x755cd36f in 2DGameEngine.exe: Microsoft C++ exception: std::basic_string<char,std::char_traits<char>,std::allocator<char> > at memory location 0x0023f728..
    
    


    I leaded to Level.cpp Function
    void Level::LoadLevel(std::string filename, ImageManager& imageManager)
    

    and when you press continue instead of break then you get this error

    Unhandled exception at 0x0138bef1 in 2D Game.exe: 0xC0000005: Access violation reading location 0x00000020.
    


    and it leads to rapidxml.hpp
    xml_attribute<Ch> *first_attribute(const Ch *name = 0, std::size_t name_size = 0, bool case_sensitive = true) const
            {
                if (name)
                {
                    if (name_size == 0)
                        name_size = internal::measure(name);
                    for (xml_attribute<Ch> *attribute = m_first_attribute; attribute; attribute = attribute->m_next_attribute)
                        if (internal::compare(attribute->name(), attribute->name_size(), name, name_size, case_sensitive))
                            return attribute;
                    return 0;
                }
                else
                    return m_first_attribute;
            }
    
    


    Could any one please help me out i don't want that many hours to be wasted.

    Thanks in advanced

My Information

Member Title:
New D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private

Friends

Belthazor hasn't added any friends yet.

Comments

Belthazor has no profile comments yet. Why not say hello?