Συντονιστής: konnn


elefher έγραψε:το προγραμμα το εκανα με cin>> αλλα δεν δουλευει σωστα
#include <iostream>
int main()
{
char buffer[80] = {‘\0’};
std::cout << "Enter the string: ";
std::cin >> buffer;
std::cout << "Here’s the buffer: " << buffer << std::endl;
return 0;
}
Enter the string: Hello World
Here’s the buffer: Hello
#include <iostream>
int main()
{
char buffer[80] = {'\0'};
std::cout << "Enter the string: ";
std::cin.get(buffer,79);
std::cout << "Here's the buffer: " << buffer << std::endl;
return 0;
}



elefher έγραψε:Ποιο ειναι ποιο ευκολο στη χρησει?Με ποιο δημιουργεις ποιο ευκολα project?Οι εντολες σε ολα τα προγραμματα ιδιες δεν ειναι?

