# data[].attributes.body
#include <iostream> #include <fstream> #include <string> using namespace std; int main(){         int ogr;         cout<<"Kac ogrenci var: ";     cin >> ogr;         for(int i=0; i<ogr; i++)     {            ofstream dosya("gunluk.txt", ios::app);                 if(!dosya.is_open()){             cout << "Dosya Okunamadı!";             return 0;         }                 cout<<i+1<<". ogrencinin notu nedir: ";         string satir;         cin>>satir;         cout << "Kaydediliyor..."<<endl;         dosya <<i+1<<". ogrencinin notu: "<<satir << endl;         dosya.close();     } }

# data[].attributes.body
#include <iostream>
#include <cstring>
using namespace std;
int main()
{

string cumle = "Merhaba Deneyap!";
cout << "Mesaj:" << cumle;
}

# data[].attributes.body
#include <iostream>
#include <cstring>
using namespace std;
int main()
{

string cumle = "Merhaba Deneyap!";
cout << "Mesaj:" << cumle;
}

# data[].attributes.body
#include <iostream>

#include <cstring>

using namespace std;

int main()

{

string cumle = "Merhaba Deneyap!";

cout << "Mesaj:" << cumle;

}

# data[].attributes.body
#include <iostream>>
#include <cstring>
using namespace std;
int main()
{

string cumle = "Merhaba Deneyap!";
cout << "Mesaj:" << cumle;
}

# data[].attributes.body
#include <iostream>
#include <cstring>
using namespace std;
int main()
{
char str1[] = "Bugun hava 🤬 guzel.";
char str2[] = "Piknige gidelim.";
char str3[50];
int  uzunluk;

cout << "str1 katari: " << str1 << endl;
uzunluk = strlen(str1);
cout << "str1 katari uzunlugu: " << uzunluk << endl << endl;

cout << "str2 katari: " << str2 << endl;
uzunluk = strlen(str2);
cout << "str2 katari uzunlugu: " << uzunluk << endl << endl;

strcpy(str3, str1);
cout << "str3 katari: " << str3 << endl << endl;

strcat(str1, str2);
cout << "s1 katari: " << str1 << endl;

uzunluk = strlen(str1);
cout << "s1 katari uzunlugu: " << uzunluk << endl << endl;

if(strcmp(str1, str2)==0)
cout << "Iki katar birbirine esittir" << endl;
else
cout << "Iki katar birbirine esit değildir." << endl;

return 0;
}

# data[].attributes.body
#include <iostream>
#include <cstring>
using namespace std;

int main()
{
char str1[] = "Bugun hava 🤬 guzel.";
char str2[] = "Piknige gidelim.";
char str3[50];
int  uzunluk;

cout << "str1 katari: " << str1 << endl;
uzunluk = strlen(str1);
cout << "str1 katari uzunlugu: " << uzunluk << endl << endl;

cout << "str2 katari: " << str2 << endl;
uzunluk = strlen(str2);
cout << "str2 katari uzunlugu: " << uzunluk << endl << endl;

strcpy(str3, str1);
cout << "str3 katari: " << str3 << endl << endl;

strcat(str1, str2);
cout << "s1 katari: " << str1 << endl;

uzunluk = strlen(str1);
cout << "s1 katari uzunlugu: " << uzunluk << endl << endl;

if(strcmp(str1, str2)==0)
cout << "Iki katar birbirine esittir" << endl;
else
cout << "Iki katar birbirine esit değildir." << endl;

return 0;
}

# data[].attributes.body
#include <iostream>

#include <cstring>

using namespace std;

int main()

{

char str1[] = "Bugun hava 🤬 guzel.";

char str2[] = "Piknige gidelim.";

char str3[50];

int  uzunluk;

cout << "str1 katari: " << str1 << endl;

uzunluk = strlen(str1);

cout << "str1 katari uzunlugu: " << uzunluk << endl << endl;

cout << "str2 katari: " << str2 << endl;

uzunluk = strlen(str2);

cout << "str2 katari uzunlugu: " << uzunluk << endl << endl;

strcpy(str3, str1);

cout << "str3 katari: " << str3 << endl << endl;

strcat(str1, str2);

cout << "s1 katari: " << str1 << endl;

uzunluk = strlen(str1);

cout << "s1 katari uzunlugu: " << uzunluk << endl << endl;

if (strcmp(str1, str2)==0)

cout << "Iki katar birbirine esittir" << endl;

else

cout << "Iki katar birbirine esit değildir." << endl;

return 0;

}

# data[].attributes.body
#include <iostream>
#include <cstring>
using namespace std;

int main(){
char str1[] = "Bugun hava 🤬 guzel.";
char str2[] = "Piknige gidelim.";
char str3[50];
int  uzunluk;

cout << "str1 katari: " << str1 << endl;
uzunluk = strlen(str1);
cout << "str1 katari uzunlugu: " << uzunluk << endl << endl;

cout << "str2 katari: " << str2 << endl;
uzunluk = strlen(str2);
cout << "str2 katari uzunlugu: " << uzunluk << endl << endl;

strcpy(str3, str1);
cout << "str3 katari: " << str3 << endl << endl;

strcat(str1, str2);
cout << "s1 katari: " << str1 << endl;

uzunluk = strlen(str1);
cout << "s1 katari uzunlugu: " << uzunluk << endl << endl;

if(strcmp(str1, str3)==0)
cout << "Iki katar birbirine esittir" << endl;
else
cout << "Iki katar birbirine esit degildir." << endl;

return 0;

}

# data[].attributes.body
#include <iostream>
#include <cstring>
using namespace std;
int main()
{
char str1[] = "Bugun hava 🤬 guzel.";
char str2[] = "Piknige gidelim.";
char str3[50];
int  uzunluk;

cout << "str1 katari: " << str1 << endl;
uzunluk = strlen(str1);
cout << "str1 katari uzunlugu: " << uzunluk << endl << endl;

cout << "str2 katari: " << str2 << endl;
uzunluk = strlen(str2);
cout << "str2 katari uzunlugu: " << uzunluk << endl << endl;

strcpy(str3, str1);
cout << "str3 katari: " << str3 << endl << endl;

strcat(str1, str2);
cout << "s1 katari: " << str1 << endl;

uzunluk =strlen(str1);
cout << "s1 katari uzunlugu: " << uzunluk << endl << endl;

if(strcmp==0)
cout << "Iki katar birbirine esittir" << endl;
else
cout << "Iki katar birbirine esit değildir." << endl;

return 0;
}