User Profile
Collapse
-
select() time out on both server n client side which i ve handeled in... -
ya i have checked it ut .... its attached ... m giving u the code kindly help me ut.....
Code:/***************************************************************************/ /* This sample program provides a code for a connection oriented server. */ /***************************************************************************/ /***************************************************************************/
Leave a comment:
-
server not able to send data
hi i ve made my server but that is not able to send data ... can any one help me ...althhough the code is error free n the code is in c socket using winsock... n m using visuall c++ -
-
how to use append function
Code:EventLogEntryStruct EventLogEntry[100]; for(int i=1;;i++) { EventLogEntry[i].logName = "log-"; EventLogEntry[i].eventString = "event-"; EventLogEntry[i].bufPos = i; EventLogEntry[i].logIdx = i+1; logName.append(i);//= "log-"; EventLogEntry[i].dateTime = i+4; EventLogEntry[i].systemTick = i; Eve
-
urgent: how to include header file
hi
i have made one header file namedCode:struct EventLogEntry.h
-
help
Code:import java.util.*; class Palindrome { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.println("enter the number: "); int no = scanner.nextInt(); int[] num = new num[no]; for(int i=0;i<=no;i++) { System.out.println("enter the numbers: "); num[i]=scanner.nextInt();
-
see first of all see what u have to do .... ur requirement is to print 5 stars in single line ....and u must also be knowing that the for loop consists of 3 parts nmely:
1) initialization 2) condition and 3) increment and decrement
now u see that u have to print first single star then 2nd then 3rd and then so on
so loop will be like initialization : 1(i=1) n condiotn will be like untill n unless its equal to 5 (i<=5)and...Leave a comment:
-
-
plz help
Code:class String1 { public static void main(String[] args) { String string = "hi this is alok kumar singh working in honeywell"; int start=10; int end=25; char buffer[] = new char[end-start]; string.getChars(start,end,buffer,0); System.out.println(buffer); } }
in line : string.getChars (start,end,buff er,0);.... now in this if i... -
hai jos... its ok... right .....every one at some stage does sum mistake dat doesnt mean u will horn them.... its ok chilll...Leave a comment:
-
-
help me to understand the line
Code:a1(new int[]{1, 2, 3, 4});
-
Code:a1(new int[]{1, 2, 3, 4});
Leave a comment:
-
-
how can we put the classes in .jar file plz explain me...as m still a begineer so plz tell me...Leave a comment:
-
-
pralu replied to Stuck!?! I need a program that loops 20 times and sums only even integer index valuesin Java[CODE]
may be this code helps u ....
<Code removed by Admin>Last edited by r035198x; Mar 28 '08, 06:48 AM. Reason: spoon feeding is against site rules. Don't do it againLeave a comment:
-
pralu replied to Stuck!?! I need a program that loops 20 times and sums only even integer index valuesin Javacan u plz tell me that the values u gonna enter is in array or not......
and if its array then it must b very simple to do...Leave a comment:
-
No activity results to display
Show More
Leave a comment: