Thread: How to use the data obtain in one C file to another C file?

  1. #16
    Fountain of knowledge.
    Join Date
    May 2006
    Posts
    794
    Quote Originally Posted by Elysia View Post
    I think it is because you spam your stupid code everywhere and everyone complains on it and you do nothing to fix it, unlike others who actually admits their faults and try to correct their code.
    Your code is so poor in our eyes that you actually do more harm than good teaching it to newbies.

    I really don't mind my reply was deletes as long as I don't have to see your code in the thread, so that I don't have to go out of the way to tell everyone, or at the very least, the OP, that they should ignore your code because it's so poorly written.

    I think the OP has a mind of their own and is capable of making their own decisions.
    I doubt they hold those who deny them that right in very high esteem.
    I certaintly don't.

    The trouble is that your eyes are stuck too far up your own rear ends.

    In my eyes you are pathetic individuals.

    But deep down I think you know that anyway. - don't we all.

  2. #17
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by esbo View Post
    I think the OP has a mind of their own and is capable of making their own decisions.
    No, they don't. That's why they are newbies. They come here, expecting help because they aren't professional programmers. They don't know the difference between your poor code and our better code.

    I doubt they hold those who deny them that right in very high esteem.
    I certaintly don't.
    That's you.
    We do not deny them. We protect them from poor code since we actually believe in writing safe code with good practices and portable code too.
    Your code is nothing but bad practice.

    I dare you to write C++ code sometimes. I bet you'll get 1000+ errors in your code.

    The trouble is that your eyes are stuck too far up your own rear ends.
    It's the other way around. You never listen to a word we say. I think it's you who are stuck up.

    In my eyes you are pathetic individuals.
    In my eyes, you are pathetic.
    I listen to other's advice and I admit mistakes. You don't.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #18
    The larch
    Join Date
    May 2006
    Posts
    3,573
    esbo, please stop stealing other people's threads. If you have problems with how you are treated here, complain privately to moderators or start your own thread in general discussion.
    I might be wrong.

    Thank you, anon. You sure know how to recognize different types of trees from quite a long way away.
    Quoted more than 1000 times (I hope).

  4. #19
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,666
    Well I've had ENOUGH
    Esbo is on a timeout.
    If someone cares enough to PM me a convincing reason for not making this a permanent ban, they're welcome to try.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  5. #20
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    I note you were unable to supply a reason.
    That is correct, as I was rushing for time to go out for an appointment.

    Seems like censorship to me.
    That is correct. You should live in Singapore more often, you will get used to it.

    Did you ask the origanal poster if they would like responses censored?
    No, since I am a moderator.

    I guess you know everything and are faultless.
    That is correct.

    Well there is your first fault.
    Since I am faultless, you are wrong.

    Jokes aside, an official reason why esbo's and Elysia's posts were removed is that esbo's post was out of point, since it claimed to be a solution but was not, and was also repeated from a previous post, despite criticism from this community. It contained a number of poor programming practices including indiscriminate inclusion of headers, inappropriate use of global variables, failure to declare a void return type for functions that do not return a value, poor programming interface design, and inconsistent indentation of code. Elysia's post was deleted as it would not make sense for it to remain when esbo's post was deleted.
    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

  6. #21
    Registered User
    Join Date
    Oct 2007
    Posts
    17
    Well, besides this, any idea to help newbie on my problem?
    Thanks.

  7. #22
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    You were given a number of suggestions on how to fix this. Do they not work for you?
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Data Structure Eror
    By prominababy in forum C Programming
    Replies: 3
    Last Post: 01-06-2009, 09:35 AM
  2. Replies: 48
    Last Post: 09-26-2008, 03:45 AM
  3. Bitmasking Problem
    By mike_g in forum C++ Programming
    Replies: 13
    Last Post: 11-08-2007, 12:24 AM
  4. Writing and modifying data in a file
    By Micko in forum C Programming
    Replies: 2
    Last Post: 02-17-2005, 03:42 AM
  5. File Database & Data Structure :: C++
    By kuphryn in forum C++ Programming
    Replies: 0
    Last Post: 02-24-2002, 11:47 AM