Search Results

Showing results 1 to 17 of 17
Search took 0.01 seconds.
Search: Posts Made By: perlsu
Forum: C Mar 23rd, 2006
Replies: 2
Views: 1,213
Posted By perlsu
I would like to know whether the dynamic memory pointer is still available even after freeing the allocated memory. If I want to allocate and deallocate so many times within a loop , I receive memory...
Forum: C++ Mar 15th, 2006
Replies: 4
Views: 3,237
Posted By perlsu
I create the dynamic array with malloc and assign the last char to NULL. When I assign the NULL character, the warning message as follow appear:

'=' : 'unsigned char ' differs in levels of...
Forum: C Feb 18th, 2006
Replies: 2
Views: 2,239
Posted By perlsu
I want to change isOpen variable in main function from threadfun. But , the following code doesn't change the isOpen value in main fun . So, main stay forever in while loop even though the thread fun...
Forum: C Feb 16th, 2006
Replies: 2
Views: 20,947
Posted By perlsu
I have a problem in converting char to integer. My code is as follow:

char lang [2][4] ={"en","fr"};

char ch = lang[0][0];
int i = sprintf("%d",ch); //want to get integer value of 'e' in...
Forum: C Feb 14th, 2006
Replies: 1
Views: 4,302
Posted By perlsu
I use Win 32 API for thread creation :

unsigned long _beginthread( void( __cdecl *start_address )( void * ), unsigned stack_size, void *arglist );

How do I pass the multiple parameters to...
Forum: C Feb 14th, 2006
Replies: 0
Views: 1,668
Posted By perlsu
I use CSocket with send() and recv() to send and receive structure packets of type Packet as follows:

class Packet {
int dataLen;
char data[1024];
} packet;


I tried but the received...
Forum: C++ Feb 13th, 2006
Replies: 1
Views: 1,624
Posted By perlsu
When I build my project I get an error in the excpt.h header file. The build error tells me that there is a missing ';' before 'string' at the line in excpt.h that reads

extern "C" {

Another...
Forum: C Feb 13th, 2006
Replies: 2
Views: 5,025
Posted By perlsu
Hi all,

My csocket program is as follow. The program run properly but the server don't wait the message from client and the client also don't send. Can anyone help me what's the problem in client...
Forum: C++ Feb 11th, 2006
Replies: 1
Views: 5,083
Posted By perlsu
I want to run the visual C++ projects with the command line arguments. How can I give these arguments in project settings? or How can I run these project from command prompt?

Thanks!
Forum: C Feb 11th, 2006
Replies: 1
Views: 992
Posted By perlsu
I'm trying to compile a program and the 3 linker errors I get are:

Linking...
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadex
nafxcwd.lib(thrdcore.obj) :...
Forum: C++ Feb 11th, 2006
Replies: 2
Views: 3,647
Posted By perlsu
When I run my program, the following error occurs. If anyone knows how to solve this error, pls help me. Thanks a lot in advance.

Rgds,
perlsu



fatal error C1001: INTERNAL COMPILER ERROR
...
Forum: Java Sep 18th, 2005
Replies: 4
Views: 19,579
Posted By perlsu
Can anyone help me to get the estimate value of float value 1001.27124 to 1001.27? Math.round(float) function return the int value. But I want to get float value result with 2 decimal point; Thanks...
Forum: Java Sep 14th, 2005
Replies: 3
Views: 8,713
Posted By perlsu
Hi

I want to replace "ta,at,an,bc" in main string {ta,at,an,bc,ta,at,an,bc,ta,at,an,bc,ef,ta,at,an,bc,ta,at,an,bc" with (ta at an bc)*.The result array should be "(ta at an bc)*,e,(ta at an bc)*"....
Forum: Java Sep 14th, 2005
Replies: 5
Views: 1,836
Posted By perlsu
Hi

I got runtime error as "Exception in thread "main" java.lang.OutOfMemoryError: Java heap space ". How can I solve this problem? Can anyone explain me why this problem occurs? Thanks in advance.
Forum: Java Sep 14th, 2005
Replies: 3
Views: 1,561
Posted By perlsu
Forum: Java Sep 14th, 2005
Replies: 3
Views: 1,561
Posted By perlsu
Hi

I got the error for possibleseq array . The error is java.lang.NullPointerException. As java doesn't support pointer, when want to use dynamic array, how I can use. The array length cannot...
Forum: Java Sep 13th, 2005
Replies: 1
Views: 3,145
Posted By perlsu
Hi

I need to find the repeated substring in string with repeated times = 2.
Can anyone help me some hint? Thanks in advance.

e.g, input string = abcdcbcbcada
repeated string with repeated...
Showing results 1 to 17 of 17

 


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

©2003 - 2009 DaniWeb® LLC