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

Array name as pointers

As far as I understand, in "int arr[10]", the name of the integer array
"arr"
is equivalent to the pointer to the first element of the array. But is
"arr"
really a pointer, identical as "int *arr;" ?

I tried to modify this "arr" thing in the following code. GCC warns
me of incompatible pointers, which I have no idea of.

---------------------------------------------------------------
#include<stdio.h>

void incrementPtr(int **);

int main(int argc, char *argv[]){
int i;
int a[3] = {10, 20, 30};

incrementPtr(&a);

for(i = 0; i < 3; i++){
printf("a[%d] = %d\n", i, *(a + i));
}

return 0;
}

void incrementPtr(int **a){
*a++;
}
-------------------------------------------------

Anyone has any opinion why I got the warning? And
if "a" in this code can be modified?

Thanks.

Mar 26 '06 #1
17 1350
newgoat wrote:
As far as I understand, in "int arr[10]", the name of the integer array
"arr"
is equivalent to the pointer to the first element of the array. But is
"arr"
really a pointer, identical as "int *arr;" ?
No. This question is so dead and boring it makes the parrot look
lively. Do you imagine you are the first with this thought? It is to
avoid repeatedly answering such things that we have a FAQ
<http://c-faq.com/>. Please check it before posting.
Among others, you might find interesting:

<http://c-faq.com/aryptr/aryptr2.html> But I heard that char a[] was
identical to char *a.

<http://c-faq.com/aryptr/aryptrequiv.html> So what is meant by the
``equivalence of pointers and arrays'' in C?

<http://c-faq.com/aryptr/aryptrparam.html> If they're so different, then
why are array and pointer declarations interchangeable as function
formal parameters?

[...] Anyone has any opinion why I got the warning? And
if "a" in this code can be modified?


Once you check the FAQ, as you should have already done, you will know
the answer.

Mar 26 '06 #2

"Martin Ambuhl" <ma*****@earthlink.net> wrote in message
news:Nf******************@newsread2.news.atl.earth link.net...
newgoat wrote:
As far as I understand, in "int arr[10]", the name of the integer array
"arr"
is equivalent to the pointer to the first element of the array. But is
"arr"
really a pointer, identical as "int *arr;" ?
No.


Fair statement.
This question is so dead and boring it makes the parrot look
lively.
? I admit I'm asleep right now, but WTF did you forget?
Do you imagine you are the first with this thought?
Hostility.
It is to
avoid repeatedly answering such things that we have a FAQ
<http://c-faq.com/>. Please check it before posting.
Among others, you might find interesting:

<http://c-faq.com/aryptr/aryptr2.html> But I heard that char a[] was
identical to char *a.

<http://c-faq.com/aryptr/aryptrequiv.html> So what is meant by the
``equivalence of pointers and arrays'' in C?

<http://c-faq.com/aryptr/aryptrparam.html> If they're so different, then
why are array and pointer declarations interchangeable as function
formal parameters?

Fair. Fair. Fair and Fair.
[...]
Anyone has any opinion why I got the warning? And
if "a" in this code can be modified?
Once you check the FAQ ... you will know
the answer.


Fair.
Once you check the FAQ, as you should have already done,


How could he know about the FAQ before you told him? Is he prescient? I
thought that was only for God. And, I think it violates a number of laws of
communication theory too.
Rod Pemberton
Mar 26 '06 #3
Rod Pemberton wrote:
"Martin Ambuhl" <ma*****@earthlink.net> wrote in message
news:Nf******************@newsread2.news.atl.earth link.net...
newgoat wrote:
As far as I understand, in "int arr[10]", the name of the integer array
"arr"
is equivalent to the pointer to the first element of the array. But is
"arr"
really a pointer, identical as "int *arr;" ?

No.


Fair statement.
This question is so dead and boring it makes the parrot look
lively.


? I admit I'm asleep right now, but WTF did you forget?

He is assuming a shared cultural heritage of geek, where everybody knows
Monty Python's dead parrot sketch. It should come as no surprise that
Wikipedia has a full article on it: http://en.wikipedia.org/wiki/Dead_Parrot.

I must say I've seen kinder wordings of "read the FAQ".

S.
Mar 26 '06 #4
On 2006-03-26, Martin Ambuhl <ma*****@earthlink.net> wrote:
newgoat wrote:
As far as I understand, in "int arr[10]", the name of the integer array
"arr"
is equivalent to the pointer to the first element of the array. But is
"arr"
really a pointer, identical as "int *arr;" ?


No. This question is so dead and boring it makes the parrot look
lively. Do you imagine you are the first with this thought? It is to
avoid repeatedly answering such things that we have a FAQ
<http://c-faq.com/>. Please check it before posting.


I assume you will be as rude to everyone else in this NG whose
questions are already answered in the FAQ and the Ansi Standard? Since
that's about 99.9% of them (since we're constantly told you cant ask
programming questions here - only pure C ones), then I suspect you'll
be a busy little bee.

Wouldn't it have been so much nicer of you to say:

"Good morning, this issue confuses a lot of C prgroammers. Here is a
link to the FAQ which might help".

Because one thing is common knowledge and "boring" to you, doesnt mean
it is to someone new who comes here for help. If that is your attitude
then I suggest you don't bother trying to help.

Have a good day now
Mar 26 '06 #5

Richard G. Riley wrote:
On 2006-03-26, Martin Ambuhl <ma*****@earthlink.net> wrote:
newgoat wrote:
As far as I understand, in "int arr[10]", the name of the integer array
"arr"
is equivalent to the pointer to the first element of the array. But is
"arr"
really a pointer, identical as "int *arr;" ?
No. This question is so dead and boring it makes the parrot look
lively. Do you imagine you are the first with this thought? It is to
avoid repeatedly answering such things that we have a FAQ
<http://c-faq.com/>. Please check it before posting.


I assume you will be as rude to everyone else in this NG whose
questions are already answered in the FAQ and the Ansi Standard?


God, I hope so.
Since
that's about 99.9% of them (since we're constantly told you cant ask
programming questions here - only pure C ones), then I suspect you'll
be a busy little bee.

The focus of this newsgroup is the C programming language, not
applications that just happen to be written in C. Why is that so hard
for people to understand?
Wouldn't it have been so much nicer of you to say:

"Good morning, this issue confuses a lot of C prgroammers. Here is a
link to the FAQ which might help".

Because one thing is common knowledge and "boring" to you, doesnt mean
it is to someone new who comes here for help. If that is your attitude
then I suggest you don't bother trying to help.

Have a good day now


I've been following this newsgroup since around 1994, and I have to
say, after 12 years of people asking the same exact questions the same
exact way, it's hard to stay civil. And people have good days and bad
days; I've seen Martin be just as pleasant as you wished everyone would
be.

It is simply a part of usenet etiquette to lurk a while, see if your
question has already been addressed (through the wonders of Google
search), and read the newsgroup FAQ if one exists. Given that the FAQ
for this particular newsgroup gets posted twice a month, it's not
entirely unreasonable to be annoyed when someone asks a question that
it addresses.

It's also hard to stay pleasant with all the self-appointed 'net
nannies boo-hooing about how *rude* we're all being.

Mar 26 '06 #6
On 2006-03-26, John Bode <jo*******@my-deja.com> wrote:

Richard G. Riley wrote:
On 2006-03-26, Martin Ambuhl <ma*****@earthlink.net> wrote:
> newgoat wrote:
>> As far as I understand, in "int arr[10]", the name of the integer array
>> "arr"
>> is equivalent to the pointer to the first element of the array. But is
>> "arr"
>> really a pointer, identical as "int *arr;" ?
>
> No. This question is so dead and boring it makes the parrot look
> lively. Do you imagine you are the first with this thought? It is to
> avoid repeatedly answering such things that we have a FAQ
><http://c-faq.com/>. Please check it before posting.
I assume you will be as rude to everyone else in this NG whose
questions are already answered in the FAQ and the Ansi Standard?


God, I hope so.


Then you need to step back and reconsider.
Since
that's about 99.9% of them (since we're constantly told you cant ask
programming questions here - only pure C ones), then I suspect you'll
be a busy little bee.

The focus of this newsgroup is the C programming language, not
applications that just happen to be written in C. Why is that so hard
for people to understand?


What was not "C" in the OP?
Wouldn't it have been so much nicer of you to say:

"Good morning, this issue confuses a lot of C prgroammers. Here is a
link to the FAQ which might help".

Because one thing is common knowledge and "boring" to you, doesnt mean
it is to someone new who comes here for help. If that is your attitude
then I suggest you don't bother trying to help.

Have a good day now
I've been following this newsgroup since around 1994, and I have to


The old "long term service medal" does not wash. Sorry.
say, after 12 years of people asking the same exact questions the same
exact way, it's hard to stay civil. And people have good days and
bad
Then dont respond. Let someone else who is less bored respond. By your
rational there is no need for beginners guides because C has been
around for so long.
days; I've seen Martin be just as pleasant as you wished everyone would
be.
So what? Was he here? Sorry, but that doesnt in any way justify his
reply to someone who came here in good faith looking for help. The
first name terms suggest a certain affiliation with him : this is
maybe the type of clique to which I referred.

It is simply a part of usenet etiquette to lurk a while, see if your
For you. Some people come hre to get an answer and then depart. If you
dont want to , or cant, help the ignore if you have nothing civil to say.

question has already been addressed (through the wonders of Google
search), and read the newsgroup FAQ if one exists. Given that the FAQ
for this particular newsgroup gets posted twice a month, it's not
entirely unreasonable to be annoyed when someone asks a question that
it addresses.
It is totally unreasonable. Not everyone is here for a month "lurking"
before they post. Not all usenet servers duplicate all posts.

It's also hard to stay pleasant with all the self-appointed 'net
nannies boo-hooing about how *rude* we're all being.


The last paragraph is particularly telling.

Its really simple : if you can and want to then "help". If not,
dont. There is nothing that ruins a thread more than the usual
suspects piling in with their "read the fucking FAQ" type posts when
other more tolerant posters have posted a link or help directly.

If you dont't see that that you should take a break.
Mar 26 '06 #7
On 26 Mar 2006 -0800, "John Bode" <jo*******@my-deja.com> wrote:
I've been following this newsgroup since around 1994, and I have to
say, after 12 years of people asking the same exact questions the same
exact way, it's hard to stay civil. And people have good days and bad
days; I've seen Martin be just as pleasant as you wished everyone would
be.

It is simply a part of usenet etiquette to lurk a while, see if your
question has already been addressed (through the wonders of Google
search), and read the newsgroup FAQ if one exists.


and if *all* the questions were "been addressed" ?
in that case why to write and answer one more time? :)
Mar 26 '06 #8
Richard G. Riley wrote:
I assume you will be as rude to everyone else in this NG whose
questions are already answered in the FAQ and the Ansi Standard?


It is rude beyond belief to post in a newsgroup questions answered in
the FAQ. It is strange to find the even ruder "Richard G. Riley"
thinking that pointing out that posters should have checked the FAQ is
rude.
Mar 26 '06 #9
On 2006-03-26, Martin Ambuhl <ma*****@earthlink.net> wrote:
Richard G. Riley wrote:
I assume you will be as rude to everyone else in this NG whose
questions are already answered in the FAQ and the Ansi Standard?


It is rude beyond belief to post in a newsgroup questions answered in
the FAQ. It is strange to find the even ruder "Richard G. Riley"
thinking that pointing out that posters should have checked the FAQ is
rude.


I think you should go back and see what you wrote "Martin".

The fact that you think think the FAQ is accessible to or even known
to newbies who come here says more about you than it does the newcomer
who comes here in the earnest hope of finding some help.

Did it even cross your mind that not all usenet users have web access?

Did it ever even cross your mind that a newbie might not even know
what to look for in the FAQ? Probably not.

You did not point him to the FAQ : you tried to make him look like an
incompetent idiot for not having (a) known about it and (b) not having
used it. I wont bother quoting you : it's all in the thread.

Interestingly enough there was a long enough thread reently about
similar stuff with pointers and arrays : I noticed you didnt come
haranging some of the regulars who were contributing then.

So to sum up : help or dont help. You chose the later but in a more
condescending and negative way than simply ignoring the poster or just
pointing him amicably to the correct section in the FAQ.

Mar 26 '06 #10
Martin Ambuhl wrote:
Richard G. Riley wrote:
I assume you will be as rude to everyone else in this NG whose
questions are already answered in the FAQ and the Ansi Standard?


It is rude beyond belief to post in a newsgroup questions answered in
the FAQ.

<snip>

I don't see anything "rude" much less "rude beyond belief" to post a
FAQ. It's tiresome and exasperating no doubt to long time regulars, but
it's too idealistic to expect every newbie to find *and* check the
entire FAQ before posting. If it's too much for you to take, a better
course would be to simply ignore the poster in question or even
killfile him, (hey it's your newsreader and it's your loss...or gain),
or perhaps send him a private mail, but to insult and ridicule him in a
public newsgroup upon his (possibly) first post is "rude beyond
belief".

Mar 26 '06 #11
On Sun, 26 Mar 2006 16:00:50 +0200, in comp.lang.c , "Richard G.
Riley" <rg****@gmail.com> wrote:
The old "long term service medal" does not wash. Sorry.
And yet every day, /you/ move a step closer to people's killfiles.

It is simply a part of usenet etiquette to lurk a while, see if your


For you.


No, generally. Why not go read up on it?
it's not
entirely unreasonable to be annoyed when someone asks a question that
it addresses.


It is totally unreasonable.


You presumably have the patience of a saint, and don't mind someone
asking you, "are we nearly there yet" every thirty seconds from about
five minutes after departure. The rest of us are mortals.
Its really simple : if you can and want to then "help". If not,
dont.
He did help. Your posts on the other hand have been useless.
There is nothing that ruins a thread more than the usual
suspects piling in with their "read the fucking FAQ" type posts


Yes, there's plenty. Such as trolls, abusive newbies, idiots, and
incompetents. Frankly, pointing people at hte FAQ is entirely
appropriate.
Mark McIntyre
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
Mar 26 '06 #12
Richard G. Riley wrote:
On 2006-03-26, Martin Ambuhl <ma*****@earthlink.net> wrote:
Richard G. Riley wrote:

I assume you will be as rude to everyone else in this NG whose
questions are already answered in the FAQ and the Ansi Standard?
It is rude beyond belief to post in a newsgroup questions answered in
the FAQ. It is strange to find the even ruder "Richard G. Riley"
thinking that pointing out that posters should have checked the FAQ is
rude.

I think you should go back and see what you wrote "Martin".


Assholes who do nothing to help the original poster, telling them
nothing about where the FAQ is, what questions might be relevant, or
what normal postign is should just keep quiet. Some of them, like
"Richard G. Riley", while contributing *nothing* snipe at those who do
help. Yes, you are a rude and ignorant person.
The fact that you think think the FAQ is accessible to or even known
to newbies who come here says more about you than it does the newcomer
who comes here in the earnest hope of finding some help.
This is akin to "Hey, I'm an American. How was I supposed to know you
English drive on the wrong side of the road." A poster old enough to be
posting here is old enough to know what is expected.
Did it even cross your mind that not all usenet users have web access?
Did it ever even cross your mind that a newbie might not even know
what to look for in the FAQ? Probably not.
Did you ever grow a brain? Since when is news.announce.newusers not
accessible to newbies?

You did not point him to the FAQ :


OK. You are a dmanable liar. There are four links to the FAQ,
including three to specific questions pertaining to his problem. It is
now completely clear that you are an antisocial troll who has *no*
interest in the truth. Goodbye.
Mar 26 '06 #13
Mark McIntyre wrote:
On Sun, 26 Mar 2006 16:00:50 +0200, in comp.lang.c , "Richard G.
Riley" <rg****@gmail.com> wrote:
[who cares]
And yet every day, you move a step closer to people's killfiles.


Just do it, and stop feeding the troll.

Brian

--
If televison's a babysitter, the Internet is a drunk librarian who
won't shut up.
-- Dorothy Gambrell (http://catandgirl.com)
Mar 27 '06 #14
Martin Ambuhl wrote:
Richard G. Riley wrote:
On 2006-03-26, Martin Ambuhl <ma*****@earthlink.net> wrote:

[who cares]
OK. You are a dmanable liar.

Please don't feed the troll.

Brian
Mar 27 '06 #15

Richard G. Riley wrote:
On 2006-03-26, John Bode <jo*******@my-deja.com> wrote:

Richard G. Riley wrote:
On 2006-03-26, Martin Ambuhl <ma*****@earthlink.net> wrote:
> newgoat wrote:
>> As far as I understand, in "int arr[10]", the name of the integer array
>> "arr"
>> is equivalent to the pointer to the first element of the array. But is
>> "arr"
>> really a pointer, identical as "int *arr;" ?
>
> No. This question is so dead and boring it makes the parrot look
> lively. Do you imagine you are the first with this thought? It is to
> avoid repeatedly answering such things that we have a FAQ
><http://c-faq.com/>. Please check it before posting.

I assume you will be as rude to everyone else in this NG whose
questions are already answered in the FAQ and the Ansi Standard?
God, I hope so.


Then you need to step back and reconsider.


Why? It's just a fracking newsgroup, for frack's sake.
Since
that's about 99.9% of them (since we're constantly told you cant ask
programming questions here - only pure C ones), then I suspect you'll
be a busy little bee.


The focus of this newsgroup is the C programming language, not
applications that just happen to be written in C. Why is that so hard
for people to understand?


What was not "C" in the OP?


I wasn't responding to the OP, I was responding to your statement that
"you can't ask programming questions here - only pure C ones." You're
too busy being so goddamned offended on other people's behalf to pay
attention to what I'm saying.
Wouldn't it have been so much nicer of you to say:

"Good morning, this issue confuses a lot of C prgroammers. Here is a
link to the FAQ which might help".

Because one thing is common knowledge and "boring" to you, doesnt mean
it is to someone new who comes here for help. If that is your attitude
then I suggest you don't bother trying to help.

Have a good day now


I've been following this newsgroup since around 1994, and I have to


The old "long term service medal" does not wash. Sorry.


Quit interrupting. It's *rude*. And you missed the point.
say, after 12 years of people asking the same exact questions the same
exact way, it's hard to stay civil. And people have good days and
bad
Then dont respond. Let someone else who is less bored respond. By your
rational there is no need for beginners guides because C has been
around for so long.


Hey, guess what? I didn't respond to the OP. I thought Martin had
done an adequate job in that respect. I was responding to *you*.
days; I've seen Martin be just as pleasant as you wished everyone would
be.


So what? Was he here? Sorry, but that doesnt in any way justify his
reply to someone who came here in good faith looking for help. The
first name terms suggest a certain affiliation with him : this is
maybe the type of clique to which I referred.


What the hell else am I going to call him? "Mr. Ambuhl?" "His Nibs?"
"That guy? Who wrote that article?" Referring to him by the name he
actually uses for posting here isn't being "cliquey" or familiar.

Jeez.

It is simply a part of usenet etiquette to lurk a while, see if your


For you. Some people come hre to get an answer and then depart. If you
dont want to , or cant, help the ignore if you have nothing civil to say.


QUIT INTERRUPTING. IT'S RUDE.

And no, it's *not* just for me. It is accepted usenet etiquette for
*everyone*; you, me, and everyone else. Usenet is not a quickie
reference manual; it is not the place to go when you want an answer
*now*.
question has already been addressed (through the wonders of Google
search), and read the newsgroup FAQ if one exists. Given that the FAQ
for this particular newsgroup gets posted twice a month, it's not
entirely unreasonable to be annoyed when someone asks a question that
it addresses.
It is totally unreasonable. Not everyone is here for a month "lurking"
before they post. Not all usenet servers duplicate all posts.


Which brings us, again, to the wonders of Google, and this wonderful
technology known as "searching the archive." If you're smart enough to
post here in the first place, you're smart enough to do a search.
Google does a pretty damned good job archiving, and you should be able
to find the FAQ easily enough.

Go to comp.lang.c in Google groups, type FAQ in the search box, and
whammo, second link down is the latest FAQ entry.

This is not hard. It's not unreasonable to expect everyone who comes
to this group to first do a search, which will likely get them the
answer they need faster than waiting for a response.

It's also hard to stay pleasant with all the self-appointed 'net
nannies boo-hooing about how *rude* we're all being.

The last paragraph is particularly telling.


Yeah. You're at least forty times more annoying than any random
clueless newbie.
Its really simple : if you can and want to then "help". If not,
dont. There is nothing that ruins a thread more than the usual
suspects piling in with their "read the fucking FAQ" type posts when
other more tolerant posters have posted a link or help directly.

And guess what I didn't do. Again, I was responding to *you*, not the
OP.
If you dont't see that that you should take a break.


Here's my posting history. Tell me how useless I'm being:

http://groups.google.com/group/comp....t=0&scoring=d&

Mar 27 '06 #16
John Bode wrote:

Richard G. Riley wrote:
[who cares]
Yeah. You're at least forty times more annoying than any random
clueless newbie.

Please don't feed the troll.

Brian
Mar 27 '06 #17

"Martin Ambuhl" <ma*****@earthlink.net> wrote in message
news:pb******************@newsread3.news.atl.earth link.net...
Richard G. Riley wrote:
On 2006-03-26, Martin Ambuhl <ma*****@earthlink.net> wrote:
Richard G. Riley wrote:
I assume you will be as rude to everyone else in this NG whose
questions are already answered in the FAQ and the Ansi Standard?

It is rude beyond belief to post in a newsgroup questions answered in
the FAQ. It is strange to find the even ruder "Richard G. Riley"
thinking that pointing out that posters should have checked the FAQ is
rude.

I think you should go back and see what you wrote "Martin".


Assholes who do nothing to help the original poster, telling them
nothing about where the FAQ is, what questions might be relevant, or
what normal postign is should just keep quiet. Some of them, like
"Richard G. Riley", while contributing *nothing* snipe at those who do
help. Yes, you are a rude and ignorant person.


Interesting, when I complained about others not contributing anything but
snipe (i.e., CB "PLONK" Falconer, et al) you said nothing... Asshole.
The fact that you think think the FAQ is accessible to or even known
to newbies who come here says more about you than it does the newcomer
who comes here in the earnest hope of finding some help.


This is akin to "Hey, I'm an American. How was I supposed to know you
English drive on the wrong side of the road." A poster old enough to be
posting here is old enough to know what is expected.
Did it even cross your mind that not all usenet users have web access?


No, from what I can tell about "Martin Ambuhl," it would never cross his
mind.

Did it ever even cross your mind that a newbie might not even know
what to look for in the FAQ? Probably not.


Did you ever grow a brain? Since when is news.announce.newusers not
accessible to newbies?


Mr. Riley, you forgot to point out to Mr. Ambuhl that usually only moderated
newsgroups have FAQ's.
You did not point him to the FAQ :


OK. You are a dmanable[sic] liar. There are four links to the FAQ,
including three to specific questions pertaining to his problem. It is
now completely clear that you are an antisocial troll who has *no*
interest in the truth. Goodbye.


Good riddance. What no "PLONK?" That's completely uncharacteristic of
you...

Mar 27 '06 #18

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

Similar topics

58
by: jr | last post by:
Sorry for this very dumb question, but I've clearly got a long way to go! Can someone please help me pass an array into a function. Here's a starting point. void TheMainFunc() { // Body of...
6
by: A_StClaire_ | last post by:
hi, wrote the following program to learn a bit about auto pointers. weird thing is, the char array 'name' with size 'max_size' displays a bunch of messed up symbols after the "John Smith" if...
9
by: sangeetha | last post by:
Hello, Is there any performance difference in using of the following two declaration? int (*ptr); //Array of 10 int pointers int *ptr; // pointer-to-array of 10. Regards, Sangeetha.
3
by: David Mathog | last post by:
This one is driving me slightly batty. The code in question is buried deep in somebody else's massive package but it boils down to this, two pointers are declared, the first is: char **resname...
23
by: sandy | last post by:
I need (okay, I want) to make a dynamic array of my class 'Directory', within my class Directory (Can you already smell disaster?) Each Directory can have subdirectories so I thought to put these...
2
by: StevenChiasson | last post by:
For the record, not a student, just someone attempting to learn C++. Anyway, the problem I'm having right now is the member function detAddress, of object controller. This is more or less, your...
11
by: memeticvirus | last post by:
I have an array cli::array<float, 2and I would like to access a subset of it's values by compiling an array of pointers. But, it's not possible to create an array of type...
8
by: isaac2004 | last post by:
hello, i posted with a topic like this but got no real feedback(prob cuz of lapse in my explanation) so i am trying it again. i am trying to set up a function that brings in a txt file and adds the...
5
by: nembo kid | last post by:
In the following function, s shouldn't be a pointer costant (array's name)? So why it is legal its increment? Thanks in advance. /* Code starts here */ void chartobyte (char *s) { while...
33
by: Adam Chapman | last post by:
Hi, Im trying to migrate from programming in Matlab over to C. Im trying to make a simple function to multiply one matrix by the other. I've realised that C can't determine the size of a 2d...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.