Gracias!
Type: Posts; User: dantegl36
Gracias!
Got a question. Can the switch-case statement be used with characters(char) inputs?
code:
switch (choice)
{
case ('A'||'a'):
break;
You guys are the absolute it! Thanks a million! Final code that worked like a charm:
int main()
{
int i, j, x, y, m[100], n, z;
FILE *infpt;
int b[MAX][MAX];
Thanks again for the prompt replies. Ok I changed things around some things around again:
int main()
{
int i, j, x, y;
FILE *infpt;
malloc I assume means memory allocation right? the stdlib.h library is new to me and never taught so all of the functions from it are new to me. Might there be another way of doing this? Sorry.
Thanks for the fast reply. No go on that display is on the last printf line is:
[2 3] = 0.000000
I'm reading trough old thread and trying different things as we speak. Thanks for posting back so...
I working on this problem and it's beginning to drive me crazy. I need to read from a data file the first line of the file are the dimensions of the array:
2 3
1 2 3
4 5 6
the second and third...