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
using UnityEngine; | |
public class KeyboardIsometric : MonoBehaviour | |
{ | |
public float speed = 29.0F; | |
public float rotationSpeed = 100.0F; | |
public GameObject target; | |
public bool isController = false; | |
void Update() { |
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> | |
#include <string> | |
using namespace std; | |
void fac(int n) | |
{ | |
int ret = 1; | |
for(int i=1; i < (n+1); i++) | |
{ |
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
// Blatt12.2.cpp : Definiert den Einstiegspunkt für die Konsolenanwendung. | |
// | |
#include "stdafx.h" // unter linux einfach entfernen | |
#include <iostream> | |
#include <string> | |
#include <algorithm> | |
#include <vector> | |
#include <utility> | |
#include <set> |
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 <string> | |
using namespace std; | |
#ifndef MEDIUM_H | |
#define MEDIUM_H | |
class Medium | |
{ | |
public: | |
string titel; | |
bool ausleihstatus; |
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 a; | |
int b; | |
void max(int a, int b){ | |
if(a > b){ | |
cout << "a größer b" << endl; | |
} |
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
/* | |
* | |
* Super Duper Copyright by Jul Foi, do not cropy | |
*/ | |
// win_visdata.cpp : Definiert den Einstiegspunkt für die Konsolenanwendung. | |
// | |
#include "stdafx.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
void teiler(int x){ | |
int i=1; | |
while(i<=x){ | |
if(x%i==0){cout << i; i++} | |
else{i++;} | |
} | |
} | |
int main(){ | |
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
#ifndef COMPLEX_H_INCLUDED | |
#define COMPLEX_H_INCLUDED | |
struct ComplexNumber{ | |
double realPart; | |
double imaginaryPart; | |
ComplexNumber operator+(ComplexNumber k) | |
{ | |
this.realPart += k.realPart; |
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
var sys = require('sys'); | |
var express = require('express') | |
, passport = require('passport') | |
, util = require('util') | |
, TwitterStrategy = require('passport-twitter').Strategy | |
, RedisStore = require('connect-redis') (express); | |
var https = require('https'); | |
var oauth = require('oauth').OAuth; | |
var TWITTER_CONSUMER_KEY = "LJgg"; | |
var TWITTER_CONSUMER_SECRET = "0Q7vE"; |
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; | |
double t() | |
{ | |
double a; | |
return a; // fehler, a wurde zwar initialisiert aber nicht deklariert also es wurde kein wert zugewiesen | |
} | |
// was du eigentlich wolltest |