User profile: DeathLeap

User info
User name:DeathLeap
Number of posts:180
Latest posts:

2d Array in function?
This is how you pass a 2D array to a function. [code] int array[10][10]; void passFunc(int a[][10])...

Generating Random Numbers
Here is a modern c++ approach. [code] #include <iostream> #include <random> int main() { std::ran...

how to make array from elements inside another array

Need help with input file.
Your file name is adujustFile, but what's the extension of the file? is it .txt? or is it .dat? You ...

Help with goto statement
You can use a while loop to do that. You would use it as the following: [code] #include <iostream>...