Each time I've tried this I've ended the program so the changes should happen.
I've fiddled around it little more and found out that after adding fseek(txt, 0L*sizeof(char), SEEK_CUR) between...
Type: Posts; User: Ditrik
Each time I've tried this I've ended the program so the changes should happen.
I've fiddled around it little more and found out that after adding fseek(txt, 0L*sizeof(char), SEEK_CUR) between...
Hello.
I'm trying to skip line and input text which will overwrite the current one in .txt file.
I've tried this:
int main()
{
I stumbled upon a problem while I was coding.
void main()
{
int n;
do
{
printf("Write a number in interval [10,100]\n");
Thanks for all replies, I solved my problem .
The problem that I was experiencing with the program is just blank screen after I entered first 10 numbers.
Here's the working code:
...
Hello, I was creating a program that will see if the number is prime or not but unfortunately I encountered a problem.
This is the code I have so far:
#include<stdio.h>
void primefunc (int...