by: Yang Song |
last post by:
HI, I am a little confused about char * and char.
How would I be able to return a char* created in a function? Is new() the only way? How would I be able to return a
point and a value at the same...
|
by: Steven Taylor |
last post by:
Hope someone can assist. I'm trying to answer a book question. I'm
going around in circles in relation to 'pointer-to-char'. Object : A
short program is to be created, which involves a...
|
by: Chris Mantoulidis |
last post by:
I never liked pointers really much, so I decided to stay away from
them for a while. I know they're useful, so now I decided to actually
learn how the work, use them, etc.
Here's my question......
|
by: damian birchler |
last post by:
If I run the following I get a segmentation fault:
#define NAMELEN 15
#define NPERS 10
typedef struct pers {
char name;
int money;
} pers_t;
|
by: Dakkar |
last post by:
I want to make a password system like this
every character will have an equal character
for example a will be equal to g and b will be equal to f
when person writes ab it will change automaticly...
|
by: Marcelo |
last post by:
Hi,
I have a declaration like the following:
char tmp;
char tmp2;
strcpy (tmp, "58257619");
strcpy (tmp2, "");
|
by: dave |
last post by:
From the FAQ:
1.32: What is the difference between char a = "string"; and
char *p = "string"; ?
A: The first declares an initialized and modifiable array; the
second declares a pointer...
|
by: olmansju |
last post by:
Hi,
I'm trying to access ConceptNet's XMLRPC server but I cannot seem to get the PHP client-side method written correctly. :-(
I send out the call which includes:
$message = new...
|
by: owolablo |
last post by:
Can anybody please tell me how to change the individual elements of a
char variable. I need to parse through the string, check for a
particular character and change it to something else if it is...
|
by: kumarvis |
last post by:
int main ()
{
char *str = *Aamit ;
*str='R' ;
printf("%s \n " ,str);
}
it's giving segfault
why ?????
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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...
|
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...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
|