User profile: whitenite1

User info
User name:whitenite1
History
Joined:
Number of posts:1103
Latest posts:

Extracting numbers from .txt file into array.
@BB2921 I compiled your code, and had file.txt in the source directory. It ran, and printed out. [...

Extracting numbers from .txt file into array.
@BB2921 Okay. But you should verify it is, by outputting the array after the reads, just to make su...

Extracting numbers from .txt file into array.
@BB2921 Your problem probably lies here. [code] if(file.is_open()) { for (int i = 0; i ...

dice roll simulator
@el rookie You could create an array of size 6, and initialize it to zeros. With each roll, increas...

Array Help
This is the only way I can see to use all three arrays. [code] // Card Deck.cpp : main project file...