#include <iostream>
#include <time.h>
#include <stdio.h>
#include <process.h>
#include <stdlib.h>
#include <sys/types.h>
using namespace std;
int getpid();
void main()
{
int length=0;
srand(time(NULL));
{
do
{
int get_Record();
int getpid();
length++;
}
while(length);
putchar(true);
srand(true);
}
}
I have no clue what is wrong, I have tried everything I know. I have even just messed around with it. The only output I did get, when I was messing around with it, was numbers. I tried to get an idea of where things should be, by using my random number generator, is that where I went wrong? Or am I missing something so blatantly simple?

New Topic/Question
Reply



MultiQuote




|