i've cracked it now with the help of that! thanks very much, all it needed was a scanf before the gets, which is strange because
1. it doesn't need that in my other program and
2. my 'Beginners...
Type: Posts; User: arealfind08
i've cracked it now with the help of that! thanks very much, all it needed was a scanf before the gets, which is strange because
1. it doesn't need that in my other program and
2. my 'Beginners...
I have done this, that's why I said I've worked it out, the code is
#include <stdio.h>
int main()
{
char ansone[30];
FILE *file_ptr;
file_ptr = fopen("data.txt", "a");
Hi everyone, I need some urgent help and wondered if anyone would know what I'm doing wrong here. I've got a project to do where I need to make a basic bot, basically I want the program to (if the...
I have been set a task to create a chat bot in C. My knowledge of C is very limited and I could really do with some guidance as what needs to be included. If anyone could give me any tips or guidance...