Thread: Fucntion returns -1, Why?

  1. #16
    The larch
    Join Date
    May 2006
    Most people here use an IDE (such as Code::Blocks or even DevCpp - which is not very good but enough for single-file small programs etc), not Notepad - although it is useful to be able to compile from command prompt.
    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).

  2. #17
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    segmentation fault
    Don't they have a vim for windows? They do and I bet it works! Replace your notepad with vim. Vim is the most incredible piece of software I've ever seen, bar none -- web browser, vice city, whatever.

    ps. just ignore the GUI parts, it's all devolution
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Lame null append cause buffer to crash
    By cmoo in forum C Programming
    Replies: 8
    Last Post: 12-29-2008, 03:27 AM
  2. Polynomials and ADT's
    By Emeighty in forum C++ Programming
    Replies: 20
    Last Post: 08-19-2008, 08:32 AM
  3. Function returns null value instead of zero
    By drdepoy in forum C Programming
    Replies: 3
    Last Post: 10-23-2005, 03:51 PM
  4. Replies: 2
    Last Post: 04-12-2004, 01:37 AM
  5. Contest Results - May 27, 2002
    By ygfperson in forum A Brief History of
    Replies: 18
    Last Post: 06-18-2002, 01:27 PM