Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Can't draw vector of pointers to window.  (Read 782 times)

0 Members and 1 Guest are viewing this topic.

Aiden_Cohen

  • Newbie
  • *
  • Posts: 9
    • View Profile
    • Email
Can't draw vector of pointers to window.
« on: April 10, 2018, 10:24:07 pm »
I've been trying to make a vector of objects, so that I can draw all of them to the screen, so I have been using pointers to do that, but when I try to de-pointer the  pointers, it just throws all kinds of errors. Here is my code
« Last Edit: April 16, 2018, 09:16:08 pm by Aiden_Cohen »

Hapax

  • Hero Member
  • *****
  • Posts: 3043
  • My number of posts is shown in hexadecimal.
    • View Profile
Re: Can't draw vector of pointers to window.
« Reply #1 on: April 11, 2018, 12:28:24 am »
it just throws all kinds of errors.
You may want to state which kinds of errors specifically.
Selba Ward - SFML drawables
Kairos - Timing Library
Rectangular Boundary Collision - Rectangular SAT Collision

@Hapaxiation - Hapaxia on Twitter

 

anything