Skip to content

Instantly share code, notes, and snippets.

View larsXYZ's full-sized avatar

Lars larsXYZ

View GitHub Profile
#include <iostream>
#include "matrix.h"
int main(){
matrixObject A(10,10, 0);
std::cout << A.matrix[5][5] << std::endl;
@larsXYZ
larsXYZ / Source.cpp
Last active August 10, 2016 15:17
Problem example
#include "parent.h"
#include <iostream>
int main()
{
parent Eric;
Eric.children.push_back(child());
Eric.children.push_back(child());
Eric.children.push_back(child());
Eric.children.push_back(child());
#include <SFML\Graphics.hpp>
#include <SFML\Main.hpp>
#include <SFML\Window.hpp>
#include <SFML\System.hpp>
int main()
{
sf::RenderWindow window;
sf::Event event;
const int LIGHT_NUMBER_OF_VERTECES = 25;
#include <SFML\Graphics.hpp>
#include <SFML\Main.hpp>
#include <SFML\Window.hpp>
#include <SFML\System.hpp>
int main()
{
sf::RenderWindow window;
sf::Event event;
const int LIGHT_NUMBER_OF_VERTECES = 25;