473,387 Members | 1,303 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,387 software developers and data experts.

How can i emulate sizeof()

Hello all,
How can i emulate sizeof()
only for integers?
Jun 27 '08 #1
14 1652
Eugeny Myunster wrote:
Hello all,
How can i emulate sizeof()
only for integers?
You can look up to sizeof, follow its example in your comings
and goings and doings, seek always to be true to its teachings, and
strive unceasingly in all ways to model your own behavior after that
of sizeof. In any dilemma, ask yourself "What would sizeof do?"
Don't accept easy, cop-out answers (sizeof would not do so, after
all), but spur yourself to deeper and more honest self-examination.
Feed the hungry, heal the sick, give generously to the poor -- in
short[*], emulate sizeof.
[*] A kind of integer, as specified.

--
Er*********@sun.com

Jun 27 '08 #2
Eugeny Myunster wrote:
>
Hello all,
How can i emulate sizeof()
only for integers?
I'd really love to know which instructors keep giving this assignment.

Why do you want to "emulate sizeof", when sizeof exists just for this
purpose?

How about:

#define MySizeof(x) sizeof(x)

Now you can "emulate sizeof" by using "MySizeof(int)", for example.

--
+-------------------------+--------------------+-----------------------+
| Kenneth J. Brody | www.hvcomputer.com | #include |
| kenbrody/at\spamcop.net | www.fptech.com | <std_disclaimer.h|
+-------------------------+--------------------+-----------------------+
Don't e-mail me at: <mailto:Th*************@gmail.com>

Jun 27 '08 #3
Kenneth Brody <ke******@spamcop.netwrites:
Eugeny Myunster wrote:
>>
Hello all,
How can i emulate sizeof()
only for integers?

I'd really love to know which instructors keep giving this assignment.

Why do you want to "emulate sizeof", when sizeof exists just for this
purpose?

How about:

#define MySizeof(x) sizeof(x)

Now you can "emulate sizeof" by using "MySizeof(int)", for example.
Except that the macro, unlike the sizeof operator, requires a
parenthesized argument; you can't write "MySizeof 42".

I'd use:

#define MySizeof sizeof

which is equally useful (i.e., not at all).

A serious answer to the original poster: Why do you want to do this?
There are ways to determine the size of an object without using the
sizeof operator, but there's no point in using them; the sizeof
operator exists for exactly this purpose.

Q: How do I pound in a nail? I don't want to use a hammer.
A: Use a hammer anyway; that's what it's for.

Having said that, it's not entirely pointless *as an exercise*.
Figuring out how to compute the size of something without using sizeof
does present an opportunity to demonstrate that you understand certain
aspects of the language. The resulting piece of code isn't going to
be useful in itself, but then neither is the classic "hello, world"
program; if I really want to print "hello, world" on stdout, I'll use
echo. (There's a GNU "hello" program, for example, but it exists
purely as a demo; it's not actually useful.) That's just the nature
of homework assignments.

Oh, and speaking of homework assignments: DO IT YOURSELF. What will
you learn if we just give you the answer? We're willing to offer
hints if you try to do it yourself, but if you want us to solve the
problem for you, please give us your instructor's e-mail address so we
can submit our solutions directly.

--
Keith Thompson (The_Other_Keith) <ks***@mib.org>
Nokia
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Jun 27 '08 #4
On Apr 30, 9:56*am, Eugeny Myunster <b...@eugeny.wswrote:
Hello all,
* * * * How can i emulate sizeof()
* * * * only for integers?
Of course, it is lunacy to use something else when you want a size,
since the sizeof operator is perfect for that task.

That having been said, you can make an array of 2 objects, and get an
unsigned char pointer to the first and second object and subtract the
pointer difference to find the size.

E.g.

#define StupidEvilTwistedSizeof(type,ans) { \
type a[2]; \
unsigned char *start = (unsigned char *)&a[0]; \
unsigned char *end = (unsigned char *)&a[1]; \
*ans=end-start;}

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

typedef struct thingy {
int a;
char b;
long c;
} thingy;

int main(void)
{
size_t size;
size_t *psize = &size;
StupidEvilTwistedSizeof(char, psize);
printf("I am ashamed to say that the size of char is %u\n",
(unsigned) size);
StupidEvilTwistedSizeof(short, psize);
printf("I am ashamed to say that the size of short is %u\n",
(unsigned) size);
StupidEvilTwistedSizeof(long, psize);
printf("I am ashamed to say that the size of long is %u\n",
(unsigned) size);
StupidEvilTwistedSizeof(long long, psize);
printf("I am ashamed to say that the size of long long is %u\n",
(unsigned) size);
StupidEvilTwistedSizeof(float, psize);
printf("I am ashamed to say that the size of float is %u\n",
(unsigned) size);
StupidEvilTwistedSizeof(double, psize);
printf("I am ashamed to say that the size of double is %u\n",
(unsigned) size);
StupidEvilTwistedSizeof(long double, psize);
printf("I am ashamed to say that the size of long double is %u\n",
(unsigned) size);
StupidEvilTwistedSizeof(thingy, psize);
printf("I am ashamed to say that the size of thingy is %u\n",
(unsigned) size);

return 0;
}
/*
Possible output:
I am ashamed to say that the size of char is 1
I am ashamed to say that the size of short is 2
I am ashamed to say that the size of long is 4
I am ashamed to say that the size of long long is 8
I am ashamed to say that the size of float is 4
I am ashamed to say that the size of double is 8
I am ashamed to say that the size of long double is 8
I am ashamed to say that the size of thingy is 12
*/
Jun 27 '08 #5
On Apr 30, 3:06*pm, user923005 <dcor...@connx.comwrote:
On Apr 30, 9:56*am, Eugeny Myunster <b...@eugeny.wswrote:
Hello all,
* * * * How can i emulate sizeof()
* * * * only for integers?

Of course, it is lunacy to use something else when you want a size,
since the sizeof operator is perfect for that task.

That having been said, you can make an array of 2 objects, and get an
unsigned char pointer to the first and second object and subtract the
pointer difference to find the size.

E.g.

#define StupidEvilTwistedSizeof(type,ans) { \
type a[2]; \
unsigned char *start = (unsigned char *)&a[0]; \
unsigned char *end = (unsigned char *)&a[1]; \
*ans=end-start;}

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

typedef struct thingy {
* * int * * * * * * a;
* * char * * * * * *b;
* * long * * * * * *c;

} * thingy;

int * * * * * * main(void)
{
* * size_t * * * * *size;
* * size_t * * * * *psize = &size;
* * StupidEvilTwistedSizeof(char, psize);
* * printf("I am ashamed to say that the size of char is %u\n",
(unsigned) size);
* * StupidEvilTwistedSizeof(short, psize);
* * printf("I am ashamed to say that the size of short is %u\n",
(unsigned) size);
* * StupidEvilTwistedSizeof(long, psize);
* * printf("I am ashamed to say that the size of long is %u\n",
(unsigned) size);
* * StupidEvilTwistedSizeof(long long, psize);
* * printf("I am ashamed to say that the size of long long is %u\n",
(unsigned) size);
* * StupidEvilTwistedSizeof(float, psize);
* * printf("I am ashamed to say that the size of float is %u\n",
(unsigned) size);
* * StupidEvilTwistedSizeof(double, psize);
* * printf("I am ashamed to say that the size of double is %u\n",
(unsigned) size);
* * StupidEvilTwistedSizeof(long double, psize);
* * printf("I am ashamed to say that the size of long double is %u\n",
(unsigned) size);
* * StupidEvilTwistedSizeof(thingy, psize);
* * printf("I am ashamed to say that the size of thingy is %u\n",
(unsigned) size);

* * return 0;}

/*
Possible output:
I am ashamed to say that the size of char is 1
I am ashamed to say that the size of short is 2
I am ashamed to say that the size of long is 4
I am ashamed to say that the size of long long is 8
I am ashamed to say that the size of float is 4
I am ashamed to say that the size of double is 8
I am ashamed to say that the size of long double is 8
I am ashamed to say that the size of thingy is 12
*/
Updated version:

#define StupidEvilTwistedSizeof(type,ans) { \
type a[2]; \
unsigned char *start = (unsigned char *)&a[0]; \
unsigned char *end = (unsigned char *)&a[1]; \
*ans=end-start;}

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

typedef struct thingy {
int a;
char b;
long c;
} thingy;

typedef double (*PFI) ( double );

int main(void)
{
size_t size;
size_t *psize = &size;
StupidEvilTwistedSizeof(char, psize);
printf("I am ashamed to say that the size of char is %u\n",
(unsigned) size);
StupidEvilTwistedSizeof(short, psize);
printf("I am ashamed to say that the size of short is %u\n",
(unsigned) size);
StupidEvilTwistedSizeof(long, psize);
printf("I am ashamed to say that the size of long is %u\n",
(unsigned) size);
StupidEvilTwistedSizeof(long long, psize);
printf("I am ashamed to say that the size of long long is %u\n",
(unsigned) size);
StupidEvilTwistedSizeof(float, psize);
printf("I am ashamed to say that the size of float is %u\n",
(unsigned) size);
StupidEvilTwistedSizeof(double, psize);
printf("I am ashamed to say that the size of double is %u\n",
(unsigned) size);
StupidEvilTwistedSizeof(long double, psize);
printf("I am ashamed to say that the size of long double is %u\n",
(unsigned) size);
StupidEvilTwistedSizeof(thingy, psize);
printf("I am ashamed to say that the size of thingy is %u\n",
(unsigned) size);
StupidEvilTwistedSizeof(char *, psize);
printf("I am ashamed to say that the size of char * is %u\n",
(unsigned) size);
StupidEvilTwistedSizeof(int *, psize);
printf("I am ashamed to say that the size of int * is %u\n",
(unsigned) size);
StupidEvilTwistedSizeof(long *, psize);
printf("I am ashamed to say that the size of long * is %u\n",
(unsigned) size);
StupidEvilTwistedSizeof(void *, psize);
printf("I am ashamed to say that the size of void * is %u\n",
(unsigned) size);
StupidEvilTwistedSizeof(PFI, psize);
printf("I am ashamed to say that the size of PFI is %u\n",
(unsigned) size);
StupidEvilTwistedSizeof(void **, psize);
printf("I am ashamed to say that the size of void ** is %u\n",
(unsigned) size);

return 0;
}
/*
Possible output:
I am ashamed to say that the size of char is 1
I am ashamed to say that the size of short is 2
I am ashamed to say that the size of long is 4
I am ashamed to say that the size of long long is 8
I am ashamed to say that the size of float is 4
I am ashamed to say that the size of double is 8
I am ashamed to say that the size of long double is 8
I am ashamed to say that the size of thingy is 12
I am ashamed to say that the size of char * is 4
I am ashamed to say that the size of int * is 4
I am ashamed to say that the size of long * is 4
I am ashamed to say that the size of void * is 4
I am ashamed to say that the size of PFI is 4
I am ashamed to say that the size of void ** is 4
*/
Jun 27 '08 #6
On Apr 30, 3:23*pm, user923005 <dcor...@connx.comwrote:
On Apr 30, 3:06*pm, user923005 <dcor...@connx.comwrote:


On Apr 30, 9:56*am, Eugeny Myunster <b...@eugeny.wswrote:
Hello all,
* * * * How can i emulate sizeof()
* * * * only for integers?
Of course, it is lunacy to use something else when you want a size,
since the sizeof operator is perfect for that task.
That having been said, you can make an array of 2 objects, and get an
unsigned char pointer to the first and second object and subtract the
pointer difference to find the size.
E.g.
#define StupidEvilTwistedSizeof(type,ans) { \
type a[2]; \
unsigned char *start = (unsigned char *)&a[0]; \
unsigned char *end = (unsigned char *)&a[1]; \
*ans=end-start;}
#include <stdio.h>
#include <stdlib.h>
typedef struct thingy {
* * int * * * * * * a;
* * char * * * * * *b;
* * long * * * * * *c;
} * thingy;
int * * * * * * main(void)
{
* * size_t * * * * *size;
* * size_t * * * * *psize = &size;
* * StupidEvilTwistedSizeof(char, psize);
* * printf("I am ashamed to say that the size of char is %u\n",
(unsigned) size);
* * StupidEvilTwistedSizeof(short, psize);
* * printf("I am ashamed to say that the size of short is %u\n",
(unsigned) size);
* * StupidEvilTwistedSizeof(long, psize);
* * printf("I am ashamed to say that the size of long is %u\n",
(unsigned) size);
* * StupidEvilTwistedSizeof(long long, psize);
* * printf("I am ashamed to say that the size of long long is %u\n",
(unsigned) size);
* * StupidEvilTwistedSizeof(float, psize);
* * printf("I am ashamed to say that the size of float is %u\n",
(unsigned) size);
* * StupidEvilTwistedSizeof(double, psize);
* * printf("I am ashamed to say that the size of double is %u\n",
(unsigned) size);
* * StupidEvilTwistedSizeof(long double, psize);
* * printf("I am ashamed to say that the size of long double is %u\n",
(unsigned) size);
* * StupidEvilTwistedSizeof(thingy, psize);
* * printf("I am ashamed to say that the size of thingy is %u\n",
(unsigned) size);
* * return 0;}
/*
Possible output:
I am ashamed to say that the size of char is 1
I am ashamed to say that the size of short is 2
I am ashamed to say that the size of long is 4
I am ashamed to say that the size of long long is 8
I am ashamed to say that the size of float is 4
I am ashamed to say that the size of double is 8
I am ashamed to say that the size of long double is 8
I am ashamed to say that the size of thingy is 12
*/

Updated version:

#define StupidEvilTwistedSizeof(type,ans) { \
type a[2]; \
unsigned char *start = (unsigned char *)&a[0]; \
unsigned char *end = (unsigned char *)&a[1]; \
*ans=end-start;}

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

typedef struct thingy {
* * int * * * * * * a;
* * char * * * * * *b;
* * long * * * * * *c;

} * * * * * * * thingy;

typedef double (*PFI) ( double );

int * * * * * * main(void)
{
* * size_t * * * * *size;
* * size_t * * * * *psize = &size;
* * StupidEvilTwistedSizeof(char, psize);
* * printf("I am ashamed to say that the size of char is %u\n",
(unsigned) size);
* * StupidEvilTwistedSizeof(short, psize);
* * printf("I am ashamed to say that the size of short is %u\n",
(unsigned) size);
* * StupidEvilTwistedSizeof(long, psize);
* * printf("I am ashamed to say that the size of long is %u\n",
(unsigned) size);
* * StupidEvilTwistedSizeof(long long, psize);
* * printf("I am ashamed to say that the size of long long is %u\n",
(unsigned) size);
* * StupidEvilTwistedSizeof(float, psize);
* * printf("I am ashamed to say that the size of float is %u\n",
(unsigned) size);
* * StupidEvilTwistedSizeof(double, psize);
* * printf("I am ashamed to say that the size of double is %u\n",
(unsigned) size);
* * StupidEvilTwistedSizeof(long double, psize);
* * printf("I am ashamed to say that the size of long double is %u\n",
(unsigned) size);
* * StupidEvilTwistedSizeof(thingy, psize);
* * printf("I am ashamed to say that the size of thingy is %u\n",
(unsigned) size);
* * StupidEvilTwistedSizeof(char *, psize);
* * printf("I am ashamed to say that the size of char * is %u\n",
(unsigned) size);
* * StupidEvilTwistedSizeof(int *, psize);
* * printf("I am ashamed to say that the size of int * is %u\n",
(unsigned) size);
* * StupidEvilTwistedSizeof(long *, psize);
* * printf("I am ashamed to say that the size of long * is %u\n",
(unsigned) size);
* * StupidEvilTwistedSizeof(void *, psize);
* * printf("I am ashamed to say that the size of void * is %u\n",
(unsigned) size);
* * StupidEvilTwistedSizeof(PFI, psize);
* * printf("I am ashamed to say that the size of PFI is %u\n",
(unsigned) size);
* * StupidEvilTwistedSizeof(void **, psize);
* * printf("I am ashamed to say that the size of void ** is %u\n",
(unsigned) size);

* * return 0;}

/*
Possible output:
I am ashamed to say that the size of char is 1
I am ashamed to say that the size of short is 2
I am ashamed to say that the size of long is 4
I am ashamed to say that the size of long long is 8
I am ashamed to say that the size of float is 4
I am ashamed to say that the size of double is 8
I am ashamed to say that the size of long double is 8
I am ashamed to say that the size of thingy is 12
I am ashamed to say that the size of char * is 4
I am ashamed to say that the size of int * is 4
I am ashamed to say that the size of long * is 4
I am ashamed to say that the size of void * is 4
I am ashamed to say that the size of PFI is 4
I am ashamed to say that the size of void ** is 4
*/

The biggest problem with this method is that it works ONLY on types
and NOT on objects of a given type.
The sizeof operator works nicely on both.
Jun 27 '08 #7
On Wed, 30 Apr 2008 15:06:16 -0700 (PDT), user923005
<dc*****@connx.comwrote:
On Apr 30, 9:56*am, Eugeny Myunster <b...@eugeny.wswrote:
Hello all,
* * * * How can i emulate sizeof()
* * * * only for integers?

Of course, it is lunacy to use something else when you want a size,
since the sizeof operator is perfect for that task.
Concur.
That having been said, you can make an array of 2 objects, and get an
unsigned char pointer to the first and second object and subtract the
pointer difference to find the size.
You don't even need an array of two: just a single object,
and use the address-one-past. You can't (safely, portably)
_dereference_ that address, but you can compute it.

And downthread
The biggest problem with this method is that it works ONLY on types
and NOT on objects of a given type.
The sizeof operator works nicely on both.
Concur again. Although you can do a sizeof_type which creates and
measures a dummy object, and a different sizeof_object which measures
an existing object. But you still can't match the operator for sizeof
a constant or other nonlvalue* expression such as the (hypothetical)
return of a function or function pointer. (* Ignoring the C99 glitch
that unintentionallly and crazily makes almost everything an lvalue.)

- formerly david.thompson1 || achar(64) || worldnet.att.net
Jun 27 '08 #8
In article <gs********************************@4ax.com>,
David Thompson <da************@verizon.netwrote:
>On Wed, 30 Apr 2008 15:06:16 -0700 (PDT), user923005
<dc*****@connx.comwrote:
>On Apr 30, 9:56*am, Eugeny Myunster <b...@eugeny.wswrote:
Hello all,
* * * * How can i emulate sizeof()
* * * * only for integers?

Of course, it is lunacy to use something else when you want a size,
since the sizeof operator is perfect for that task.
It's not lunacy, if a woman tells you she'll sleep with you if can write
a program that calculates the size of an object without using the
built-in sizeof operator. It becomes a very worthwhile endeavor.

That's the problem with a lot of the answers given here. They lack
context.

Jun 27 '08 #9
ga*****@xmission.xmission.com (Kenny McCormack) writes:
In article <gs********************************@4ax.com>,
David Thompson <da************@verizon.netwrote:
>>On Wed, 30 Apr 2008 15:06:16 -0700 (PDT), user923005
<dc*****@connx.comwrote:
>>On Apr 30, 9:56Â*am, Eugeny Myunster <b...@eugeny.wswrote:
Hello all,
Â* Â* Â* Â* How can i emulate sizeof()
Â* Â* Â* Â* only for integers?

Of course, it is lunacy to use something else when you want a size,
since the sizeof operator is perfect for that task.

It's not lunacy, if a woman tells you she'll sleep with you if can write
a program that calculates the size of an object without using the
built-in sizeof operator. It becomes a very worthwhile endeavor.

That's the problem with a lot of the answers given here. They lack
context.
I think the lack of context is more the problems of the question in this
case.

Jun 27 '08 #10
In article <g0*********@registered.motzarella.org>,
Eligiusz Narutowicz <el*************@hotmail.comwrote:
....
>It's not lunacy, if a woman tells you she'll sleep with you if can write
a program that calculates the size of an object without using the
built-in sizeof operator. It becomes a very worthwhile endeavor.

That's the problem with a lot of the answers given here. They lack
context.

I think the lack of context is more the problems of the question in this
case.
I think (against the tide, I understand) that you should assume that a
poster has a reason for posting (as he does).

He should not have to justify that position beyond that which the fact
that he has posted has already done so.

Jun 27 '08 #11
In article <g0**********@news.xmission.com>,
Kenny McCormack <ga*****@xmission.xmission.comwrote:
>I think (against the tide, I understand) that you should assume that a
poster has a reason for posting (as he does).
Yes, but for most of these sizeof() questions the context seems most
likely to be "I can't do the questions on my C test".

-- Richard
--
:wq
Jun 27 '08 #12
In article <g0***********@pc-news.cogsci.ed.ac.uk>,
Richard Tobin <ri*****@cogsci.ed.ac.ukwrote:
>In article <g0**********@news.xmission.com>,
Kenny McCormack <ga*****@xmission.xmission.comwrote:
>>I think (against the tide, I understand) that you should assume that a
poster has a reason for posting (as he does).

Yes, but for most of these sizeof() questions the context seems most
likely to be "I can't do the questions on my C test".

-- Richard
--
:wq
"Passing the class" is probably an even more important - and more deserving
reason - than "I wanna get laid".

Jun 27 '08 #13
On Apr 30, 8:26*pm, Kenneth Brody <kenbr...@spamcop.netwrote:
Eugeny Myunster wrote:
Hello all,
* * * * How can i emulate sizeof()
* * * * only for integers?

I'd really love to know which instructors keep giving this assignment.

Why do you want to "emulate sizeof", when sizeof exists just for this
purpose?

How about:

* * #define MySizeof(x) sizeof(x)

Now you can "emulate sizeof" by using "MySizeof(int)", for example.

--
+-------------------------+--------------------+-----------------------+
| Kenneth J. Brody * * * *|www.hvcomputer.com| #include * * * * * * *|
| kenbrody/at\spamcop.net |www.fptech.com* * | * *<std_disclaimer.h|
+-------------------------+--------------------+-----------------------+
Don't e-mail me at: <mailto:ThisIsASpamT...@gmail.com>
I think it is a punishment for missing some homework or something. I
totally agree with the Macro approach. Ask your instructor, What is
the point of this assignment?, will I ever work on a project and try
to emulate this?
Jun 27 '08 #14
Kenny McCormack wrote:
>
In article <g0***********@pc-news.cogsci.ed.ac.uk>,
Richard Tobin <ri*****@cogsci.ed.ac.ukwrote:
In article <g0**********@news.xmission.com>,
Kenny McCormack <ga*****@xmission.xmission.comwrote:
>I think (against the tide, I understand) that you should assume that a
poster has a reason for posting (as he does).
Yes, but for most of these sizeof() questions the context seems most
likely to be "I can't do the questions on my C test".

"Passing the class" is probably an even more important - and more deserving
reason - than "I wanna get laid".
Quandry:

Professor says "get the size of an object without using sizeof".

SO says "don't".

--
+-------------------------+--------------------+-----------------------+
| Kenneth J. Brody | www.hvcomputer.com | #include |
| kenbrody/at\spamcop.net | www.fptech.com | <std_disclaimer.h|
+-------------------------+--------------------+-----------------------+
Don't e-mail me at: <mailto:Th*************@gmail.com>
Jun 27 '08 #15

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

Similar topics

7
by: Bruce A. Julseth | last post by:
How do I emulate the web page "Close" Button, i. e. the "X" in the upper right hand corner of each web page? Thank you.... Bruce
2
by: Bart Nessux | last post by:
This probaly isn't possible with Python, but I thought I'd ask. I want to emulate a key press programatically. I want the computer (G5 running Mac OSX 10.3) to think that the user has pressed the...
1
by: Bob Van Der Ploeg | last post by:
I need a DB design to emulate a operating system so I can add folders (Categories) with unlimited folders (Sub categories) in side folders Any suggestions? Bob
2
by: bulk88 | last post by:
How can I emulate DOM level 1 removeChild in IE 4? I already figured out to emulate getElementById by doing this if((!document.getElementById) && document.all) {document.getElementById =...
61
by: /* frank */ | last post by:
I have to do a homework: make a CPU simulator using C language. I have a set of asm instructions so I have to write a program that should: - load .asm file - view .asm file - do a step by step...
3
by: mario.rossi | last post by:
Hello! I would like to write a pointer to type template that behaves exactly and completely like normal pointers, which I will use as starting point for other kinds of pointers that hold extra...
7
by: C a r l o s A n t o n i o | last post by:
Hello, I have to submit a file via HyperTerminal using my PC's internal modem on a daily basis. Does anybodoy know how to accomplish this in VS2005? Any language is good, VB preferred. ...
11
by: Andrus | last post by:
I'm implementing entity object which should populate its properties from database when property is first referenced. In RDL reports I use object properties like MyObject.MyProperty MyObject...
0
by: Sin Jeong-hun | last post by:
The term 'system-wide' just means that click is dealt in whole-screen wide level. Just like the real mouse pointer. What I'd like to do is to emulate mouse move and click. For example, 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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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...
0
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...
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...

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.