Hi
Could any body tell me how to write a function to find length of a string
I wrote this function using arrays and using pointers. I want another approach.I.e I want third way of finding len...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20650436.html
Zones:
C++Date Answered: 06/17/2003 Rating: 6.8 Views: 0
I am trying to copy a string from one char* to another*
I have a bunch of methods like
SetFirstName(char* str)
{
SetString(&firstName, str);
}
//Description: Copies a string fro...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_21018321.html
Zones:
C++Date Answered: 06/24/2004 Rating: 5.8 Views: 0
I am using strlen() to find the length of a very large string, this huge string, over 200,000 chars, causes it to have an access violation, or just makes the program hang, is there another function...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_21076461.html
Zones:
C++Date Answered: 07/31/2004 Rating: 6.2 Views: 0
Hi,
This code:
****
....//defines
using namespace std;
int Gogo(PUNICODE_STRING p1,char aa[129]){
p1->length = (strlen(aa) + 1) * sizeof(int16);
p1->buffer = new int16[p1->length];
unsi...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_21154939.html
Zones:
C++Date Answered: 10/04/2004 Rating: 8.4 Views: 0
Hi, I have two values "EID=" and "Usr=". I want to extract the text between these two items in a string.
The following code is giving me error:
C:\VC\TradesFromFile\test2\test.cpp(62) : error...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_21599887.html
Zones:
C++Date Answered: 10/19/2005 Rating: 8.6 Views: 0
Hello everyone. I think this question might be a laugher for some of you guys since your so good but basically I have a program in C++ to get words into Piglatin format but I want this program to l...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_21618308.html
Zones:
C++Date Answered: 11/03/2005 Rating: 8.2 Views: 0
#include <string.h>
#include <stdio.h>
#define IIMAGE "T";
int main(){
printf("%d",strlen(IIMAGE));
}
What is the problem of this program? I expect the output to be 1 but it keep saying syn...
http://www.experts-exchange.com/Programming/Languages/C/Q_22055764.html
Zones:
CDate Answered: 11/13/2006 Rating: 9.8 Views: 0
Hi,
I have a string called $id, its can be or variable length, but will end with either p or e. The first part of the string will be numeric, an example of what it can contain is, 45e, 567p, 23e, ...
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_22940183.htm...
Let say I have "12345" store in $str.
How do I tell how many chars are in $str ?
http://www.experts-exchange.com/Programming/Programming_Languages/Perl/Q_20287585.html
Zones:
PerlDate Answered: 04/11/2002 Rating: 8.2 Views: 380
Hello,
My project has memory leak and I need to test if a Char* string is free.
It shows up in debugger as "" but if I test it like this
if (string)
string = NULL; // this results in "inv...
http://www.experts-exchange.com/Programming/Handhelds_-_PDAs/Palm_OS/Q_22059500.html