by: megha |
last post by:
Hi
I have string in java now i want to replace that string but at same
time I want
this string is replaced on same memory location on which first string
was.
How I can do it. In simple replace...
|
by: bml |
last post by:
char s1 = "this string";
char *s2;
s2 = (char *)malloc(30);
memset(s2, 0, 30);
/* this supposes to copy string s1 to s2 */
while((*s2++ = *s1++) != '\0');
/* Why empty content of s2 print...
|
by: marfi95 |
last post by:
Hi all.
I need to copy a byte array into a string, but starting at a specific
location in the byte array. This is where I get hung up. For example if
my byte array is (100) big, I might want to...
|
by: Simon |
last post by:
Hi,
I have a class that does not seem to work.
I cannot see the problem, and the "fix" I have found does not help me
understand what the problem was
I know I don't need a copy constructor but...
|
by: CMirandaman |
last post by:
Sounds like a stupid question I know. I can tell that they are used to copy
strings. But what is the difference between
x = y;
versus x = String.Copy(y);
Or are they essentially the same?
|
by: akarui.tomodachi |
last post by:
I have two structure definitions as below:
typedef struct _sourceString
{
char firstSourceString;
char secondSourceString;
char thirdSourceString;
}sourceString;
|
by: Gary |
last post by:
I'm confused about the two ways of string copy below. The first one
(two functions) works; the second doesn't. Can anybody explain the
reason to me? Thanks a lot.
#include <stdio.h>
/*this one...
|
by: wahaha |
last post by:
Hi,
In a small code to implement string copy:
while(*a++ = *b++) ;
both a and b are char pointers. This code works but at the end, when *a
= *b = '\0' finishes, both a and b step one block...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
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: 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: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
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
|
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...
|