Go Back   Flash Flash Revolution > General Discussion > Critical Thinking > Homework & Help

Reply
 
Thread Tools Display Modes
Old 09-11-2015, 06:48 AM   #1
AutotelicBrown
Under the scarlet moon
FFR Simfile AuthorD7 Elite KeysmasherFFR Veteran
 
AutotelicBrown's Avatar
 
Join Date: Jan 2014
Age: 33
Posts: 923
Default Re: [University - C++ Programming] Filling an Array with RNG & Display Contents

You clearly have no idea how functions work. About actually using the function you need to know the relationship between arrays and pointers.

Have a nice read.

EDIT: The random values initialization part and printing is correct.

Last edited by AutotelicBrown; 09-11-2015 at 06:53 AM..
AutotelicBrown is offline   Reply With Quote
Old 09-11-2015, 07:06 AM   #2
sickufully
Sir Krisk
FFR Veteran
 
sickufully's Avatar
 
Join Date: Dec 2007
Location: Vic, Australia
Posts: 930
Default Re: [University - C++ Programming] Filling an Array with RNG & Display Contents

Quote:
Originally Posted by AutotelicBrown View Post
You clearly have no idea how functions work. About actually using the function you need to know the relationship between arrays and pointers.

Have a nice read.

EDIT: The random values initialization part and printing is correct.
I understand how they work in the most basic terms possible (like the very first example given on the page you linked) but anything outside of that I struggle to comprehend. I've only been studying this for about 6 weeks among other subjects and I'm finding it REALLY difficult. There's just nothing clicking into place in my head so I'm constantly re-reading information about basic terms.

Appreciate the links and the feedback on the RNG. I'll have a thorough read and get back to this thread when I'm completely stuck again.
__________________
sickufully is offline   Reply With Quote
Old 09-11-2015, 11:13 PM   #3
FoJaR
The Worst
 
FoJaR's Avatar
 
Join Date: Nov 2005
Location: space ghost is dead to me
Posts: 2,816
Send a message via AIM to FoJaR Send a message via MSN to FoJaR
Default Re: [University - C++ Programming] Filling an Array with RNG & Display Contents

generic mockery about rand being garbage even though it doesnt matter at all in this case.
__________________
FoJaR is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 09:29 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright FlashFlashRevolution