Thread: Concerning gets() and fgets()

  1. #16
    Registered User
    Join Date
    Jul 2007
    Posts
    151
    Thank you citizen , of course that helps . But really , I know my self , and I can't stand when people compare my intelligence with other people without knowing me personally. Yea the guys from ANSI C labaratories are probably really smart. But I am at the beginning of that road.And so anyone could not know if I would be better or worse. So that is the way I am. After I failed , I think I can stand all predictions about me . Anyway , I am sorry , I overeacted. And like I Said , of course I know fgets is safer than gets . I just use gets when I know how long I declared my string , so I dont enter longer inputs when I am trying my program. If I do , It will be off. I do not question the safety difference between gets and fgets. The reason of my overreacting was that teaching attitude towards everything I say. And again godd , what is with that FAQ , I know they are there, and I tried to explain many times that I know gets is bad and I know why gets is bad and also I said I never need one to tell that to me , in any other way I couldnt think to be precious brain for the world. So that was my concern. Thank you for not deleting and moving it somehow. Take care . I am also glad I am not banned , here looks like a good place to ask some questions... Good work on the site..

  2. #17
    Registered User
    Join Date
    Jul 2007
    Posts
    151
    And also I really wonder , what do people do of this site for example you citizen. I dont want personal knowledge. I just wonder if the people answering these questions are from university our after graduate , or professional programmers or anything??

  3. #18
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    We have professionals, students, idiots, trolls, and fine souls. Pretty much a mixed bag as far as knowledge or experience goes. It's a well-rounded place, but get to know and trust the moderators especially. If they answer something it's usually very correct.

  4. #19
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    I can't stand when people compare my intelligence with other people without knowing me personally
    Actually, citizen, being a Perfect Gentleman, included himself in the comparison "Smarter" here is not so much about being more intelligent in general, but about having more expertise in this area.

    I know gets is bad and I know why gets is bad and also I said I never need one to tell that to me
    Yes, but remember that others may need you to tell them, and as such you should not suggest to them something you know to be 'bad' unless you want to give ample warning. It is usually simpler to just suggest something that is 'good'.

    Thank you for not deleting and moving it somehow.
    This thread has served its purpose, i.e., to clarify that you know gets() vs fgets() and hopefully will make suggestions to others accordingly.

    I just wonder if the people answering these questions are from university our after graduate , or professional programmers or anything?
    Questions pertaining to the composition of the group of users who answer questions should be posed in General Discussions. That said, I can tell you that the answer is all of the above.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  5. #20
    Registered User
    Join Date
    Jul 2007
    Posts
    151
    Thank you again , and sorry again for being such a raging barbarian around. I wasnt like that normally , somehow I changed a little bit on that topic. I think I have gained a level and I don't know which skill to raise , and this actually justify that you have some trolls here , I must have killed one. (Playing too much frp :S)
    And I forgot to add. I know he is being a perfect gentlemen by adding himself in the comparison. But you know that kind of people who says like this:

    "maannn they are so smarter than us , we can never be there"...

    I stopped being around people saying those comparison and discouraging things. That is why I am raging at all. You can never know if a villager who is just hoeing the soil is much smarter than me. That is my point...
    Last edited by ozumsafa; 07-19-2007 at 05:27 AM.

  6. #21
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Thank you again
    No worries. Do not be discouraged from helping where you can. Just do your best not to give faulty advice.

    *thread closed*
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed