[so] [Tema1][Windows][Eroare Compilare]

Cosmin Dragomir cosmin.gabriel.dragomir at gmail.com
Mon Mar 7 23:06:22 EET 2016


Salut,

Cred ca ai problema asta [1], care s-ar rezolva daca ai pune toate
declararile de variabile la inceputul blocurilor. Compilatorul utilizat de
Visual Studio foloseste standardul C89.

[1]
http://stackoverflow.com/questions/15697190/error-c2143-syntax-error-missing-before-type

Spor,
Cosmin Dragomir



2016-03-07 22:45 GMT+02:00 Mihai Catalin Arsenescu via so <
so at cursuri.cs.pub.ro>:

> Hello! Pe vmchecker imi compileaza tema si trec majoritatea testelor
> pe linux. Cand incerc pe windows imi da multe erori printre care
>
> tema1.c(20) : error C2143: syntax error : missing ';' before 'type'
> tema1.c(21) : error C2143: syntax error : missing ';' before 'const'
> tema1.c(22) : error C2143: syntax error : missing ';' before 'type'
>
> Ma puteti ajuta cu o idee?
>
> Multumesc,
>
> Mihai-Catalin Arsenescu
> _______________________________________________
> http://ocw.cs.pub.ro/courses/so/info/lista-discutii
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20160307/73dd8ebf/attachment.html>


More information about the so mailing list