That is not a valid way to compare strings in C. You need to use one of the string compare functions: see strcmp, wcscmp, _mbscmp[^]. It is also a bad idea to use the goto statement, use loops instead.
I have an application in Visual C++ 6.0, but I need to send an arrangement of bytes to another computer through a net cable, using socket. Please that somebody please tells me how to make it or that they show me an example.
There are tons of examples out there, here is but one[^].
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
May be it is orthogonal information, If we want to hide/restrict usage of default copy constructor, we need to provide override declaration in private section of class, and no definition for that. This ensures preventing usages of copy constructor
Given his code it will be a sort routine like bubble sort, but it looks like homework to me so I am reluctant.
Usually they are asked to do an in place array sort and it. He hasn't worked out how to typecast the pointers properly and it seems to escape him that you can just malloc the arrays which is what his "new" statement hides.