C
call_me_anything
Is char [5:0] abc
different from
char abc [5:0] ?
different from
char abc [5:0] ?
Is char [5:0] abc
different from
char abc [5:0] ?
Is char [5:0] abcdifferent fromchar abc [5:0] ?
Yes, but non of it is C++.
This is like saying that a Ph.D. student cannot solve a high schoolIs char [5:0] abcdifferent fromchar abc [5:0] ?
Yes, but non of it is C++.
problem. Come on dude! You can tell the answer if you know it.
I am sure many C++
programmers also wouldn't be knowing the difference either.
And if it makes you happy, here is another version of the same problem :
Class foo;
Is foo [5:0] abc;
different from
foo abc [5:0];
call_me_anything said:Come on dude! You can tell the answer if you know it.
I am sure many C++ programmers also wouldn't be knowing the difference
either.
And if it makes you happy, here is another version of the same
problem :
Class foo;
Is foo [5:0] abc;
different from
foo abc [5:0];
Yes, but non of it is C++.Is char [5:0] abc
different from
char abc [5:0] ?
> This is like saying that a Ph.D. student cannot solve a high school
> problem.
> Come on dude! You can tell the answer if you know it.
> I am sure many C++ programmers also wouldn't be knowing the difference
> either.
>
> And if it makes you happy, here is another version of the same
> problem :
>
> Class foo;
> Is foo [5:0] abc;
> different from
> foo abc [5:0];
Is char [5:0] abcdifferent fromchar abc [5:0] ?
Yes, but non of it is C++.
call_me_anything said:This is like saying that a Ph.D. student cannot solve a high school
problem.
Come on dude! You can tell the answer if you know it.
I am sure many C++ programmers also wouldn't be knowing the difference
either.
And if it makes you happy, here is another version of the same
problem :
Class foo;
Is foo [5:0] abc;
different from
foo abc [5:0];
2) In your language, two snippets like the above are 'different' if the
<snip>characters of either snippet are not a permutation of those of the other.
In that case, the answer to your question is 'no', since either snippet in
the above could be transformed into the other by permuting its characters.
HTH,
Stu
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.