Hey, I came up with this crazy idea... i want to learn to speak Danish.
I thought that by using a program I could teach myself the first thousand most commonly used wrords. The problem I'm having is assinging variables
to strings.
I understand a string is basically an array of characters... here's
what I first came up with...
char danWords[200][64],engWords[200][64];
//for loop i1 to 200
danwords[i]="lyserød";
engwords[i]="pink";
I knew the above wouldn't work, but I needed a starting point. I wound
up here, stumped...
char danWords[200][64],engWords[200][64];
//for loop i 1 to 200
scanf("lyserød",&danwords[i]);
scanf("pink",&engWords[i]);
How would you do this? Thanks!
Sysop: | MCMLXXIX |
---|---|
Location: | Prospect, CT |
Users: | 325 |
Nodes: | 10 (0 / 10) |
Uptime: | 254:02:29 |
Calls: | 508 |
Messages: | 219919 |