Search:

Type: Posts; User: Ditrik

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    2,764

    Each time I've tried this I've ended the program...

    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...
  2. Replies
    7
    Views
    2,764

    FSCANF/FPRINTF Skip Line and Print

    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()
    {
  3. Thread: Infinite loop

    by Ditrik
    Replies
    2
    Views
    1,297

    Infinite loop

    I stumbled upon a problem while I was coding.



    void main()
    {
    int n;
    do
    {
    printf("Write a number in interval [10,100]\n");
  4. Replies
    4
    Views
    1,539

    Thanks for all replies, I solved my problem ....

    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:


    ...
  5. Replies
    4
    Views
    1,539

    Assigning Array to Pointer?

    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...
Results 1 to 5 of 5