Where did you get rid of retard? Better help and explain it in clear language to me and explain to me why the manuals are written in such an incomprehensible language that no one can understand
Type: Posts; User: DevZero
Where did you get rid of retard? Better help and explain it in clear language to me and explain to me why the manuals are written in such an incomprehensible language that no one can understand
Does my system not support this constant?
code:
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <errno.h>
#include <stdlib.h>
Now everything has worked. I do not like the perror function because it produces too little informative messages and it's better to do it manually. Problem solved
Here's the code:
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <errno.h>
int main()
{
#include <stdio.h>
static void print()
{
printf("Ok!\n");
}
int main(int atgc, char *argv[])
{
FILE *f;
I know the rules of unix but now I do not follow them as it is deprived of a phone instead of a computer.
#include <stdio.h>
const void f_write()
{
FILE *f;
char Text[]="Test\n";
if...
No, writing your programs for hacking is much more interesting. I already found 5 bugs in linux and I will not tell anyone about them hahaha! :biggrin:The problem is solved by all so far, the topic...
My code:
#include <stdio.h>
const void write()
{
FILE *f;
char Text[]="Test\n";
if ((f = fopen("text.txt","a")) == NULL)
I'm going to do a program that hacks linux. I removed the ampersand but the output remained the same with unreadable characters.
I just created a new topic and when I wanted it, then the following error popped up:
I wrote a small program:
#include <stdio.h>
int main()
{
FILE *f;
char Text[]="Test\n";
if ((f = fopen("text.txt","a")) == NULL)
Thanks, all worked well
This:
#include <stdio.h>
#include <sys/time.h>
#include <time.h>
struct tms tmsBegin,tmsEnd;
void time_start() { times(&tmsBegin); }
long time_stop()
This function is not mine, I took it from the Internet. Here's the code:
#include <sys/time.h>
#include <stdio.h>
struct timeval tv1,tv2,dtv;
struct timezone tz;
void time_start() {...
I read many manuals and finally understood how to solve this problem:
#include <stdio.h>
#include <unistd.h>
int main(int argc, char *argv[])
{
int x = execvp(argv[1], argv);
if(x==-1)
This code is very buggy, although I did not change anything in it, here's the log:
Script started on Sun 16 Jul 2017 04:40:52 PM MSK
root programs [0;31m$ [0m /a[K[K[K./a.out ...
made this decision:
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
int main()
{
FILE *popen_result;
char buff[512];
This code works, but it can not understand whether the file was executed or not.
I tried to print the return value: printf("%d\n", popen_result), but each time the program simply outputs a random...
I realized why the code runs so slowly. I made this code:
#include <stdio.h>
int main()
{
FILE *f;
f = freopen("out", "a", stdout);
for(int num=0; num<1000000;++num)
There's a small mistake, here's the correct code
#include <stdio.h>
#include <time.h>
#include <string.h>
#define SIZE 8
#define MAX1 100000
I made a harvester of 3 programs:
#include <stdio.h>
#include <time.h>
#include <string.h>
#define SIZE 8
#define MAX1 100000
Of course I know this, but the code works as read carefully the code, it says a<= and not a<. Running the code gives a stable generation, at least for me, so here you are wrong.
I specifically use a non-existent command to call and process the error, but as you can see I can not do it and I really need it.
My gcc: 4.9.2-10 gnueabihf
My code:
#include <stdio.h>
int main()
{
FILE *popen_result;
char buff[512];
popen_result = popen("Err", "r");