This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main(void) | |
{ | |
unsigned int n, k; | |
unsigned int indent; | |
unsigned int size = 8; | |
int **triangle = new int*[size]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Exception in thread "main" java.util.ConcurrentModificationException | |
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:782) | |
at java.util.ArrayList$Itr.next(ArrayList.java:754) | |
at interaction.Renderer.draw(Renderer.java:102) | |
at interaction.Renderer.render(Renderer.java:44) | |
at engine.MainLoop.startLoop(MainLoop.java:46) | |
at main.Battlepath.main(Battlepath.java:38) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# visualize3.py | |
# | |
# Copyright 2010 Lars Funke <[email protected]> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <boost/filesystem.hpp> | |
#include <boost/algorithm/string.hpp> | |
#include <iostream> | |
#include <fstream> | |
#include <string> | |
#include <vector> | |
#include <map> | |
#include <stdlib.h> | |
#include <math.h> | |
#include "CImg.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (vector<string>::iterator death = deaths.begin(); death != deaths.end(); death++) | |
{ | |
int i = 1; | |
char * pch; | |
char buffer[10]; | |
sprintf(buffer, "%s", *death); | |
pch = strtok(buffer, " "); | |
while (pch != NULL) | |
{ | |
//if(i = 1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# visualize.py | |
# | |
# Copyright 2010 Lars Funke <[email protected]> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ gdb ./teeworlds_d | |
GNU gdb (GDB) Fedora (7.1-30.fc13) | |
Copyright (C) 2010 Free Software Foundation, Inc. | |
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
This is free software: you are free to change and redistribute it. | |
There is NO WARRANTY, to the extent permitted by law. Type "show copying" | |
and "show warranty" for details. | |
This GDB was configured as "i686-redhat-linux-gnu". | |
For bug reporting instructions, please see: | |
<http://www.gnu.org/software/gdb/bugs/>... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ bam all | |
[ 1/20] #1 c++ src/game/collision.cpp | |
src/game/mapitems.h: In member function »void CCollision::Init(CLayers*)«: | |
src/game/mapitems.h:83: Fehler: »unsigned char CTile::m_Index« ist privat | |
src/game/collision.cpp:31: Fehler: in diesem Zusammenhang | |
src/game/mapitems.h:83: Fehler: »unsigned char CTile::m_Index« ist privat | |
src/game/collision.cpp:39: Fehler: in diesem Zusammenhang | |
src/game/mapitems.h:83: Fehler: »unsigned char CTile::m_Index« ist privat | |
src/game/collision.cpp:42: Fehler: in diesem Zusammenhang | |
src/game/mapitems.h:83: Fehler: »unsigned char CTile::m_Index« ist privat |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/datasrc/content.py b/datasrc/content.py | |
index 7fe8f9b..988550d 100755 | |
--- a/datasrc/content.py | |
+++ b/datasrc/content.py | |
@@ -233,6 +233,7 @@ image_particles = Image("particles", "particles.png") | |
image_game = Image("game", "game.png") | |
image_browseicons = Image("browseicons", "browse_icons.png") | |
image_emoticons = Image("emoticons", "emoticons.png") | |
+image_demobuttons = Image("demobuttons", "demo_buttons.png") | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Program received signal SIGSEGV, Segmentation fault. | |
0x00369dd1 in _IO_vfprintf_internal (s=Cannot access memory at address 0xffffffff | |
) at vfprintf.c:1593 | |
1593 process_string_arg (((struct printf_spec *) NULL)); | |
(gdb) bt | |
#0 0x00369dd1 in _IO_vfprintf_internal (s=Cannot access memory at address 0xffffffff | |
) at vfprintf.c:1593 | |
#1 0x0038ede0 in _IO_vsnprintf (string=0xbfffe244 "ERROR: couldn't register interface 'n", maxlen=<value optimized out>, format=0x80d2c00 "ERROR: couldn't register interface '%s'. interface already exists", | |
args=0xbffff258 "@") at vsnprintf.c:120 | |
#2 0x0808ff82 in dbg_msg (sys=0x80d2bf7 "kernel", fmt=0x80d2c00 "ERROR: couldn't register interface '%s'. interface already exists") at src/base/system.c:100 |
NewerOlder