November 2018 1 20 Report
Napisz program który będzie zwierał dynamiczną tab 2 wymiarową, która będzie czytać liczby 0 - 100.
wprowadzenie liczb jest już zrobione
#include <cstdlib>#include <iostream>#include <new>

using namespace std;
int main(){
int w,k;
cout<<"podaj wymiar w :"<<endl;
cin>>w; cout<<"podaj wymiar k :"<<endl;
cin>>k;
int **wsk;
wsk=new int *[w];

for(int i=0;i<w;i++) { wsk[i]=new int [k]; }
More Questions From This User See All

Recommend Questions



Life Enjoy

" Life is not a problem to be solved but a reality to be experienced! "

Get in touch

Social

© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.