|
From: | John Swensen |
Subject: | Re: How to launch Octave with its GUI ? |
Date: | Sat, 04 Aug 2007 11:39:17 -0400 |
User-agent: | Thunderbird 2.0.0.6 (Macintosh/20070728) |
Shai Ayal wrote:
1) This appears to be compiled as a C file, rather than a C++ file. I originally had it implemented as a std::vector, but then changed it to get it to compile with the C compiler. Is there any reason why this can't be compiled as a C++ file?This patch looks just like we needed. I have 2 "stylistic" comments: * Why do you use a fixed size array? if you use std::vector it would greatly simplify your code since adding and removing elements is done for you. * instead of using printf to print error messeges, use the error function. Shai On 8/3/07, John Swensen <address@hidden> wrote:
2) I guess I should have used the error function. I will fix and re-submit. John Swensen
[Prev in Thread] | Current Thread | [Next in Thread] |