26.04.2013, 15:30
Quote:
|
Right, I removed fclose, works same, you're right.
Well, that's true, I'm not returning 1 anywhere, but anyway that's his words.. "always return 0", alright, so I will change it to void then. Thanks for advice! edit:// Anyway, one of my tutors (he left) told me to do not use double slash (//) to comment one line. Because it's working only in C++ language. And we must use slash - star (/* .. */). He shout on me when I used double slash, to comment one line, he was really annoying, why we can't use it, if we have it? let's make life easier.. Thankfully he's gone. But as we see.. my tutors (all) doesn't have any clue about programming (because I trust you) |
And if a teacher is trying to force his way down your throat he's teaching wrong. It's better to give someone the tools nessercary and let them learn it themselves. (from my experience a lot of teachers don't know what they're talking about*)
*What I mean is that there are usally multiple ways to a goal and you should definitely experiment with other methods and not follow your teacher blindly only then will you learn to think outside the box.


