- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 1
- Downvoting Members
- 2
8 Posted Topics
I'm trying to do some socket programming in java. what i have is, i've written this program to create a server and client on my local machine and make separate two threads for socket input and out put in [B]Se.java[/B] file. Similarly two separate threads for socket input and output … | |
hey friends :D! alright i was tryin to work with serialization basics and now i am stuck with this problem of reading an object from a file named 0x.txt. and i know ths program is really a hell lot full of bugs but i have just started sp plz dont … | |
hi.i m trying to this program for QuickSort but unable to detect what's wrong in it..probably the prblem is in Divison.. so here's the code:icon_eek:: [CODE] # include <iostream> using namespace std; # define N 20 int Divide(int a[],int left,int right) { if (right < 1) return 0; int i=a[left], … | |
i m trying to do this program to get digits from a number using linked lists..but don't know something is wrong.a logical error:-/ at the place of actual output it shows nothing clear blank ecept the message.so here's the code: [CODE] //DigitNode.cpp # define NULL 0 class DigiNode { private: … | |
Re: try this;) [CODE] # include <iostream> using namespace std; void main () { int n, r[10], q, i; cout <<"\n input a positive number:"; cin >>n; if (n < 0) { n=-n; } cout<<"\nthe separate digits of number "<<n<<" are:"; for (q=n,i=1;q!=0;r[i++]=q%10,q=q/10); for(i=i-1;i>0;i--) { cout<<r[i]<<", "; } } [/CODE] | |
hey, i came across this program linked linear list about nodes and all and i m literaaly flustered @ understanding it(only the code in LLLIST.CPP----i mention below)....specially with the POINTERS... SO PLZ CAN ANYONE EXPLAIN ME THE WORKING OF THE CODE IN LLLIST.CPP, THAT I HAVE MENTIONED BELOW:icon_cool:.... MAYBE I … | |
hey, i was writing this program for complex number calc and when i run it ,it never returns me the right values.. so can u plz make necessary changes where i m wrong.. YEAH AND ONE IMP THING TO TELL U I M BEGINNING WITH POINTERS AND I LITERALLY SUCK … | |
hey!i was tryinn to write this complex number addition and i dunno where this garbage value it is pickin from :-/.... m gettin mad over this because first time such a simple program has got me all over :icon_mad:.... so here's the code: # include <iostream> using namespace std; # … |
The End.