I am a really begginer in C++ and i need some help.
Here is the Execise:
Write a Function "uhrzeit". As parameters there should be given: Stunde, Minute and Sekunde.This tezt should be given in the dos shell:
Es ist <Stunde>:<Minute>:<Sekunde> Uhr.
It says also to create a call (erstelle einene aufruf) in the main function.
i made this but it doesnt work:
#include <iostream>
using namespace std;
void uhrzeit (int Stunde, int Minute, int Sekunde)
{
int zeit = 0;
cout << "Es ist" << Stunde << Minute << Sekunde << "Uhr." << endl;
return 0;
}
Id help but im not sure what you want this program to do?
you want stunde minute and seunde to be any particular number?
also what program are you using to compile this?
I for one am really curious as to why this keeps happening at this site. People who don't seem to have ever taken a C++ class or read past the first few chapters of a book all of a sudden need the simplest things done in 11 mins.
Hey Computergeek01,
I am sure that you werent born a computer specialist and I am 16 and I just started learning basics of Programming. And it would be better if oyu help like the others do and not write such stoff.
Thanks to everyone for the support!