English
Open in Telegram

Thread/cpp_gcc@rextester_bot

6 messages · –
    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. D
        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. D
        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 · group · Tech
114members39 409messages in the index
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count