Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Kenshi

    Bus error with getchar

    Thanks. I may look into malloc. For now, I'll just leave it static and just recompile it if I ever need to convert a huge document. Ok, I have one last question. If I can fix this, this baby will work perfectly. I have worked with this for days but can't get it to do right. Since the file...
  2. Kenshi

    Bus error with getchar

    Ok, this is about my tenth time to post this. Hopefully it'll work now that I registered. Yes, that was indeed the problem. I thought when you declared a char pointer, it worked as a dynamic array. That was apparently wrong. Is there an easy way to create a dynamic array? Thanks.
  3. Kenshi

    Bus error with getchar

    I was trying to create a simple C program to take out all the ^M's that appear when you view a Windows text file in Unix. (I'm using FreeBSD by the way.) So far, I've just created enough that it reads character by character and stores anything that's not equal to 0x0D in a buffer. I'll worry...

Part and Inventory Search

Back
Top