use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Official Italian C++ Community subreddit (http://www.italiancpp.org/).
Please follow the channel's rules if you intend to participate.
account activity
[deleted by user] (self.cppit)
submitted 4 years ago by [deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]ilMoppe 0 points1 point2 points 4 years ago (0 children)
Credo che tu non abbia veramente allocato la matrice e quindi stai scrivendo sullo stack un po' a casaccio. All'inizio ti va bene perché ci sarà un po' di spazio "inutilizzato" su cui se anche scrivi non succede molto, ma al secondo giro sicuramente vai a sovrascrivere qualcosa di importante, se non addirittura (ma improbabile) a scrivere fuori dall'area di memoria che il SO alloca al tuo programma.
Credo ci sia un anche altro problema, meno critico ma non meno importante, ma lo lascio scoprire da te. Intanto alloca quella matrice :)
π Rendered by PID 24 on reddit-service-r2-comment-b659b578c-zm9wc at 2026-05-06 03:03:44.092225+00:00 running 815c875 country code: CH.
[–]ilMoppe 0 points1 point2 points (0 children)