LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-08-2018, 03:40 PM   #1
hasanhosin
LQ Newbie
 
Registered: Mar 2018
Posts: 1

Rep: Reputation: Disabled
prg 1


hi all

i need code c

example:
--------------------------------------
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <sys/socket.h>

typedef struct savedata{

int id;
char data[2048];
int sizedata;
}


void read(savedata *v){

READ data and save to struct

}

void readdata_struct(savedata *v){


read data from struct savedata and send to multiple clients

}

int main(){


???

//i need code full thnksssssss all


}
 
Old 03-08-2018, 04:08 PM   #2
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_10{.0|.1|.2}
Posts: 4,844
Blog Entries: 6

Rep: Reputation: 2674Reputation: 2674Reputation: 2674Reputation: 2674Reputation: 2674Reputation: 2674Reputation: 2674Reputation: 2674Reputation: 2674Reputation: 2674Reputation: 2674
Welcome to LQ!

Please review the Site FAQ for guidance in posting your questions and general forum usage. Asking others to write your full code for you is not the way things work here.

Members here are happy to help you with your homework, but please do not ask them to do it for you. Try to work it out yourself, then ask for help with the parts you do not understand.

Also, please place your code snippets inside [CODE]...[/CODE] tags for better readability. You may type those yourself or click the "#" button in the edit controls.
 
3 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in compiling c++ prg's sach1n Programming 8 11-21-2009 01:41 AM
*.prg mobile linux package maciejus Linux - Laptop and Netbook 0 05-04-2007 12:56 PM
Command line prg keshu_lk Linux - Kernel 2 11-09-2006 10:44 PM
Email Prg bluewater Linux - Newbie 6 04-22-2006 02:12 AM
problem executing prg with anjuta freeindy Linux - Software 4 04-04-2005 12:28 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration