Thread: dynamic arrays

  1. #31
    Registered User
    Join Date
    May 2008
    Posts
    13
    you're not going to believe this but i dont have a compilier on my comp. i got it cleaned out a while back and could not find the program cd so unless im at school, i dont have a compilier . worst programmer ever!

  2. #32
    3735928559
    Join Date
    Mar 2008
    Location
    RTP
    Posts
    838
    Code:
    int int *[rows]
    this does not compile.

    i think you mean
    Code:
    int **[rows]

  3. #33
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    you're not going to believe this but i dont have a compilier on my comp.
    Download a free one. If you are on Windows, I suggest the MinGW port of g++ with Code::Blocks as the IDE, or MSVC9 with Microsoft Visual C++ 2008 Express as the IDE.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  4. #34
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    You can always get more than one compiler later - compiling with several will make sure your code is as it should be - correct!
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #35
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    Quote Originally Posted by sokermaniac View Post
    you're not going to believe this but i dont have a compilier on my comp. i got it cleaned out a while back and could not find the program cd so unless im at school, i dont have a compilier . worst programmer ever!
    Here's an online compiler: http://www.comeaucomputing.com/tryitout/
    It won't actually produce an executable, but you can at least see if your code compiles.
    Of course if you have several source & header files, you need a real compiler since that online one only compiles one file at a time.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Creating and freeing dynamic arrays
    By circuitbreaker in forum C++ Programming
    Replies: 8
    Last Post: 02-18-2008, 11:18 AM
  2. Replies: 16
    Last Post: 01-01-2008, 04:07 PM
  3. Dynamic (Numeric) Arrays
    By DavidB in forum C++ Programming
    Replies: 5
    Last Post: 05-03-2006, 07:34 PM
  4. dynamic arrays and structures
    By godofbabel in forum C++ Programming
    Replies: 1
    Last Post: 10-13-2002, 03:45 PM