hello friends,
I need your help in regards with socket programming in c.
If anybody knows it plz help me out.
you have to write a program for a TCP client.
the problem is to to write a program that will do follwing stuff...
1. Take a server hostname and a port number as command-line arguments.
( Your client must resolve the hostname into an IP address.)
2. Connect to the server at the given...
User Profile
Collapse
-
[#include<fstrea m>
#include <iostream>
#include <stdlib>
using namespace std;
void reverse_file(if stream&file);
static int nofl=0;
int main (int argc,char *argv[])
{
if (argc==1)
{
cerr<<"usage:"< <argv[0]<<"filename[s]""\n";
exit(1);
}
ifstream fin;
... -
plz help...(printing text in reverse order)- c program
hello,
I need help (code) on following program ,its in c...
1)allow user to write file name in command line, read the file...
2) count characters, spaces and no. of lines in file given...
3)read upto first 10 lines, and print them in reverse order
thanking you in advance
No activity results to display
Show More
Leave a comment: