473,791 Members | 2,861 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

algorithm by eratosthenos

It is nothing short of embarrassing to feel the need to ask for help on
this. I can't see how I would make the main control for this. What I want
is a for loop and a test condition. And while I know, from things I
pondered 2 decades ago, that a fella can write code without a goto, I'm
stuck.

/* sieve1.c */

#define whatever 20
#define N whatever
#include <stdio.h>

int main(void)
{
int i, A[N+1], m, sum;

/* initialize to 0 */

for (i = 0; i <= N; ++ i) A[i] = 0;

/* output */
printf("Primes less than N are:\n");
for (i = 2; i <= N; ++ i)
{
if (A[i] == 0)
printf("%d

Apr 27 '06
22 2203
Keith Thompson wrote:
SM Ryan <wy*****@tang o-sierra-oscar-foxtrot-tango.fake.org> writes:
int main(int N,char **P) {


The usual names for the parameters to main are argc and argv. Using N
and P is obfuscation.


I'm curious, how do you feel about int main(int ac, char **av)? Almost
all of my code begins with:
int main(int ac, char **av)
{
struct args args;
parse_args(&arg s, ac, av);
...
}
so the names are rarely visible (which makes me think I shouldn't be so
lazy and could easily type "rg" an extra 4 times, although one could
argue that parse_args must use the names "argv" and "argc" as well.)

I'm curious to see opinions on that style.

Also, is there any difference between the declarations:
char *const*av and
char *av[]?
I'm still unclear which ought to be used in place of char **.

Apr 28 '06 #11
"Bill Pursell" <bi**********@g mail.com> wrote:
# Keith Thompson wrote:
# > SM Ryan <wy*****@tang o-sierra-oscar-foxtrot-tango.fake.org> writes:
# > > int main(int N,char **P) {
# >
# > The usual names for the parameters to main are argc and argv. Using N
# > and P is obfuscation.
#
# I'm curious, how do you feel about int main(int ac, char **av)? Almost

Poor Kiethey is just jealous. It's version of the sieve that can
handle primes of millions of digit--depends only on holding two numbers
in memory and the rest on disc.

--
SM Ryan http://www.rawbw.com/~wyrmwif/
So....that would make Bethany part black?
Apr 28 '06 #12
"Bill Pursell" <bi**********@g mail.com> writes:
Keith Thompson wrote:
SM Ryan <wy*****@tang o-sierra-oscar-foxtrot-tango.fake.org> writes:
> int main(int N,char **P) {
The usual names for the parameters to main are argc and argv. Using N
and P is obfuscation.


I'm curious, how do you feel about int main(int ac, char **av)?


About the same way.
Almost all of my code begins with:
int main(int ac, char **av)
{
struct args args;
parse_args(&arg s, ac, av);
...
}
so the names are rarely visible (which makes me think I shouldn't be so
lazy and could easily type "rg" an extra 4 times, although one could
argue that parse_args must use the names "argv" and "argc" as well.)

I'm curious to see opinions on that style.
You can legally use any names you like, but I honestly can't think of
any good reason not to use argc and argv. Can you think of *any*
reason why ac and av is better than argc and argv?
Also, is there any difference between the declarations:
char *const*av and
char *av[]?
I'm still unclear which ought to be used in place of char **.


What's wrong with char **? And why do you want to add a "const"?

In an argument declaration, "char *argv[]" and "char **argv" are
exactly equivalent.

--
Keith Thompson (The_Other_Keit h) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Apr 28 '06 #13

<me********@aol .com> wrote in message
news:11******** **************@ i40g2000cwc.goo glegroups.com.. .

Fred Kleinschmidt wrote:
"Joe Smith" <gr**********@n etzero.net> wrote in message
news:44******** *************** @news.usenetmon ster.com...
It is nothing short of embarrassing to feel the need to ask for help on this. I can't see how I would make the main control for this. What I
want
is a for loop and a test condition. And while I know, from things I
pondered 2 decades ago, that a fella can write code without a goto, I'm stuck.

/* sieve1.c */

#define whatever 20
#define N whatever
#include <stdio.h>

int main(void)
{
int i, A[N+1], m, sum;

/* initialize to 0 */

for (i = 0; i <= N; ++ i) A[i] = 0;

/* output */
printf("Primes less than N are:\n");
for (i = 2; i <= N; ++ i)
{
if (A[i] == 0)
printf("%d
In a Sieve of Eratosthenos, the first step is to fill the array with
all of the consecutive integers, not to zero out the array.
Next, set A[i]=0 for any A[i] divisible by 2
Next, starting at the first non-zero element after 2,
set to zero all items divisible by that number.
Repeat until you get to the end of the array.


So, 1 is prime?


Only in regards to: So, 1 is prime?


No. Zero (0) and one (1) are not prime. One is not prime by collusion of
mathematicians. Certain mathematical proofs suggest one is prime, however,
when one is used as a prime in other more advanced proofs, it causes extra
complexity in the proof.
Rod Pemberton
Apr 28 '06 #14

"Joe Smith" <gr**********@n etzero.net> wrote in message
news:44******** *************** @news.usenetmon ster.com...
It is nothing short of embarrassing to feel the need to ask for help on
this. I can't see how I would make the main control for this. What I want is a for loop and a test condition. And while I know, from things I
pondered 2 decades ago, that a fella can write code without a goto, I'm
stuck.

/* sieve1.c */

#define whatever 20
#define N whatever
#include <stdio.h>

int main(void)
{
int i, A[N+1], m, sum;

/* initialize to 0 */

for (i = 0; i <= N; ++ i) A[i] = 0;

/* output */
printf("Primes less than N are:\n");
for (i = 2; i <= N; ++ i)
{
if (A[i] == 0)
printf("%d


I'll post some code, but let's review a few things about primes. zero and
one aren't prime. two is the only even that is prime. five is the only odd
ending with a decimal digit of five that is prime. In other words:

0: not prime
1: not prime
2: prime
5: prime
evens other than 2: not prime
odds ending in 1,3,7: must be tested for primality.

The following code will generate primes greater than 3. A test for values
ending in 5 slows it down the inner loop too much. As the code shows, you
only need to test values as factors of a number upto the square root of that
number. This is done without using a sqrt() function.
#include <stdio.h>
#include <stdlib.h>

int main(void)
{
unsigned long long counter,i=0,j,p rimes=0;
int prime_found;

counter = 3; /* init to prime 3 */

for (;;)
{
prime_found=0;
for(i=3,j=4;j<= counter;i+=2,j+ =i)
/* i is the prime number to test as a factor of counter */
/* j is the square of i which is used to indicate that */
/* we have reached or exceeded the square root of counter */
/* the square root of counter is the largest possible factor */
/* for which there can be no larger value prime factor of counter
*/
/* we have moved from the outlying large and small primes and */
/* reached the middlemost primes of counter */
{
if((counter % i)==0) /* test prime as factor */
{
prime_found =1; /* not a prime... */
break;
}
}
if (prime_found==0 ) /* prime number */
{
primes++;
printf("%llu:%l lu:%llx\n",prim es,counter,coun ter);
}
counter+=2;
}

exit(EXIT_SUCCE SS);
}
Rod Pemberton
Apr 28 '06 #15
Joe Smith schrieb:
"Michael Mair" <Mi**********@i nvalid.invalid> wrote in message
news:4b******** *****@individua l.net...
Joe Smith schrieb:
It is nothing short of embarrassing to feel the need to ask for help on
this. I can't see how I would make the main control for this. What I
want
is a for loop and a test condition. And while I know, from things I
pondered 2 decades ago, that a fella can write code without a goto, I'm
stuck.
<snip>
You forgot the algorithm itself.
- set all A[i] to value i
- set the leading non-primes (0 and 1) to 0
- Loop over all i = 0..N:
- if you encounter A[i] != 0, set all A[j],
j = 2*i, 3*i, ..., (N/i)*i, to zero
<snip>
/* sieve2.c */

#define whatever 20
#define N whatever
#include <stdio.h>

int main(void)
{
int i, A[2*N + 1], index, sum;
Where does the factor 2 come in?

/* initialize */

for (i = 0; i <= N; ++ i) A[i] = i;

/* main control */
index = 2;

while (index < N)
{
if (A[index] != 0)
{
sum = index;
while (sum <= N)
{
sum = sum + index;
A[sum] = 0;
}
++ index;
}
}
/* output */
printf("Primes less than N are:\n");
for (i = 2; i <= N; ++ i)
{
if (A[i] != 0) printf("%d ", A[i]);
}

return 0;
}
/* end code */
I know this post is a mess and to read it annoys even myself. My debugger
doesn't want to tell me anything, and while the above compiles, it doesn't
behave. Furthermore, I'm rusty with polite snipping, so I'll beg your
pardon. Joe


No problem. Please try to indent your code (preferably with spaces);
this makes it much easier to read it.

The following implements the suggested algorithm and works at first
glance.
Note that this code does not try to be intelligent: It stupidly
implements the algorithm. This is the best for your first shot
at something: Keep it plain and simple.
Afterwards you can think about reducing the programme's memory
consumption and loop numbers -- and compare the output to the
obviously working version...

/* sieve2.c */
#include <stdio.h>

#define MAX_TESTED_NUMB ER 20
int main (void)
{
int i, A[MAX_TESTED_NUMB ER + 1];

/* initialize */
for (i = 0; i <= MAX_TESTED_NUMB ER; ++i)
A[i] = i;
A[0] = A[1] = 0; /* Eliminate non-primes */

/* main control */

for (i = 0; i <= MAX_TESTED_NUMB ER; ++i)
{
if (A[i] != 0)
{
int j = 2*i;
while (j <= MAX_TESTED_NUMB ER)
{
A[j] = 0;
j += i;
}
}
}

/* output */
printf("Primes between 0 and %d are:\n", MAX_TESTED_NUMB ER);
for (i = 0; i <= MAX_TESTED_NUMB ER; ++i)
{
if (A[i] != 0)
printf("%d ", A[i]);
}

return 0;
}
/* end code */

Cheers
Michael
--
E-Mail: Mine is an /at/ gmx /dot/ de address.
Apr 28 '06 #16
Joe Smith schrieb:
"Michael Mair" <Mi**********@i nvalid.invalid> wrote in message
news:4b******** *****@individua l.net...
Joe Smith schrieb:
It is nothing short of embarrassing to feel the need to ask for help on
this. I can't see how I would make the main control for this. What I
want
is a for loop and a test condition. And while I know, from things I
pondered 2 decades ago, that a fella can write code without a goto, I'm
stuck.
<snip>
You forgot the algorithm itself.
- set all A[i] to value i
- set the leading non-primes (0 and 1) to 0
- Loop over all i = 0..N:
- if you encounter A[i] != 0, set all A[j],
j = 2*i, 3*i, ..., (N/i)*i, to zero
<snip>
/* sieve2.c */

#define whatever 20
#define N whatever
#include <stdio.h>

int main(void)
{
int i, A[2*N + 1], index, sum;
Where does the factor 2 come in?

/* initialize */

for (i = 0; i <= N; ++ i) A[i] = i;

/* main control */
index = 2;

while (index < N)
{
if (A[index] != 0)
{
sum = index;
while (sum <= N)
{
sum = sum + index;
A[sum] = 0;
}
++ index;
}
}
/* output */
printf("Primes less than N are:\n");
for (i = 2; i <= N; ++ i)
{
if (A[i] != 0) printf("%d ", A[i]);
}

return 0;
}
/* end code */
I know this post is a mess and to read it annoys even myself. My debugger
doesn't want to tell me anything, and while the above compiles, it doesn't
behave. Furthermore, I'm rusty with polite snipping, so I'll beg your
pardon. Joe


No problem. Please try to indent your code (preferably with spaces);
this makes it much easier to read it.

The following implements the suggested algorithm and works at first
glance.
Note that this code does not try to be intelligent: It stupidly
implements the algorithm. This is the best for your first shot
at something: Keep it plain and simple.
Afterwards you can think about reducing the programme's memory
consumption and loop numbers -- and compare the output to the
obviously working version...

/* sieve2.c */
#include <stdio.h>

#define MAX_TESTED_NUMB ER 20
int main (void)
{
int i, A[MAX_TESTED_NUMB ER + 1];

/* initialize */
for (i = 0; i <= MAX_TESTED_NUMB ER; ++i)
A[i] = i;
A[0] = A[1] = 0; /* Eliminate non-primes */

/* main control */

for (i = 0; i <= MAX_TESTED_NUMB ER; ++i)
{
if (A[i] != 0)
{
int j = 2*i;
while (j <= MAX_TESTED_NUMB ER)
{
A[j] = 0;
j += i;
}
}
}

/* output */
printf("Primes between 0 and %d are:\n", MAX_TESTED_NUMB ER);
for (i = 0; i <= MAX_TESTED_NUMB ER; ++i)
{
if (A[i] != 0)
printf("%d ", A[i]);
}

return 0;
}
/* end code */

Cheers
Michael
--
E-Mail: Mine is an /at/ gmx /dot/ de address.
Apr 28 '06 #17
Keith Thompson wrote:
"Bill Pursell" <bi**********@g mail.com> writes:
Keith Thompson wrote:
SM Ryan <wy*****@tang o-sierra-oscar-foxtrot-tango.fake.org> writes:
> int main(int N,char **P) {

The usual names for the parameters to main are argc and argv. Using N
and P is obfuscation.
I'm curious, how do you feel about int main(int ac, char **av)?


About the same way.

<snip> You can legally use any names you like, but I honestly can't think of
any good reason not to use argc and argv. Can you think of *any*
reason why ac and av is better than argc and argv?


It's 2 characters less. I won't argue that that's a *good* reason, but
it is the only reason I do it, and now my fingers are accustomed
to it.
Also, is there any difference between the declarations:
char *const*av and
char *av[]?
I'm still unclear which ought to be used in place of char **.


What's wrong with char **? And why do you want to add a "const"?


I like char **, but I've seen some people argue that char *av[] is more
correct. I'm not sure if they were arguing about style or substance.
The thing that prompted me to add the const was a minor mishap with
getopt. I had done:
void parse_args (struct args_s *args, int argc, const char **argv)
{
...
getopt(argc, argv, optstring)
....
and was rejected because the 2nd parameter to getopt is prototyped as
char *const argv[]. So I had to change the declaration of parse_args
to match, and that got me thinking that the argument list for main
might as well match.

Apr 28 '06 #18

<me********@aol .com> wrote in message
news:11******** **************@ j33g2000cwa.goo glegroups.com.. .

Joe Smith wrote:
<me********@aol .com> wrote in message
news:11******** **************@ v46g2000cwv.goo glegroups.com.. .
>
> Joe Smith wrote:
>> "Michael Mair" <Mi**********@i nvalid.invalid> wrote in message
>> news:4b******** *****@individua l.net...
>> > Joe Smith schrieb:
>> >> It is nothing short of embarrassing to feel the need to ask for
>> >> help
>> >> on
>> >> this. I can't see how I would make the main control for this.
>> >> What I
>> >> want
>> >> is a for loop and a test condition. And while I know, from things
>> >> I
>> >> pondered 2 decades ago, that a fella can write code without a goto,
>> >> I'm
>> >> stuck.
>> >>
>> >> /* sieve1.c */
>> >>
>> >> #define whatever 20
>> >> #define N whatever
>> >
>> > You are not really using whatever.
>> >
>> >> #include <stdio.h>
>> >>
>> >> int main(void)
>> >> {
>> >> int i, A[N+1], m, sum;
>> >
>> > m and sum are not used.
>> > I'd rather give A a name describing the role of A
>> >
>> >>
>> >> /* initialize to 0 */
>> >>
>> >> for (i = 0; i <= N; ++ i) A[i] = 0;
>> >
>> > You forgot the algorithm itself.
>> > - set all A[i] to value i
>> > - set the leading non-primes (0 and 1) to 0
>> > - Loop over all i = 0..N:
>> > - if you encounter A[i] != 0, set all A[j],
>> > j = 2*i, 3*i, ..., (N/i)*i, to zero
>> >
>> >>
>> >> /* output */
>> >> printf("Primes less than N are:\n");
>> >> for (i = 2; i <= N; ++ i)
>> >> {
>> >> if (A[i] == 0)
>> >> printf("%d
>> >
>> > The other way round: A[i] != 0: output i
>> >
>> > If you post to comp.lang.c, please post minimal, compiling
>> > code. In your case, for compiling you at least need
>> > printf("%d\t", i);
>> > }
>> > return 0;
>> > }
>> >
>> > Copy & paste your code.
>> >
>> >
>> > BTW: Not all of the ancient Greeks ended on "os"... ;-)
Any talk of an os around here will meet with certain consternation:-)
>> >
>> >
>> > Cheers
>> > Michael
>> > --
>> > E-Mail: Mine is an /at/ gmx /dot/ de address.
>>
>> /* sieve2.c */
>>
>> #define whatever 20
>> #define N whatever
>> #include <stdio.h>
>>
>> int main(void)
>> {
>> int i, A[2*N + 1], index, sum;
>>
>> /* initialize */
>>
>> for (i = 0; i <= N; ++ i) A[i] = i;
>>
>> /* main control */
>> index = 2;
>>
>> while (index < N)
>> {
>> if (A[index] != 0)
>> {
>> sum = index;
>> while (sum <= N)
>> {
>> sum = sum + index;
>> A[sum] = 0;
>> }
>> ++ index;
>> }
>
> /* you need to increment index even when A[index] is 0 */
> /* otherwise your while loop never exits */
>
> else
> {
> ++index;
> }
>
>> }
>> /* output */
>> printf("Primes less than N are:\n");
>> for (i = 2; i <= N; ++ i)
>> {
>> if (A[i] != 0) printf("%d ", A[i]);
>> }
>>
>>
>> return 0;
>> }
>> /* end code */
>> I know this post is a mess and to read it annoys even myself. My
>> debugger
>> doesn't want to tell me anything, and while the above compiles, it
>> doesn't
>> behave. Furthermore, I'm rusty with polite snipping, so I'll beg your
>> pardon. Joe
>

I believe that the line
++ index;
belongs one curly brace down, and
that this would address this shortcoming. Joe


There's a simple way to find out.


/* sieve3.c */

#define whatever 20
#define N whatever
#include <stdio.h>

int main(void)
{
int i, A[2*N + 1], index, sum;

/* initialize */

for (i = 0; i <= N; ++ i) A[i] = i;

/* main control */
index = 2;

while (index < N)
{
if (A[index] != 0)
{
sum = index;
while (sum <= N)
{
sum = sum + index;
A[sum] = 0;
}
}
++ index;
}

/* output */
printf("Primes less than N are:\n");
for (i = 2; i <= N; ++ i)
{
if (A[i] != 0) printf("%d ", A[i]);
}

return 0;
}
/* end code */
I think that does it. One thing that really threw me about this was that I
was trying to imitate the way one might do it on the back of a napkin while
tutoring. Now I'm wondering if there's a way of calculating this that heats
up the atmosphere less. Joe
Apr 28 '06 #19
Bill Pursell wrote:
.... snip ... ...
getopt(argc, argv, optstring)
...
and was rejected because the 2nd parameter to getopt is prototyped
as char *const argv[]. So I had to change the declaration of
parse_args to match, and that got me thinking that the argument
list for main might as well match.


Which is just plain wrong. You can modify **argv. You can't
modify *argv. You can't lengthen the string at *argv either.

--
"The power of the Executive to cast a man into prison without
formulating any charge known to the law, and particularly to
deny him the judgement of his peers, is in the highest degree
odious and is the foundation of all totalitarian government
whether Nazi or Communist." -- W. Churchill, Nov 21, 1943
Apr 29 '06 #20

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

Similar topics

6
8891
by: Jack Smith | last post by:
Hello, any help appreciated with following problem. I figured out the algorithm (I think), just having trouble proving it is optimal. Suppose we are given n tasks each of which takes 1 unit time to complete. Suppose further that each task has a deadline by which it is expected to finish. IF a task is not finished by the deadline, a standard penalty of $10 is applied. The problem is to find a schedule of the tasks that minimizes the...
16
2665
by: cody | last post by:
I have to write an algorithm with must ensure that objects are put in buckets (which are always 4 in size). The objects have two properties: A and B. It is not allowed that in a bucket are objects with the same A or B value. But there can be more than one object with A = null or B = null in the bucket. Sometimes there is only one valid solution, sometimes there are more valid solutions, and sometimes there isn't a complete solution at...
10
4985
by: bpontius | last post by:
The GES Algorithm A Surprisingly Simple Algorithm for Parallel Pattern Matching "Partially because the best algorithms presented in the literature are difficult to understand and to implement, knowledge of fast and practical algorithms is not commonplace." Hume and Sunday, "Fast String Searching", Software - Practice and Experience, Vol. 21 # 11, pp 1221-48
32
76458
by: Cmorriskuerten | last post by:
HI, is this is this solution to test if a number is a prime number or not: /* * Is n a prime number? * Return TRUE (1): n is a prime number * Return FALSE (0): n is a *not* a prime number */ int is_prime_number(int n)
113
12358
by: Bonj | last post by:
I was in need of an encryption algorithm to the following requirements: 1) Must be capable of encrypting strings to a byte array, and decyrpting back again to the same string 2) Must have the same algorithm work with strings that may or may not be unicode 3) Number of bytes back must either be <= number of _TCHARs in * sizeof(_TCHAR), or the relation between output size and input size can be calculated simply. Has to take into account the...
4
4287
by: FBM | last post by:
Hi, I am working on a program that simulates one of the elements of ATM. The simulation stores events which occurs every some milliseconds for a certain amount of time. Every time that an event is stored in a double linked list, the whole list is sorted for the next round. My problem appears when subjecting the program to heavy load, that is, when I run the simulation for more than 10,000 miliseconds (every event occurs in...
2
7298
by: Julio C. Hernandez Castro | last post by:
Dear all, We have just developped a new block cipher called Raiden, following a Feistel Network structure by means of genetic programming. Our intention now consists on getting as much feedback as possible from users, so we encourage you to test the algorithm and send us your opinion. We would also like to receive enhancements and new versions of the algorithm, developed in other source languages and platforms. Our idea on developing...
0
2973
by: aruna | last post by:
hey guys i earlier had very valuable responses from you all for base64 encoding algorithm.so thank for that. so now i need your assistance to do a float encoding algorithm. you may wonder why i'm so interest about this encoding algorithms. because our group is going to do a project under the ITU-T Recommendation X.891. this is named as fast infoset. this is an open source project in c language. there is an implementation in java which by...
1
3113
by: almurph | last post by:
Hi everyone, Concerning the Needleman-Wunsch algorithm (cf. http://en.wikipedia.org/wiki/Needleman-Wunsch_algorithm) I have noticed a possible loop. Inside the algorithm there is an important decision making mechanism. Its a "if, else if, else if" structure like:
0
9515
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10207
jinu1996
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...
0
9029
agi2029
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6776
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();...
0
5430
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...
0
5558
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4109
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
2
3713
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2913
bsmnconsultancy
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...

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.