473,395 Members | 1,452 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

x % y = ( x -(x/y) * y)

Dear all,

In C, x % y = ( x -(x/y) * y); is n't it ...???? where x and y are
integers and y not equal to zero

is there any other identity involving % operator..??? or any other
binary operator..??

for example

w % n = w & (n-1); when n is a power of 2.

Jun 27 '08 #1
40 1591
sophia wrote:
Dear all,

In C, x % y = ( x -(x/y) * y); is n't it ...???? where x and y are
integers and y not equal to zero
No.

Try x = 5 and y = 3. Straightaway x/y will give you 0.

<snip>

Jun 27 '08 #2
santosh wrote:
sophia wrote:
>Dear all,

In C, x % y = ( x -(x/y) * y); is n't it ...???? where x and y are
integers and y not equal to zero

No.

Try x = 5 and y = 3. Straightaway x/y will give you 0.

<snip>
Sorry to the OP. This is wrong. Your equation is indeed correct.

Jun 27 '08 #3
On Apr 25, 2:06*pm, santosh <santosh....@gmail.comwrote:
sophia wrote:
Dear all,
In C, x % y *= ( x -(x/y) * y); is n't it ...???? where x and y are
integers and y not equal to zero

No.

Try x = 5 and y = 3. Straightaway x/y will give you 0.
see this
#include<stdio.h>
#include<stdlib.h>

int main(void)
{
int x,y;
x=5,y=3;

printf("\n%d", ( x -(x/y) * y));
printf("\n%d", x%y);

return EXIT_SUCCESS;
}

Jun 27 '08 #4
sophia wrote:
On Apr 25, 2:06*pm, santosh <santosh....@gmail.comwrote:
>sophia wrote:
Dear all,
In C, x % y *= ( x -(x/y) * y); is n't it ...???? where x and y are
integers and y not equal to zero

No.

Try x = 5 and y = 3. Straightaway x/y will give you 0.

see this
#include<stdio.h>
#include<stdlib.h>

int main(void)
{
int x,y;
x=5,y=3;

printf("\n%d", ( x -(x/y) * y));
printf("\n%d", x%y);

return EXIT_SUCCESS;
}
Yes, my response was incorrect. I'll leave it to the others to answer
your original query since it's meaning is rather unclear to me.

Jun 27 '08 #5
There are one more interesting fact for integers:

x%y==0 <==(x/y)*y==x
sophia wrote:
Dear all,

In C, x % y = ( x -(x/y) * y); is n't it ...???? where x and y are
integers and y not equal to zero

is there any other identity involving % operator..??? or any other
binary operator..??

for example

w % n = w & (n-1); when n is a power of 2.
Jun 27 '08 #6
On Fri, 25 Apr 2008 01:30:05 -0700 (PDT), sophia
<so**********@gmail.comwrote:
>Dear all,

In C, x % y = ( x -(x/y) * y); is n't it ...???? where x and y are
integers and y not equal to zero

is there any other identity involving % operator..??? or any other
binary operator..??

for example

w % n = w & (n-1); when n is a power of 2.
If your instructor is spending this much time on esoteric
equivalences, you need to find a new one. If you are doing this
yourself, your time would be much better spent on mastering the
fundamental concepts of the language before you go looking for "cute
tricks".
Remove del for email
Jun 27 '08 #7
sophia wrote:
Dear all,

In C, x % y = ( x -(x/y) * y); is n't it ...???? where x and y are
integers and y not equal to zero

is there any other identity involving % operator..??? or any other
binary operator..??

for example

w % n = w & (n-1); when n is a power of 2.
int n_is_Power_of_two(long unsigned n)
{
return (n & n - 1) == 0 && n != 0;
}

int n_is_Power_of_four(long unsigned n)
{
return (n & n - 1) == 0 && n % 3 == 1;
}

int n_is_Power_of_eight(long unsigned n)
{
return (n & n - 1) == 0 && n % 7 == 1;
}

--
pete
Jun 27 '08 #8
santosh wrote:
sophia wrote:
>In C, x % y = ( x -(x/y) * y); is n't it ...???? where x and y
are integers and y not equal to zero

No. Try x = 5 and y = 3. Straightaway x/y will give you 0.
Huh? I find x/y yields 1.

--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.

** Posted from http://www.teranews.com **
Jun 27 '08 #9
"sophia" <so**********@gmail.comwrote in message
news:79**********************************@y22g2000 prd.googlegroups.com...
Dear all,

In C, x % y = ( x -(x/y) * y); is n't it ...???? where x and y are
integers and y not equal to zero
WTF? x%y does not always equal zero. What use woudl that be?!
Jul 27 '08 #10
sophia <so**********@gmail.comwrites:
In C, x % y = ( x -(x/y) * y); is n't it ...???? where x and y are
integers and y not equal to zero
Yes, but you have to add also that x/y is representable. When x =
INT_MIN and y = -1, x/y may not be representable.
is there any other identity involving % operator..??? or any other
binary operator..??

for example

w % n = w & (n-1); when n is a power of 2.
Again you have to add extra conditions. It requires n 1 and w >= 0.

--
Ben.
Jul 27 '08 #11
"ArWeGod" <Ar******@sbcglobal.netwrites:
"sophia" <so**********@gmail.comwrote in message
news:79**********************************@y22g2000 prd.googlegroups.com...
>Dear all,

In C, x % y = ( x -(x/y) * y); is n't it ...???? where x and y are
integers and y not equal to zero

WTF? x%y does not always equal zero. What use woudl that be?!
The expression given is a C arithmetic expression. It is not intended
to be read as mathematics.

--
Ben.
Jul 27 '08 #12
On 27 Jul, 15:29, Ben Bacarisse <ben.use...@bsb.me.ukwrote:
"ArWeGod" <ArWeG...@sbcglobal.netwrites:
"sophia" <sophia.ag...@gmail.comwrote in message
news:79**********************************@y22g2000 prd.googlegroups.com....
In C, x % y *= ( x -(x/y) * y); is n't it ...???? where x and y are
integers and y not equal to zero
WTF? x%y does not always equal zero. What use woudl that be?!

The expression given is a C arithmetic expression. *It is not intended
to be read as mathematics.
I'd have said exactly the opposite. It is not a C expression
(because x%y does not make sense on the right hand side of
an assignment), but it *is* a valid mathematical expression
(given a suitable definition of /). I've occaisionally
found it useful in languages that don't provide a remainder
operator.

--
Nick Keighley

A lot of the c.l.c. verbiage seems to be devoted to the numerical
density of cavorting nubile seraphim upon pinheads.
CBFalconer
Jul 28 '08 #13
Nick Keighley wrote:
>
.... snip ...
>
--
Nick Keighley

A lot of the c.l.c. verbiage seems to be devoted to the numerical
density of cavorting nubile seraphim upon pinheads.
CBFalconer
Did I ever say that? I don't remember it. Seems accurate, though.

--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.

Jul 28 '08 #14
On 28 Jul, 20:25, CBFalconer <cbfalco...@yahoo.comwrote:
Nick Keighleywrote:
--
Nick Keighley
A lot of the c.l.c. verbiage seems to be devoted to the numerical
density of cavorting nubile seraphim upon pinheads.
* * * * * * * * * * CBFalconer

Did I ever say that? *I don't remember it. *Seems accurate, though.
It was from some time ago, but I *believe* I correctly attributed it.

<google>

yep, 2001-03-02
subject: "Sleep command for noninteger time"

--
Nick Keighley

"Resistance is futile. Read the C-faq."
-- James Hu (c.l.c.)
Jul 29 '08 #15
Nick Keighley wrote:
CBFalconer <cbfalco...@yahoo.comwrote:
>Nick Keighleywrote:
>>--
Nick Keighley
>>A lot of the c.l.c. verbiage seems to be devoted to the numerical
density of cavorting nubile seraphim upon pinheads.
CBFalconer

Did I ever say that? I don't remember it. Seems accurate, though.

It was from some time ago, but I *believe* I correctly attributed it.

<google>

yep, 2001-03-02
subject: "Sleep command for noninteger time"
Oh my. Only 7 years ago, and what a difference. My wife,
brother-in-law, sister-in-law, cat, dog were all alive, I was not
fully retired, hadn't had 3 serious operations, and Bush hadn't had
a chance to do serious harm.

--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.

Jul 29 '08 #16
"CBFalconer" <cb********@yahoo.comwrote in message
news:48***************@yahoo.com...
Nick Keighley wrote:
CBFalconer <cbfalco...@yahoo.comwrote:
Nick Keighleywrote:
>--
Nick Keighley

A lot of the c.l.c. verbiage seems to be devoted to the numerical
density of cavorting nubile seraphim upon pinheads.
CBFalconer

Did I ever say that? I don't remember it. Seems accurate, though.
It was from some time ago, but I *believe* I correctly attributed it.

<google>

yep, 2001-03-02
subject: "Sleep command for noninteger time"

Oh my. Only 7 years ago, and what a difference. My wife,
brother-in-law, sister-in-law, cat, dog were all alive, I was not
fully retired, hadn't had 3 serious operations, and Bush hadn't had
a chance to do serious harm.
Define Bush.
;)
Jul 30 '08 #17
"Ben Bacarisse" <be********@bsb.me.ukwrote in message
news:87************@bsb.me.uk...
"ArWeGod" <Ar******@sbcglobal.netwrites:
"sophia" <so**********@gmail.comwrote in message
news:79**********************************@y22g2000 prd.googlegroups.com...
Dear all,

In C, x % y = ( x -(x/y) * y); is n't it ...???? where x and y are
integers and y not equal to zero
WTF? x%y does not always equal zero. What use woudl that be?!

The expression given is a C arithmetic expression. It is not intended
to be read as mathematics.
Okay, I don't see how something arithmetic can avoid being mathematics, but
let's push forward.

All I see is X divided by Y, times Y (i.e. X, for those following along)
subtracted from itself to acheive ZERO in 100% of the cases. So I guess I
don't see how this works...

Let's do the math (or arithmetic):

10 % 10 = 10 - ( (10/10, ie 1) * 10 (ie: back to 10)) = ZERO!!! Yay!
2 % 10 = 2 minus (2 divided by 10 times 10) = ?
Anyone.... Anyone...

--
ArWeConfused
Jul 30 '08 #18
>In C, x % y = ( x -(x/y) * y); is n't it ...???? where x and y are
>integers and y not equal to zero

WTF? x%y does not always equal zero. What use woudl that be?!

The expression given is a C arithmetic expression. It is not intended
to be read as mathematics.

Okay, I don't see how something arithmetic can avoid being mathematics, but
let's push forward.
The / in that expression is INTEGER DIVISION. An integer divided
by an integer yields an integer result.
>All I see is X divided by Y, times Y
(i.e. X, for those following along)
That's true if you are doing your mathematics in reals, but not if
you're doing it in integers.
>subtracted from itself to acheive ZERO in 100% of the cases. So I guess I
don't see how this works...
15/10 in C is 1, not 1.5, since the result of dividing two integers
is an integer.
>Let's do the math (or arithmetic):

10 % 10 = 10 - ( (10/10, ie 1) * 10 (ie: back to 10)) = ZERO!!! Yay!
2 % 10 = 2 minus (2 divided by 10 times 10) = ?
Anyone.... Anyone...
2/10 is zero.

Jul 30 '08 #19
2/10 is zero.

Oh. Right. Carry on.

--
ArWeWrong/ArWeNew=1 (cos it's TRUE!)
Jul 30 '08 #20
On Jul 30, 10:18 am, gordonb.ed...@burditt.org (Gordon Burditt) wrote:
<snip>
2/10 is zero.
Please don't remove attributions.
Jul 30 '08 #21
On Jul 30, 12:22 pm, "ArWeGod" <ArWeG...@sbcglobal.netwrote:
2/10 is zero.

Oh. Right. Carry on.
Please don't remove attributions.
Jul 30 '08 #22
Hello Sophia, list

On Apr 25, 4:30 am, sophia <sophia.ag...@gmail.comwrote:

http://en.wikipedia.org/wiki/Operato...etic_operators
http://en.wikipedia.org/wiki/Modulo_operation

Regards
Ccello

By the way... CBFalconer, sorry about your wife, brother-in-law,
sister-in-law, cat and dog.
Jul 30 '08 #23
On Wed, 30 Jul 2008 00:07:31 -0700, "ArWeGod" <Ar******@sbcglobal.net>
wrote:
>"Ben Bacarisse" <be********@bsb.me.ukwrote in message
news:87************@bsb.me.uk...
>"ArWeGod" <Ar******@sbcglobal.netwrites:
"sophia" <so**********@gmail.comwrote in message
news:79**********************************@y22g200 0prd.googlegroups.com...
>Dear all,

In C, x % y = ( x -(x/y) * y); is n't it ...???? where x and y are
integers and y not equal to zero

WTF? x%y does not always equal zero. What use woudl that be?!

The expression given is a C arithmetic expression. It is not intended
to be read as mathematics.

Okay, I don't see how something arithmetic can avoid being mathematics, but
let's push forward.
Then you are really going to hate
x = x + 1;

--
Remove del for email
Jul 31 '08 #24
Barry Schwarz said:
On Wed, 30 Jul 2008 00:07:31 -0700, "ArWeGod" <Ar******@sbcglobal.net>
wrote:
>>"Ben Bacarisse" <be********@bsb.me.ukwrote in message
news:87************@bsb.me.uk...
<snip>
>>>
The expression given is a C arithmetic expression. It is not intended
to be read as mathematics.

Okay, I don't see how something arithmetic can avoid being mathematics,
but let's push forward.

Then you are really going to hate
x = x + 1;
I don't see why.

x = x + 1 (1)
= 1/x = 1/(x + 1) (2)
= (x + 1) / x = 1 (3)

Subtracting x from both sides of (1), x - x = 1. Substituting into (3):

(x + 1) / x = x - x (4)
= x + 1 = x(x - x) (5)
= x + 1 = x^2 - x^2 (6)

Let y = x^2 (7)
= x + 1 = y - y (8)
= x + 1 = 0 (9)

Subtracting 1 from both sides:

x = -1 (10)

Easy!

;-)

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Jul 31 '08 #25
ArWeGod wrote:
>
.... snip ...
>
Let's do the math (or arithmetic):

10 % 10 = 10 - ( (10/10, ie 1) * 10 (ie: back to 10)) = ZERO!!! Yay!
2 % 10 = 2 minus (2 divided by 10 times 10) = ?
Anyone.... Anyone...
Using the usual integer arithmetic, 2 / 10 is unequivicably zero.
After which zero times 10 remains zero, and that is the value of
the expression.

--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.
Jul 31 '08 #26
soscpd wrote:
>
.... snip ...
>
By the way... CBFalconer, sorry about your wife, brother-in-law,
sister-in-law, cat and dog.
Thanks. I'm gradually realizing I'm probably not immortal.

--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.
Jul 31 '08 #27
Please don't remove attributions.

Yeah. Sure. Ummm... what does that mean?

-ArWeNewHere
Jul 31 '08 #28
"ArWeGod" <Ar******@sbcglobal.netwrote in message
news:%M*******************@nlpi064.nbdc.sbc.com...
Please don't remove attributions.

Yeah. Sure. Ummm... what does that mean?

-ArWeNewHere
Actually, I don't think I'll be back. This isn't what I thought it was. I
think what I want is a .NET group, not this one. This seems to be about
arguing about stuff from 20 years ago. I just want to learn to open some
files and print stuff. The printing of stuff seems even harder than posting
here, but if I get it to work, I will have spent my time better-er.

Peace.

--
ArWeInOz-TNPLH,TNPLH!
Jul 31 '08 #29
ArWeGod wrote:
>Please don't remove attributions.

Yeah. Sure. Ummm... what does that mean?
Do you see the "ArWeGod wrote:" line above? That's an "attribution"
line. Similar lines should be automatically generated for each poster
whose text appears in a post, by just about every newsreader I'm aware
of, including Google Groups.

If on the off chance that yours doesn't then you should, if possible,
add them manually. They are not *absolutely* essential, but most
respondents will probably killfile you if you continue to post
unattributed quotes.
-ArWeNewHere
And the sig separator is usually of the form "-- \n" (as a C string).
Anything else is prone to be unrecognised as yours was.

Jul 31 '08 #30
ArWeGod wrote:
"ArWeGod" <Ar******@sbcglobal.netwrote in message
news:%M*******************@nlpi064.nbdc.sbc.com...
Please don't remove attributions.

Yeah. Sure. Ummm... what does that mean?

-ArWeNewHere

Actually, I don't think I'll be back. This isn't what I thought it
was.
And what was that?
I think what I want is a .NET group, not this one. This seems to
be about arguing about stuff from 20 years ago.
C is still widely used. It's use these days is largely "invisible" to
desktop application programmers, that's true, but I suspect that the
volume of new C code continues to be in the top five for all
programming languages.

<snip>

Jul 31 '08 #31
On 31 Jul, 07:30, "ArWeGod" <ArWeG...@sbcglobal.netwrote:
Actually, I don't think I'll be back. This isn't what I thought it was. I
think what I want is a .NET group, not this one. This seems to be about
arguing about stuff from 20 years ago. I just want to learn to open some
files and print stuff.
C does this

The printing of stuff seems even harder than posting
here, but if I get it to work, I will have spent my time better-er.
printing is pretty easy in C.
#include <stdlib.h>
#include <stdio.h>

int main (void)
{
FILE *in;
char line[80];

/* open a file */
in = fopen ("fred.dat", "r");

if (in == NULL)
return EXIT_FAILURE; /* file didn't open */

/* read a line */
fgets (line, sizeof line, in);

/* close file */
fclose (in);

/* print stuff */
printf ("stuff\n");

return EXIT_SUCCESS;
}

--
Nick Keighley

in comp.lang.c, the very people most capable of making the inference
are those least likely to make it. This newsgroup considers pedantry
to be an art form.
Richard Heathfield
Jul 31 '08 #32
On Jul 31, 9:15 am, "ArWeGod" <ArWeG...@sbcglobal.netwrote:
Please don't remove attributions.

Yeah. Sure. Ummm... what does that mean?
It means you're a troll and ignored from now on.
Jul 31 '08 #33
ArWeGod wrote:
>
>Please don't remove attributions.

Yeah. Sure. Ummm... what does that mean?
Do you see that initial line "ArWeGod wrote;"? My newsreader put
that there when I hit the reply command. It identifies who wrote
what in the quoted section. It has one less '>' leading it than
the material written by the attributee. Don't remove it if you are
quoting anything written by that attributee.

Try the following informative links:
<http://www.catb.org/~esr/faqs/smart-questions.html>
<http://www.caliburn.nl/topposting.html>
<http://www.netmeister.org/news/learn2quote.html>

--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.
Jul 31 '08 #34
vi******@gmail.com wrote:
"ArWeGod" <ArWeG...@sbcglobal.netwrote:
>>Please don't remove attributions.

Yeah. Sure. Ummm... what does that mean?

It means you're a troll and ignored from now on.
And this answer means you are an idiot and useless to newbies.

--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.
Jul 31 '08 #35
CBFalconer <cb********@yahoo.comwrites:
vi******@gmail.com wrote:
>"ArWeGod" <ArWeG...@sbcglobal.netwrote:
>>>Please don't remove attributions.

Yeah. Sure. Ummm... what does that mean?

It means you're a troll and ignored from now on.

And this answer means you are an idiot and useless to newbies.
*splutter*!
Jul 31 '08 #36
In article <g6**********@registered.motzarella.org>,
Richard <rg****@gmail.comwrote:
>CBFalconer <cb********@yahoo.comwrites:
>vi******@gmail.com wrote:
>>"ArWeGod" <ArWeG...@sbcglobal.netwrote:

Please don't remove attributions.

Yeah. Sure. Ummm... what does that mean?

It means you're a troll and ignored from now on.

And this answer means you are an idiot and useless to newbies.

*splutter*!
Everybody loves a good chick fight!

Jul 31 '08 #37
ga*****@xmission.xmission.com (Kenny McCormack) writes:
In article <g6**********@registered.motzarella.org>,
Richard <rg****@gmail.comwrote:
>>CBFalconer <cb********@yahoo.comwrites:
>>vi******@gmail.com wrote:
"ArWeGod" <ArWeG...@sbcglobal.netwrote:

>Please don't remove attributions.
>
Yeah. Sure. Ummm... what does that mean?

It means you're a troll and ignored from now on.

And this answer means you are an idiot and useless to newbies.

*splutter*!

Everybody loves a good chick fight!
Vippstar seems to have taken Chuck's role as Heathfields favourite
lackey.

We've seen "Indeed"s a plenty. A few "Chapter and Verse" and now the
ritual culling of anyone who doesn't worship the regs immediately.

Could be some good cat fights coming up to lighten the summer.

Jul 31 '08 #38
On Jul 31, 4:50 pm, CBFalconer <cbfalco...@yahoo.comwrote:
vipps...@gmail.com wrote:
"ArWeGod" <ArWeG...@sbcglobal.netwrote:
>Please don't remove attributions.
Yeah. Sure. Ummm... what does that mean?
It means you're a troll and ignored from now on.

And this answer means you are an idiot and useless to newbies.
No, I am correct that he is a troll. What *your* reply means, is that
you obviously miss a post or two.
"ArWeGod" only snipped the attributes when he replied to my message;
he did not snip attributes in latter or former messages.
Aug 1 '08 #39
On Sun, 27 Jul 2008 15:28:05 +0100, Ben Bacarisse
<be********@bsb.me.ukwrote:
sophia <so**********@gmail.comwrites:
for example

w % n = w & (n-1); when n is a power of 2.

Again you have to add extra conditions. It requires n 1 and w >= 0.
n >= 1. Which all powers of an integer are usually taken to be.

- formerly david.thompson1 || achar(64) || worldnet.att.net
Aug 11 '08 #40
On Mon, 28 Jul 2008 01:38:54 -0700 (PDT), Nick Keighley
<ni******************@hotmail.comwrote:
On 27 Jul, 15:29, Ben Bacarisse <ben.use...@bsb.me.ukwrote:
"ArWeGod" <ArWeG...@sbcglobal.netwrites:
"sophia" <sophia.ag...@gmail.comwrote in message
>news:79**********************************@y22g200 0prd.googlegroups.com...
>In C, x % y *= ( x -(x/y) * y); is n't it ...???? where x and y are
>integers and y not equal to zero
WTF? x%y does not always equal zero. What use woudl that be?!
The expression given is a C arithmetic expression. *It is not intended
to be read as mathematics.

I'd have said exactly the opposite. It is not a C expression
(because x%y does not make sense on the right hand side of
<coughleft </>
an assignment), but it *is* a valid mathematical expression
(given a suitable definition of /). I've occaisionally
found it useful in languages that don't provide a remainder
operator.
- formerly david.thompson1 || achar(64) || worldnet.att.net
Aug 11 '08 #41

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: William C. White | last post by:
Does anyone know of a way to use PHP /w Authorize.net AIM without using cURL? Our website is hosted on a shared drive and the webhost company doesn't installed additional software (such as cURL)...
2
by: Albert Ahtenberg | last post by:
Hello, I don't know if it is only me but I was sure that header("Location:url") redirects the browser instantly to URL, or at least stops the execution of the code. But appearantely it continues...
3
by: James | last post by:
Hi, I have a form with 2 fields. 'A' 'B' The user completes one of the fields and the form is submitted. On the results page I want to run a query, but this will change subject to which...
0
by: Ollivier Robert | last post by:
Hello, I'm trying to link PHP with Oracle 9.2.0/OCI8 with gcc 3.2.3 on a Solaris9 system. The link succeeds but everytime I try to run php, I get a SEGV from inside the libcnltsh.so library. ...
1
by: Richard Galli | last post by:
I want viewers to compare state laws on a single subject. Imagine a three-column table with a drop-down box on the top. A viewer selects a state from the list, and that state's text fills the...
4
by: Albert Ahtenberg | last post by:
Hello, I have two questions. 1. When the user presses the back button and returns to a form he filled the form is reseted. How do I leave there the values he inserted? 2. When the...
1
by: inderjit S Gabrie | last post by:
Hi all Here is the scenerio ...is it possibly to do this... i am getting valid course dates output on to a web which i have designed ....all is okay so far , look at the following web url ...
2
by: Jack | last post by:
Hi All, What is the PHP equivilent of Oracle bind variables in a SQL statement, e.g. select x from y where z=:parameter Which in asp/jsp would be followed by some statements to bind a value...
3
by: Sandwick | last post by:
I am trying to change the size of a drawing so they are all 3x3. the script below is what i was trying to use to cut it in half ... I get errors. I can display the normal picture but not the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
Oralloy
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.