Questions tagged [modular]

347 questions
2
votes
3 answers

Logic behind modular function

I do not understand why mysteryfunction(y) will equate to 40 when i int mysteryFunction(int, int =2). Anyone can explain to me? Best, MM #include using namespace std; int mysteryFunction (int, int = 2); int main() { int x = 10, y =…
Marcus Moo
  • 196
  • 1
  • 2
  • 20
2
votes
1 answer

Zend doesn't seem to want to load the form I've created

Hey, I seem to be climbing a pretty horrible learning curve. It's taking me hours to even get to the point where I can structure/write code. I originally wanted to be able to store a form or a model inside its respective module, for example:…
olive
  • 1,194
  • 1
  • 15
  • 34
2
votes
2 answers

codeigniter modular extensions

I'm trying to implement modular extensions into a codeigniter 2 setup but am having a few problems. I followed the installation instructions on the wiki and everything was working fine. Then I started to play around a bit and try and use it. All I…
musoNic80
  • 3,678
  • 9
  • 40
  • 48
2
votes
1 answer

JSF modular web application

talking about a modular web application like a Content Management System, where you can upload and install separated modules, I would like to know what is the best way to develop separeted modules (like News, rss Reader, Forum, etc...) using JSF,…
Fabio B.
  • 970
  • 2
  • 14
  • 29
2
votes
1 answer

Modular programming C++ multiple definitions

Whenever I try to run the following code, it says multiple definition of fin, client1, client2 and client3. Ive search throughout the internet but it seems I cant solve it by myself.Also, theres no problem with the code as I can easily run it if…
Gusti
  • 71
  • 2
  • 11
2
votes
2 answers

Finding different ways to share C++ functions with different C++ applications

I'm trying to find different ways to reuse my C++ functions in different applications. Say for example I have the following functions: Function A(){} // this will do a complex math operation Function B(){} // this will load a complex…
Teva Velu
  • 135
  • 1
  • 1
  • 13
2
votes
5 answers

how do i edit a running python program?

scenario: a modular app that loads .py modules on the fly as it works. programmer (me) wishes to edit the code of a module and then re-load it into the program without halting execution. can this be done? i have tried running import a second time on…
Jeremiah Rose
  • 3,865
  • 4
  • 27
  • 31
2
votes
2 answers

Delphi - Creating Well-Designed Plug-In's

I found working well code snippet that allows easily create modular Delphi application. This code is working well with Delphi 5 version. Link to snippet -> http://delphi.cjcsoft.net/viewthread.php?tid=44129 I have big Delphi 5's project build over…
sliwinski.lukas
  • 1,412
  • 1
  • 18
  • 28
2
votes
1 answer

How to write modular code in netbeans java swing applications?

I am creating my java Swing application in Netbeans. At present there are more than 2000 lines of code. Is it right to have these many number of lines in a single file. Moreover the IDE has become slow when i am editing this file. Is there any way…
rgksugan
  • 3,521
  • 12
  • 45
  • 53
2
votes
2 answers

The Weird BigInteger.mod Modulus Method

In Java, we know if we want to compare two reference objects, we usually need to use equals, but here I am so confused about the output of the following: System.out.println(new BigInteger("0") == BigInteger.ZERO); //…
Peter Lee
  • 12,931
  • 11
  • 73
  • 100
2
votes
1 answer

Ada -- What Is A Modular Type

I am trying to learn Ada, but recources are tough. I have been reading on this subject, but all explanations have been hard for me to understand. I have often seen code like this type Stream_Element is mod 2 ** Standard'Storage_Unit; What does this…
James Parsons
  • 6,097
  • 12
  • 68
  • 108
2
votes
0 answers

Modular OSGi Vaadin Application - Resources from extensions

I am trying to build a modular web application, that consists of a main application and pluggable extensions (sub-applications) using Vaadin + OSGi. To get started into the topic and try out different ways I followed this article: Modular and…
JDC
  • 4,247
  • 5
  • 31
  • 74
2
votes
1 answer

Modular web application with Spring

I want to create a web application splitted in extensions structured like this: Core Backend A - depending on Core (& possibly Backend B) Backend B - depending on Core & Backend A Frontend A - depending on Backend A & B Frontend B - depending on…
maxdev
  • 2,491
  • 1
  • 25
  • 50
2
votes
1 answer

Modular Extension

I came accross the term Modular Extension as a requirement of an application of I am developing. Any body know what a Modular Extension is all about?
whiz
  • 1,063
  • 2
  • 11
  • 19
2
votes
2 answers

Second digit from the right from a huge number

Now I actually read about modular arithmetic and managed to get the last digit of some number. Okay. But now... How do I get second last digit? Second one on the right. I actually been working on it on several hours straight trying to find a simple…
ImQ009
  • 325
  • 4
  • 12