Thread: Trouble with Memory Allocation and File Handling

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    May 2020
    Posts
    3

    Trouble with Memory Allocation and File Handling

    I have a Binary Text File that contains details about a structure that I would like to make a program to read. I'm fairly new to C programming and can't see why the program I have made does not work. When ran the program just crashes. The compiler say there is 0 errors or warnings. I ahve attached both the binary file I'm trying to read and my program. Thank You any help you can give.
    Attached Files Attached Files

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 15
    Last Post: 06-17-2012, 04:27 PM
  2. exception handling ( memory allocation)
    By manzoor in forum C++ Programming
    Replies: 5
    Last Post: 09-15-2008, 06:43 AM
  3. Help with file reading/dynamic memory allocation
    By Quasar in forum C++ Programming
    Replies: 4
    Last Post: 05-17-2004, 03:36 PM
  4. pointer and memory allocation trouble
    By volk in forum C++ Programming
    Replies: 27
    Last Post: 05-17-2003, 11:14 AM
  5. Dynamic memory allocation for file handling
    By prashanth_sh in forum C Programming
    Replies: 2
    Last Post: 11-07-2002, 05:50 AM

Tags for this Thread