English
Open in Telegram
CC++ vs Python
C++ vs Python
@cpp_vs_python · group · Tech · indexed since 2026-08-18 30 March 2022
114members
39 409messages in the index

Messages on 30 March 2022

2022-03-30×
30 March 2022
A
Photo
click to show
Assalomu aleykum Mana shu kodni qayerida xato bor aytib yuboriylar iltimos
  1. C
    buni kompyuter bilan yozib koʻrish kerak 1 ta kutubxonani tanimayapti
Whole thread · 4 replies →
    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.
Whole thread · 5 replies →
Whole thread · 1 reply →
Whole thread · 1 reply →
Whole thread · 1 reply →

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