This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type UpdateMsg struct { | |
UpdateID int64 `json:"update_id"` | |
Message struct { | |
Text string `json:"text"` | |
From struct { | |
ChatID int64 `json:"id"` | |
FirstName string `json:"first_name"` | |
LastName string `json:"last_name"` | |
Username string `json:"username"` | |
} `json:"from"` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void reinvestment(double *a, double *b, /*int dh,*/ int re) { | |
double * arr1; | |
arr1 = (double *)malloc(sizeof(double) *Dimension); | |
double * arr2; | |
arr2 = (double *)malloc(sizeof(double) *Dimension); | |
for (int i = 0; i < Dimension; i++) { | |
arr1[i] = *(a + i); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <netdb.h> | |
#include <netinet/in.h> | |
#include <string.h> | |
int main( int argc, char *argv[] ) { | |
int sockfd, newsockfd, portno, clilen; |
NewerOlder