Article View: pl.comp.lang.c
Article #200Re: dynamiczne tablice wielowymiarowe
From: Witold Przygoda
Date: Fri, 31 Oct 1997 19:41
Date: Fri, 31 Oct 1997 19:41
22 lines
984 bytes
984 bytes
Dobra, na to pytanie juz sobie odpowiedzialem... >owaZmienna = new int[n][5]; > >Gdyby bylo 1-wymiarowe to by bylo po prostu > >int *owaZmienna; >owaZmienna = new int[n]; > >A jak w powyzszym? To jakos tak... int **owaZmienna; owaZmienna = new (int*)[5]; for (int i=0; i<5; i++) owaZmienna[i] = new int[n]; wp
Technical Details
Message-ID:
<34643383.136727859@news.uci.agh.edu.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!uw.edu.pl!news.icm.edu.pl!uucp-gw.cyf.gov.pl!polsl.gliwice.pl!agh.edu.pl!not-for-mailReferences:
<34631720.129460531@news.uci.agh.edu.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!uw.edu.pl!news.icm.edu.pl!uucp-gw.cyf.gov.pl!polsl.gliwice.pl!agh.edu.pl!not-for-mail From: wp@cyberdude.com (Witold Przygoda) Newsgroups: pl.comp.lang.c Subject: Re: dynamiczne tablice wielowymiarowe Date: Fri, 31 Oct 1997 19:41:42 GMT Organization: University of Mining & Metallurgy Lines: 22 Message-ID: <34643383.136727859@news.uci.agh.edu.pl> References: <34631720.129460531@news.uci.agh.edu.pl> NNTP-Posting-Host: wfr001.gsi.de Mime-Version: 1.0 X-Newsreader: Forte Agent 1.5/32.451 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit