|
by: Lowell Kirsh |
last post by:
In Peter Norvig's Infrequently Answered Questions he explains that the
following 2 fnctions look almost identical but are not the same:
def printf(format, *args): print format % args,
def printf(format, *args): print str(format) % args,
The only difference is that in the second one, str(format) replaces
format. If args are not given and the format string contains a '%', the
first will work but the second will not. Why is this so? It...
|
by: Ajit Singh |
last post by:
Hello Gurus,
Need your help on following:
1. Whether an MDX query be stored in an XML format? e.g. can the below
query be stored in an XML file format: (the query is for illustration
only).
with set as 'Filter(..Members,
Not IsEmpty( (, ) ) )'
|
by: Michael Schwab |
last post by:
Hi,
I am an artist with limited computer knowledge (but I am able to compile
some code) who needs for a project I am working on a way to read in a bmp
file, loop through the pixels and store their rgb value in a file in the
format (x, y, r, g, b). I want to use these values as the basis for some
paintings.
I looked around on the internet to find some code, but my skills are just
not enough to do something useful with what I have found....
|
by: Grumble |
last post by:
Hello,
I have the following structure:
struct foo {
char *format; /* format string to be used with printf() */
int nparm; /* number of %d specifiers in the format string */
/* 0 <= nparm <= 4 */
};
|
by: Chris Croughton |
last post by:
I notice the real reason for not posting "off-topic" here is that the
result will be a long thread on whether the matter is off-topic or not
-- caused by the very people who claim that they don't want to see
off-topic discussions posting off-topic messages complaining about the
lack of topicality! Messages saying *PLONK* are also off-topic, but the
complainers sem to post those a lot as well.
If all of the people who currently complain...
|
|
by: Nathan Wiegman |
last post by:
Hi,
Anyone know why "s" equals "0.0870000000000000000000" after the following
lines execute?
Thanks,
Nate
double d = 0.087000000000000008;
string s = string.Format("{0:f22}", d);
|
by: MLH |
last post by:
I did these 4 steps to create a topic file
1 Open a new file in a word processor or text editor that can
handle rich text format.
2 Write your individual topics, separating each topic with a
hard page break.
3 Add appropriate footnotes at the beginning of the file.
See Related Topics below.
4 Save the file in rich text format with the .rtf filename
|
by: FAQ server |
last post by:
-----------------------------------------------------------------------
FAQ Topic - How do I detect Opera/Netscape/IE?
-----------------------------------------------------------------------
The `` navigator '' object contains strings which
specify the browser and version; however, this is in general not
very genuine. Mozilla (and therefore Netscape 6+) allows this to
be freely set, and Opera and IE allow it to be modified. There
are...
|
by: so many sites so little time |
last post by:
this time i am going to use the scripts from the book and just change
the names to match what i am trying to do now i just got an error that
i know shouldnt be an error i think. this is the error:
Could add the site entry because: Column count doesn't match value
count at row 1. The query was INSERT INTO home (home_id, header, body,
date_entered) VALUES ('Welcome!', 'What is a Progressive Parent? A
Progressive Parent ...
now i created...
|
by: =?Utf-8?B?VHJhY2tz?= |
last post by:
I want to show a specific help page in a .chm file from vb.net. This code
shows the .chm file but it just goes to the first page or shows an error on
the page:
Help.ShowHelp(Me, "myhelp.chm", HelpNavigator.Topic, "A Quick Tour")
or Help.ShowHelp(Me, "myhelp.chm", HelpNavigator.Topic,
"aquicktour.htm")
or all combinations of contents, index, etc. I cant seem to go to a specific
|
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 usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
|
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.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|