Search Results

Showing results 1 to 29 of 29
Search took 0.01 seconds.
Search: Posts Made By: savinki
Forum: JSP Nov 11th, 2008
Replies: 0
Views: 1,483
Posted By savinki
How can we set and get cookies in struts2.
I tried with ;

Cookie a = new Cookie("name","value"); - but this throws a null pointer exception.
because of this exception I used...
Forum: Java Oct 30th, 2008
Replies: 1
Views: 472
Posted By savinki
can some1 tell me the way of doing paging in a struts frontend.
Forum: C++ Jun 3rd, 2008
Replies: 14
Views: 3,800
Posted By savinki
Hi,

wt is the function that can use to count number of digits in a long integer?
e.g. 12345678 -> 8
11 ->2
456 -> 3
6724 -> 4
Forum: C++ Jun 3rd, 2008
Replies: 1
Views: 1,115
Posted By savinki
Hi,
Can someone please tell me,
Is there any builtin function to convert decimal value to a fixed format?
e.g. 6 to 0006
10 to 0010
123 to 0123
4987 to 4987
Forum: C++ Jun 2nd, 2008
Replies: 5
Views: 1,898
Posted By savinki
Hi all,

Its working fine if I pass it as a char ** FeedBack not as Const char ** Feedback.
seems to b we cant pass const values like this way???
Forum: C++ Jun 2nd, 2008
Replies: 5
Views: 1,898
Posted By savinki
Hi salem,

as u said problem might not in those three lines. becoz i m passing that FeedBack value to a function

MyClass obj;
obj.setvalue(FeeedBack); // here Feed Back is of type const char**...
Forum: C++ Jun 2nd, 2008
Replies: 3
Views: 3,319
Posted By savinki
Thankx Anc. Dra. for ur help. but the solution doesnt suits for my need. becoze i m using that character concatenation program segment in another one. basically i need to assign extracted characters...
Forum: C++ Jun 2nd, 2008
Replies: 3
Views: 3,319
Posted By savinki
can someone please explain whats wrong with the below code segment? My intention is to assign characters in pointer "p" to pointer "a" one by one until the end. but this throws run time exception. I...
Forum: C++ Jun 2nd, 2008
Replies: 5
Views: 1,898
Posted By savinki
I tried to initialized const char pointer to pointer variable. Following is the way i did it.but once i run the program it thows an error(Pops up "encountered an problem and needs to close... Tell...
Forum: C++ May 30th, 2008
Replies: 2
Views: 741
Posted By savinki
why cant we use strcat without initialing first parameter?
e.g.
char *b = "a";
char *a;
strcat(a,b);
Forum: C++ May 29th, 2008
Replies: 6
Solved: split data
Views: 955
Posted By savinki
thanks edward.
The solution given by the Edward is woring fine. but it fails if data starts with a digit.
e.g. char *p = "006gterfs002rt005tyuri0028ab004oiuy010rtyuioiuyt";
here length of the data...
Forum: C++ May 29th, 2008
Replies: 6
Solved: split data
Views: 955
Posted By savinki
example for the format of the data is:
5gterfs2rt5tyuri4oiuy10rtyuioiuyt
Forum: C++ May 29th, 2008
Replies: 6
Solved: split data
Views: 955
Posted By savinki
no its not warapped in {}. just for understanding I used it. so i couldnt use strtok either.
Forum: C++ May 29th, 2008
Replies: 6
Solved: split data
Views: 955
Posted By savinki
I want to split data in a string. The string will consist of several data. Before every element the length ofthe element will come. I want to exract data one by one.

e.g. char * abc = "[length...
Forum: C++ May 27th, 2008
Replies: 3
Views: 2,499
Posted By savinki
How can I convert char* to a char value?
can someone reply me asap
Forum: C++ May 27th, 2008
Replies: 2
Views: 373
Posted By savinki
how can I do this?? can someone help me

char * abc = "as,df,ert:we,rt,yu:ee,rr,tt";

Class x
{
char * a,*b,*c;
}

vector<x> vtr;
Forum: C May 26th, 2008
Replies: 5
Views: 1,311
Posted By savinki
I want to split a string into token depending on different delimiters.

e.g. char * temp = "asfs:ggd,oper:eger,ropptujnsdn:hfhgw";
and firstly I want to split data by using "," (lets call a...
Forum: C++ May 26th, 2008
Replies: 3
Views: 2,710
Posted By savinki
How can I type cast char* to a long value?

e.g. char * abc ;
long xyz;
xyz = abc????
Forum: C++ May 20th, 2008
Replies: 3
Views: 440
Posted By savinki
Hi Duaos,
Thankx 4 ur support. but frm ur solution i couldnt solve the problem. bcozz i hv to use enumeration. (cannot use char array of pointers like u introduce). could u pls tell me way of...
Forum: C++ May 20th, 2008
Replies: 3
Views: 440
Posted By savinki
Hi,

I want to assign a char pointer value to enmerated value, to use in a switch statement.
Given below is the code segment. I dont hv an idea how to convert and assign char pointer value to a...
Forum: C++ May 13th, 2008
Replies: 1
Views: 709
Posted By savinki
This is the code segment I hv written. But its compiling well. but it doest give expected output, for me..

I want to write a function to split a char array by taking "," as the delimeter.
I m...
Forum: C++ May 12th, 2008
Replies: 1
Views: 1,102
Posted By savinki
In windows getline(,,) returns *this.
And Errors are signaled by modifying the internal state flags e.g. eofbit, failbit, badbit.
e.g. No characters were extracted -> then state flag = failbit
...
Forum: C++ May 12th, 2008
Replies: 2
Views: 542
Posted By savinki
i m getting this error. but i couldnt identified where i have gone wrong. could someone explained, normally in which situations this type of error occurs.


Error 1 error C2248:...
Forum: C++ May 12th, 2008
Replies: 1
Views: 5,563
Posted By savinki
i want to convert stringstream into a string type
e.g.

void countParameters(stringstream p_InputDataToCount, unsigned int &counter, char Delimeter)
{

size_t found;
//stringstream...
Forum: C++ May 5th, 2008
Replies: 1
Views: 629
Posted By savinki
We have a socket program written in standard c++.
Could anyone tell me about what are the test cases i should do?
Forum: C++ Apr 21st, 2008
Replies: 1
Views: 411
Posted By savinki
I want to convert a character to hexadecimal value.
and that value should be a unsigned char value.
e.g.
unsigned char a[16] = {0x00,0x44,...};

this is the code segment i wrote.
but its not...
Forum: C++ Apr 20th, 2008
Replies: 1
Views: 11,096
Posted By savinki
i want to convert char array element into hexadecimal value. But the code i wrote is not giving the output as i expect.

unsigned char in[256];

void Text(const char *Buffer)
{
static char...
Forum: C++ Apr 18th, 2008
Replies: 3
Views: 5,760
Posted By savinki
hey narue,

thankx alot!!
Its working.
Once again thankx
Forum: C++ Apr 18th, 2008
Replies: 3
Views: 5,760
Posted By savinki
I want to convert string to integer. My string values are something like 0x000,0x0001 and etc(i.e. values are in hexadecimal format). if i used atoi() function then it will take only 0.
but i want...
Showing results 1 to 29 of 29

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC