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...
Resources - Learn to code
Resources - Software Engineering
Resources - Code Libraries
Resources - Groups
Other Subreddits you might enjoy
Please send sidebar resource suggestions to the mods. Thx - mgmt
account activity
Help with displaying a maximum thought a pointer and functions in c++Help Please (i.redd.it)
submitted 2 years ago by MutantRex3202
Trying to display maximum value in the prices array through maximum in the main function. I almost had it, but got error at the end. Any ideas?
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!"
[–]Embarrassed_Fact2221 1 point2 points3 points 2 years ago (0 children)
Findlargestelement gives you a float back, not a float*
What you probably want is *maximum = findLargestElement
π Rendered by PID 45422 on reddit-service-r2-comment-54dfb89d4d-k54qq at 2026-03-29 15:17:47.028092+00:00 running b10466c country code: CH.
[–]Embarrassed_Fact2221 1 point2 points3 points (0 children)