Thread: Why does C allow the following construction

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    No, I didn't say find some stupid way to do it. I said why on earth would you want to?


    Quzah.
    Hope is the first step on the road to disappointment.

  2. #2
    Registered User Dante Shamest's Avatar
    Join Date
    Apr 2003
    Posts
    970
    cdalten,

    The real reason is because it doesn't do such buffer overflow checks. C allows you to do that because it assumes the programmer knows what's he's doing. This is what makes C powerful, but and at the same time dangerous to the uncautious programmer.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. construction order
    By George2 in forum C# Programming
    Replies: 4
    Last Post: 04-30-2008, 08:16 AM
  2. Replies: 29
    Last Post: 12-13-2004, 05:20 PM
  3. construction and induction proofs help
    By axon in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 09-09-2004, 09:02 AM
  4. static members construction
    By glUser3f in forum C++ Programming
    Replies: 3
    Last Post: 11-09-2003, 09:58 PM
  5. OO Compiler construction
    By daljian in forum C++ Programming
    Replies: 0
    Last Post: 01-04-2002, 08:56 AM