Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test] CMinus code example2. #19

Open
Sh-Zh-7 opened this issue Jun 14, 2021 · 1 comment
Open

[test] CMinus code example2. #19

Sh-Zh-7 opened this issue Jun 14, 2021 · 1 comment
Labels
code CMinus code test.

Comments

@Sh-Zh-7
Copy link
Owner

Sh-Zh-7 commented Jun 14, 2021

int main()
{
    float a[10][2];
    int i;
    a[5, 3] = 1.5;
    if (a[1][2] == 0) i = 1 else i = 2;
}
@Sh-Zh-7 Sh-Zh-7 added the code CMinus code test. label Jun 14, 2021
@github-actions
Copy link

Compile failed. The error(s) is(are):

Error type B at Line 5: mismatched input ',' expecting ']'
Error type B at Line 6: mismatched input 'else' expecting ';'

@github-actions github-actions bot locked as off-topic and limited conversation to collaborators Jun 14, 2021
@Sh-Zh-7 Sh-Zh-7 pinned this issue Jun 14, 2021
@Sh-Zh-7 Sh-Zh-7 unpinned this issue Jun 14, 2021
@Sh-Zh-7 Sh-Zh-7 pinned this issue Jun 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
code CMinus code test.
Projects
None yet
Development

No branches or pull requests

1 participant