photo

Chris


Actif depuis 2011

Followers: 0   Following: 0

Message

Statistiques

  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

Question


Splitting into function files
clear clc fid = fopen('hangman.txt','r'); if fid < 0, error('Cannot open file'); end data = textscan(fid,'%...

plus de 12 ans il y a | 4 réponses | 0

4

réponses

Question


display+string
clear clc fid = fopen('hangman.txt','r'); if fid < 0, error('Cannot open file'); end data = textscan(fid,'%s'); da...

plus de 12 ans il y a | 1 réponse | 0

1

réponse

Question


strings, while loop help
clear; clc; fid = fopen('hangman.txt','r'); if fid < 0, error('Cannot open file'); end data = textscan(fid,'%s'); data =...

plus de 12 ans il y a | 2 réponses | 0

2

réponses

Question


String and display help
clear all clc fid = fopen('hangman.txt', 'r'); if fid < 0, error('Cannot open file.'); end CC = textscan(fid, '%s'); C ...

plus de 12 ans il y a | 2 réponses | 1

2

réponses

Question


String help!?
fid = fopen('hangman.txt', 'r'); if fid < 0, error('Cannot open file.'); end CC = textscan(fid, '%s'); C = CC{1}; fclose(...

plus de 12 ans il y a | 2 réponses | 0

2

réponses

Question


String function
Trying to get the program to display if the letter is in the word. And word = any word fid = fopen('hangman.txt', 'r'); ...

plus de 12 ans il y a | 1 réponse | 0

1

réponse

Question


display help
I'm trying to create a program that plays a hangman game. So, how would I go about replacing the letters in the word with asteri...

plus de 12 ans il y a | 1 réponse | 0

1

réponse

Question


Hangman game help
Quick briefing. I'm trying to create a program that will simulate a hangman game. My professor already gave me a list of words ...

plus de 12 ans il y a | 1 réponse | 0

1

réponse

Question


Random function from a text file?
Basically, I have a text file with a bunch of words on it. I'm not sure how I can use MATLAB to randomly select one word.

plus de 12 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
Index exceeds matrix dimensions
Thanks for the advice guys.

plus de 12 ans il y a | 0

Question


Index exceeds matrix dimensions
clear clc count_eight=0; clear clc count_eight=0; RandStream.setDefaultStream = (RandStream('mt19937ar...

plus de 12 ans il y a | 3 réponses | 0

3

réponses