By using gets() with C in xCode, I always have to read, that I'm using an unsafe function. I know that it is unsafe and i don't want to use a different function (at university they told us to do so).
xCode wouldn't compile my code for me, so that ist works completly. There's no mistake in the code, because it works fine in VisualStudio.
My question is, how do I tell xCode that I want to have compiled my code, no matter wether gets is unsafe or not?
Here is it (sorry there are many german words in it^):
BTW: I want to use my new MacBookAir in University, I really like xCode and don't want to install Parallels or somthing, so please don't tell me to install ann Microsoft software.
xCode wouldn't compile my code for me, so that ist works completly. There's no mistake in the code, because it works fine in VisualStudio.
My question is, how do I tell xCode that I want to have compiled my code, no matter wether gets is unsafe or not?
Here is it (sorry there are many german words in it^):
BTW: I want to use my new MacBookAir in University, I really like xCode and don't want to install Parallels or somthing, so please don't tell me to install ann Microsoft software.