by: ehames |
last post by:
Hi guys,
As far as I know, for any type T, and positive integer N, if I have an
array declared as:
T array;
then,
&array and array are the same element. Is there any reason why a
|
by: ashu |
last post by:
look at code
#include<stdio.h>
int *mult(void);
int main(void)
{
int *ptr,i;
ptr=mult;
for(i=0;i<6;i++)
{
printf("%d",*(ptr++));
|
by: Wondering Wanderer |
last post by:
hi,
If I declare a character array ( say, char arr ), how do I see the
address of the first element of the array ? simply using cout << arr or
cout << &arr displays the entire string in the...
|
by: John den Haan |
last post by:
Hello!
I was wondering how I can pass a pointer to a 2D-array (declared with a
malloc-construct) as if it were a continuous 1D-array of the size
(rows*cols)? Is this at all possible, and if so,...
|
by: Chris Forone |
last post by:
Hello Group,
there is some memberfunc for std::valarray to return a pointer to the
first element in the array. How do i use this? Thanx a lot.
HAND Chris
|
by: Szabolcs Borsanyi |
last post by:
I know that this topic has been discussed a lot, still I'd appreciate
a clear cut (and correct) answer:
I pass a multidimensional array to a function, which is defined as
int f(int a)
{
int...
|
by: nembo kid |
last post by:
I have the following bidimensional array
int a ;
Why the first address of this array is only:
& (mat)
and not also:
|
by: CSharper |
last post by:
I am trying to use the following; I have an array with bunch of values
in it. I am trying to find a value that contains part of the string I
am passing
eg
string array = {"help","Csharp rocks"}
...
|
by: mab464 |
last post by:
I have this code on my WAMP server running on my XP machine
if ( isset( $_POST ) )
{
for($i=0; $i<count($_POST);$i++)
{
if ($ans != NULL )
$ans .= ", " . $_POST ; // Not the first...
|
by: dopiotrko |
last post by:
Is it possible to change the address of one element of int table?
My program would be much simpler, if the first element of the table
would be same as last one. I mean:
int *s;...
|
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...
|
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...
|
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...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
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...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
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
|