Thread: Could Someone Please Explain This Code

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User linuxdude's Avatar
    Join Date
    Mar 2003
    Location
    Louisiana
    Posts
    926
    I don't see anything challenging on it. But you did typecast your malloc. you shouldn't do that. But jverkoey is right. Tell us what you don't understand. He does understand it all. He wrote his own language; I think that is good enough
    [EDIT]One of your comments is wrong.
    Code:
    char	strLine [32];	// Assume words are no longer than 31 chars
    The array can hold 32 to characters not 31[/EDIT]
    Last edited by linuxdude; 05-26-2004 at 06:04 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Writing Code
    By ILoveVectors in forum C++ Programming
    Replies: 4
    Last Post: 06-13-2005, 12:27 AM
  2. True ASM vs. Fake ASM ????
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 04-02-2003, 04:28 AM
  3. Seems like correct code, but results are not right...
    By OmniMirror in forum C Programming
    Replies: 4
    Last Post: 02-13-2003, 01:33 PM
  4. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM
  5. Replies: 4
    Last Post: 01-16-2002, 12:04 AM