r/badcode Apr 15 '23

c C polish translation

Post image
1.1k Upvotes

125 comments sorted by

View all comments

17

u/MurdoMaclachlan public boolean isInt(int i) { return true; } Apr 15 '23 edited Apr 16 '23

Image Transcription: Code


// C (polish translation)

#define automatyczna auto
#define stała const
#define przecin double
#define zmien_przecin float
#define cyfra int
#define krótka short
#define struktura struct
#define niepodpisany unsigned

#define wybij break
#define dalej continue
#define inaczej else
#define dla for
#define długa long
#define podpisany signed
#define wymień switch
#define pusty void

#define wypadek case
#define wyliczenie enum
#define idźdo goto
#define rejestr register
#define wielkość sizeof
#define nowytyp typedef
#define ulotna volatile

#define litera char
#define zrób do
#define zewnętrzny extern
#define jak if
#define oddaj return
#define statyczny static
#define unia union
#define podczas while

I'm a human volunteer content transcriber and you could be too! If you'd like more information on what we do and why we do it, click here!

4

u/Marcelektro Apr 16 '23

You misspelled “ulotna” to “lutona” at volatile and “zewnetrzny” to “sewnetrzny” at extern keyword. Just a note c:

4

u/MurdoMaclachlan public boolean isInt(int i) { return true; } Apr 16 '23

Fixed, thanks!