|
by: Robin Munn |
last post by:
OK, here's another software design question, one that's been bugging me
for a while now. What do y'all think is the best way to handle
program-level globals, such as configuration option -- especially in
multi-module programs?
Here's one approach:
--- main.py ---
import my_globals as g
import somefuncs
|
by: cwhite |
last post by:
Hi
I have another drop list question.
I have a table like this:
computer dell
computer ibm
computer hp
|
by: Michael |
last post by:
As if we needed another string reversal question.
I have a problem with the following code, that I believe should work.
int StringReverse(char* psz)
{
char *p = psz;
char *q = psz + strlen(psz) - 1;
while (p < q)
{
|
by: Krissy |
last post by:
When I create a DTS to export a text file from a table, if I click on
the Define Columns button and then Populate from source, then execute,
it changes one of the types to not quotable and the size to 19, which
in turn is changing the file width. The field that it is changing has
a numeric data type and the remainder of the fields are text...
|
by: Sweety |
last post by:
hello to all members,
i have strange question in C.
main()
{
printf("%d",main) ;
}
here o/p is same for all m/c in TC++ version 3.0 i.e 657.
I think this is not garbage.
|
|
by: WebBuilder451 |
last post by:
how can i get the value from a specific column from the selected row of a
datagrid
in the sub i can get the datakey for item command
Me.dgMems.DataKeys(e.Item.ItemIndex) will get me the key field, but what if
i want the value of column(2). I get nothing when i use
Me.dgMems.Columns(2).ToString(). View state is on.
thanks
(and i hope i...
|
by: BStone |
last post by:
Hi Everyone
I posted this question in .Net General too, so please forgive me for posting in two boards, but I saw one reply that indicated I might have better luck finding some help here
Using Visual Basic .Net (2003), I have a data grid on a win form with 7 columns loading very well. The first column is to be a data entry column. The...
|
by: Michael |
last post by:
How can I get X (or another value) from this string
"asdfsadfX",
basically i want to get what ever is in between the tags and
place them in a variable called $www , can anyone help?
|
by: TeknoShock |
last post by:
I am trying to use an if then in javascript to change one value based
on what a user inputs for another value. It is not working correctly.
Here is the relevant code:
---------------------------
<script language="javascript" >
function decideWhoToMailTo(dform) {
if (document.dform.ru.value == "122") {
document.dform.param_pie =...
|
by: beginner |
last post by:
Hi,
I run into another C API question. What is the simplest way to convert
an PyObject into a double?
For example, I have
PyObject *obj;
I know obj is a number, but I do not know the exact type. How can I
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|