ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
do you guys know how ultimate++ parse their layout files ?? i have download their source , but kind of stuck at their "InitLayout()" and some other parsing functions ... donno how to follow their files and dirstories ... or do they really parse their layout files at all ??
btw ... also downloaded the binaries , but some of their dialogs are bad for my 14" monitor ... arrrrrggg ... always the same problems ...
.
No, .lay files are directly compiled as C++ templates. There is no "parse phase" and files are compiled to binary (not to be shipped with app).
(Of course, layout designer has to parse and save them, but that is another issue I guess).
LAYOUT, ITEM and END_LAYOUT are macros (temporary defined several ways during several include passes of .lay file).
So that means that there is some background code, in this case macros, which alter the source code during the preprocessor stage.
I'm not trying to knock Ultimate++, what I was saying is that it is not a fair comparison. Because it would be possible to achieve the same in Java, and I'm sure that libraries exist that achieve the same elegance in creating the front end.
I have a friend who would say that this is just like comparing apples and oranges.
i dont know why people have a problem comparing apples and oranges. they are both round, both a fruit, and both grow on trees. they are obviously derived from the same class..
there should be a comparison operators defined for them.
As a PowerBuilder programmer, ciaonnau, you're very much accustomed to working with a high-level toolset which is optimized for building the type of applications that are your bread and butter. The C++ programming language is very bare-bones by comparison.
Within the Linux environment, there are other application development frameworks, certainly on par with what you can get in the world that you are used to.
And to be fair, the C++ texts have to start somewhere, as all programming texts do. A very general-purpose language such as C++ is considerably more difficult to describe. The power of PB comes from zeroing in on a fairly restricted, although extremely useful, problem-domain.
I have come across a small program which can create simple GUIs for java using NULL layout.ie) when you resize a window, the widgets dont change size. If your worry is a simple way to get GUI done you can use it. But it does not have too many options.. not even JTree is there! I put a JPanel in it and later make adjustments in the code generated by the program.
Write a C function, int init_vector (v), which assigns all the elements of a vector v[] to 0, and returns the number of elements assigned. Assume the vector is ended with '/0' (first element found after the last element of v[]).
Write a C function, int init_vector (v), which assigns all the elements of a vector v[] to 0, and returns the number of elements assigned. Assume the vector is ended with '/0' (first element found after the last element of v[]).
no, but someone can assist you with what you have already written, go over here for help with this
i dont know why people have a problem comparing apples and oranges. they are both round, both a fruit, and both grow on trees. they are obviously derived from the same class..
In pure OO terms, we will have
Code:
Orange inherits Citrus inherits Fruit
SweetLime inherits Citrus inherits Fruit
Apple inherits Fruit
Now you know what graemf meant. You also said, they are fruits. Both are fruits doesnt mean Apple and Orange are same.Same for languages. Sure they( java & C++ & VB ) have some things in common. They are programming languages, they have synatax etc. Thats where the similarities end.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.