flat assembler
Message board for the users of flat assembler.
  
|  Index
      > High Level Languages > c++, terminate called after throwing an instance of | 
| Author | 
 | 
| vivik 09 Jul 2018, 14:36 i get it.
 Highscore::Highscore() gets called before main even starts, since there is no new. | |||
|  09 Jul 2018, 14:36 | 
 | 
| vivik 09 Jul 2018, 14:41 hm, this doesn't exactly works...
 Highscore* gHighscore; *gHighscore = new Highscore(); | |||
|  09 Jul 2018, 14:41 | 
 | 
| vivik 09 Jul 2018, 15:42 Highscore* gHighscore = NULL;
 gHighscore = new Highscore(); perfect. sorry for creating those stupid threads, I thought I was going to stuck on this. I'll reuse this one for next questions. | |||
|  09 Jul 2018, 15:42 | 
 | 
| < Last Thread | Next Thread > | 
| Forum Rules: 
 | 
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.