Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #2K
~2K People Reached
Favorite Forums
Favorite Tags

13 Posted Topics

Member Avatar for predator5047

I want to write a Tcp file transfer program , the problem is that when i send the file size and file name the client doesn't receive the as two separate packages but as a package witch contains both the file name , size and the file content. This is …

0
63
Member Avatar for a.muqeet khan

It because you didnt include the cout<<city in the while loop so just outputted the end portion.

Member Avatar for thines01
-1
401
Member Avatar for sat21091

I see that your function abc locks like a event , you add a event to a control this way <control name>.event += new new EventHandler(<event function>). In your case it would be: [CODE]b[i,j].Click += new EventHandler(abc);[/CODE]

Member Avatar for skatamatic
0
219
Member Avatar for ocw91

You are getting an error because at line 36 and 48 you exit the bounds of your string.In Java an array starts at position 0 to array lenght-1 the string.lenght() returns the array size starting from position 1 thats why you are getting the error.You can easly solve this by …

Member Avatar for stultuske
0
206
Member Avatar for gourav1

"Head First Java" by Kathy Sierra and Kathy Sierra is a very good book.

Member Avatar for Trentacle
0
119
Member Avatar for burcinerek

In your if's you need to change it to if (ch == <vowel> || ch==<capital vowel>).The "||" operator means logical or.

Member Avatar for rubberman
0
110
Member Avatar for sania khan

Its because strcpy works like this strcpy(<destination>,<source>) you reversed the destination with source that's why it didn't work.

Member Avatar for vijayan121
0
390
Member Avatar for programing

First program recursively calculates n to the power of x. Second program recursively calculates the number of digits of n.

Member Avatar for predator5047
0
147
Member Avatar for Dakot

When you add num%10 to sum you need to test if its a even number.A number is even if the number % 2 == 0 meaning that the remainder of the number divided by 2 is 0 since all even number are divisible by 2.

Member Avatar for burcinerek
0
172
Member Avatar for programing

I do not understand what you wanted to do with this: [CODE]for ( int i=0;i<=size;i++){ if(array[i]==array[i].length-1) System.out.print("plindrom "); else System.out.print("not plindrom "); }[/CODE] You are just comparing the number stored in array[i] with the length of the array minus one.So just to be clear a number is a palindrom if …

Member Avatar for .:n'tQ-boy:.
0
213
Member Avatar for sharathg.satya
Member Avatar for lt johnson

You forgot to add the control to the forum,you add controls with the instruction this.Controls.Add(control here). This is the corect code : [CODE] Label[] labels = new Label[10]; for (int i = 0; i < 10; i++) { labels[i] = new Label(); labels[i].Text = "0"; labels[i].Location = new System.Drawing.Point(100, i …

Member Avatar for lt johnson
0
161
Member Avatar for stevanity

You could split the string by the ';' caracter and if you found the '(' caracter it means that the name before it is a nickname and the name until the ')' caracter is a email.

Member Avatar for stevanity
0
141

The End.