Skip to content
Tags

, ,

Lunux Ubuntu C++ модуль математика

by admin on May 18th, 2011

/*
* File:   main.cpp
* Author: r2d2
*
* Created on 25 Февраль 2011 г., 14:18
*/
#include <stdio.h>   /* Standard input/output definitions */
#include <string.h>  /* String function definitions */
#include <unistd.h>  /* UNIX standard function definitions */
#include <fcntl.h>   /* File control definitions */
#include <errno.h>   /* Error number definitions */
#include <termios.h> /* POSIX terminal control definitions */
#include <sys/types.h>

#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/resource.h>
#include <sys/stat.h>
#include <sys/shm.h>
#include <sys/wait.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/time.h>
#include <signal.h>
#include <cstdlib>

using namespace std;

/*
*
*/
int main(int argc, char** argv) {
int a=-1;
int b;
b=abs(a);
printf("a=%d\n",a);
printf("b=%d\n",b);
return 0;
}


From → C/C++, Ubuntu Soft

Comments are closed.