User profile: Darkmaster

User info
User name:Darkmaster
History
Joined:
Number of posts:540
Latest posts:

opening file
read this: http://www.cplusplus.com/doc/tutorial/files/

generate random numbers
for rnd numbers in the range of a to b, do: rand()%(b-a)+a; yours looks correct, but i would just u...

To mark both smallest and largest element
[code]#include <iostream> int main() { const int CAPACITY = 1000; double values[CAPACITY]; int ...

final exam - please help whats the output/answer of this prob.
just use a debugger and run through the loops

To mark both smallest and largest element
tried to keep the idea of your code. however i'd write it different :) [code] #include <iostream> ...