A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: Function create_function() is deprecated

Filename: geshi/geshi.php

Line Number: 4751

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/Jenja/www/mcpaste.de/www/system/core/Exceptions.php:272)

Filename: view/download.php

Line Number: 2

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/Jenja/www/mcpaste.de/www/system/core/Exceptions.php:272)

Filename: view/download.php

Line Number: 3

#include "ComplexNumber.h" #include #include using namespace std; void addition(void){ cout << "Complexe Zahlen erstellen: " << endl << "Erste Zahl: " << endl; float x, y; cin >> x >> y; ComplexNumber c1(x, y); cout << "Zweite Zahl: " << endl; cin >> x >> y; ComplexNumber c2(x, y); ComplexNumber *c3 = new ComplexNumber(); c3 = c1 + c2; c3->browse(); system("pause"); } void sub(void){ cout << "Complexe Zahlen erstellen: " << endl << "Erste Zahl: " << endl; float x, y; cin >> x >> y; ComplexNumber c1(x, y); cout << "Zweite Zahl: " << endl; cin >> x >> y; ComplexNumber c2(x, y); ComplexNumber *c3 = new ComplexNumber(); c3 = c1 - c2; c3->browse(); system("pause"); } void mul(void){ cout << "Complexe Zahlen erstellen: " << endl << "Erste Zahl: " << endl; float x, y; cin >> x >> y; ComplexNumber c1(x, y); cout << "Zweite Zahl: " << endl; cin >> x >> y; ComplexNumber c2(x, y); ComplexNumber *c3 = new ComplexNumber(); c3 = c1 * c2; c3->browse(); system("pause"); } void div(void){ cout << "Complexe Zahlen erstellen: " << endl << "Erste Zahl: " << endl; float x, y; cin >> x >> y; ComplexNumber c1(x, y); cout << "Zweite Zahl: " << endl; cin >> x >> y; ComplexNumber c2(x, y); ComplexNumber *c3 = new ComplexNumber(); c3 = c1 / c2; c3->browse(); system("pause"); } void kon(void){ cout << "Complexe Zahl erstellen: " << endl; float x, y; cin >> x >> y; ComplexNumber c1(x, y); c1.konjug(); c1.browse(); system("pause"); } int main(){ while (true) { cout << "Komplexe ZahlenMenu: " << endl; cout << "1 Addition" << endl; cout << "2 Subtraktion" << endl; cout << "3 Multiplikation" << endl; cout << "4 Division" << endl; cout << "5 Konjunguieren" << endl; string buffer; getline(cin, buffer); switch (atoi(buffer.c_str())) { case 1: addition(); break; case 2: sub(); break; case 3: mul(); break; case 4: div(); break; case 5: kon(); break; default: cout << "Falsche Eingabe." << endl; system("pause"); break; } system("cls"); cin.ignore(); } }

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876