Hey, ich hab mich mal drum gekümmert!
Hab en Quellcode der geht!
Hier bitte:
// Net send - Programm
// by Hardscore
#include <iostream>
#include <string>
#include <stdio.h>
#include <conio.h>
using namespace std;
void fEinfuehrung()
{
cout << "Net - send Programm..." << endl;
cout << "by Hardscore (2004)" << endl;
}
void fComputername()
{
string vstringComputername; // HINTER der {
cout << "An welchen Computer soll eine Nachricht verschickt werden...? (COMPUTERNAME): " << endl;
cin >> vstringComputername;
}
void fNachricht()
{
string vstringNachricht;
printf ("Nachricht: ");
cin >> vstringNachricht;
}
void fAnzahl()
// Wie oft soll die Nachricht verschickt werden...
{
int vintAnzahl;
printf ("Wie oft soll die Nachricht verschickt werden...?");
cout << "Anzahl: ";
cin >> vintAnzahl;
}
int main()
{
double vintWieoftnoch;
vintWieoftnoch = 1;
// Jetzt werden alle zuvor definierten Funktionen aufgerufen...
fEinfuehrung();
fComputername();
fNachricht();
fAnzahl();
}
Viel Spass noch!
MFG "kaitec"(r) and "The Black-Hacker's"(r)