Українська
Відкрити в Telegram

Гілка /cpp_gcc@rextester_bot

6 повідомлень · –
    1. C
      #include <bits/stdc++.h> #include "stdafx.h" using namespace System; using namespace std; namespace Vectorlar{ int max, index; void set_Vector(std::vector<int> &A, int n)} for(int i=0; i<n; i++){ int m; cout<<i+1<<" son: "; cin>>m; A.push_back(m); if(A[i]<0){ max= A[i];}} } void get_Vector(std::vector<int> &A, int n){ cout<<"Toʻplam elementlari"<<endl; for(int k:A){ std::cout<<k<<" "; } cout<<endl; } void Max_Vector(std::vector<int> &A, int n){ for(int i=0; i<n; i++){ max=A[i]; index=i;}} cout<<"Max = "<<max<<endl; } void Delete_Max_Vector(std::vector<int> &A){ A.erase(A.begin()+index);}} int main(){ cout<<"Berilgan"<<endl; int n; cin>>n; Vectorlar::set_Vector(A,n); Vectorlar::get_Vector(A,n); Vectorlar::Max_Vectorlar(A,n); Vectorlar::Delete_Max_Vector(A); Vectorlar::get_Vector(A,n); getchar(); }
      1. В
        Errors: 1202755351/source.cpp:1:10: fatal error: stdafx.h: No such file or directory #include "stdafx.h" ^~~~~~~~~~ compilation terminated. Tip: Mistake? Edit your message, I'll adjust my response.
      2. В
        Errors: 148898234/source.cpp:2:10: fatal error: stdafx.h: No such file or directory #include "stdafx.h" ^~~~~~~~~~ compilation terminated. Tip: Mistake? Edit your message, I'll adjust my response.

Відкрита публічна стрічка з пошукового індексу ChatCrawler — «Google по публічному Telegram»; оновлюється в міру обходу майданчика. Час — UTC.

Лише публічний контент, офіційний API Telegram. Про проєкт · Питання · Межі індексу · Прибрати сторінку з видачі · Каталог · Пошук · Як ми рахуємо