Deutsch
Telegram

Thread/cpp_gcc@rextester_bot

6 Nachrichten · –
    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. G
        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. G
        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.
CC++ vs PythonC++ vs Python@cpp_vs_python · Gruppe · Technik
114Mitglieder39 409Nachrichten im Index
Community-Feed In Telegram öffnen

Ein offener öffentlicher Feed aus dem Suchindex ChatCrawler — „Google für das öffentliche Telegram“; wird aktualisiert, während die Community gecrawlt wird. Zeiten in UTC.

Nur öffentliche Inhalte, offizielle Telegram-API. Über uns · FAQ · Grenzen des Index · Seite entfernen · Katalog · Suche · So zählen wir