Community Profile

photo

Shayne Albertson


Active since 2015

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


How can I create a battleship game board with a variable size as a char array so that I can edit certain elements of it?
So I have the user input the size of the board they want to play on and I figured out how to do it using for loops and fprintf s...

meer dan 8 jaar ago | 0 answers | 0

0

answers

Question


How can I clear all the variables except one before restarting my program?
Is there a way to clear all of the variables except one when I end a game I wrote so that the next time it starts the variables ...

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


How can I create a battleship game board with a variable size as a char array so that I can edit certain elements of it?
So I have the user input the size of the board they want to play on and I figured out how to do it using for loops and fprintf ...

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


How can I make a text file that I can edit after each time I run a program?
I want to print *to a text file* the name, score, and board size of the user once a user has completed a simple game I designed....

meer dan 8 jaar ago | 2 answers | 0

2

answers