Forum: C++ Dec 5th, 2006 |
| Replies: 1 Views: 1,743 do any1 knows how to get the client IP 4rm a c++ server application using |
Forum: C++ Oct 20th, 2004 |
| Replies: 9 Views: 12,667 |
Forum: C++ Oct 20th, 2004 |
| Replies: 9 Views: 12,667 float median(int* x, int n)
{
return ((x[n/2])+(x[(n/2)+1]))/2;
} |
Forum: C++ Oct 15th, 2004 |
| Replies: 9 Views: 12,667 sorry again it will b ((x[n]/2)+(x[n+1])/2)/2 |
Forum: C++ Oct 15th, 2004 |
| Replies: 9 Views: 12,667 ((n/2)+(n+1)/2)/2
n is the nmber of elements in the array
i e
if yr array was x[n];
median = ((x[n]/2)+(x[n]+1)/2)/2; |
Forum: C++ Aug 27th, 2004 |
| Replies: 1 Views: 2,232 working on a project on c++ consol application and need to change the color of a specific letter in a text on the output screen
4 example :
VIew
pllz help
thx
:confused: |
Forum: C++ May 25th, 2004 |
| Replies: 2 Views: 6,033 is there anything in c++ that provides to print out on screen colored text
ex.
cout<<"welcome"<<endl;
output:
welcome
thx |
Forum: C++ May 25th, 2004 |
| Replies: 6 Views: 15,987 i'm working on a project and i really want to know if c++ provides to print out colored text or not.
thx |