Search:

Type: Posts; User: Stenland

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    1,653

    Thanks for the help Sebastiani, always helpful:)

    Thanks for the help Sebastiani, always helpful:)
  2. Replies
    7
    Views
    1,653

    #include #include #include...

    #include <stdlib.h>
    #include <stdio.h>
    #include <string.h>

    //const char EOL = '\n';

    /* decompress(char a)
    Denne metoden leser inn en char(int) i form av en byte.
    Deretter puttes de 4...
  3. Replies
    7
    Views
    1,653

    Thats a direct copy paste yes. Thats how I've...

    Thats a direct copy paste yes. Thats how I've been told to do command line arguments for now at least.

    The c was a char, I then changed it to an int after seeing your post and it didnt change...
  4. Replies
    7
    Views
    1,653

    Compressing problem

    Hi

    I'm currently writing a program that can take a file of ascii symbols and compress each symbol into 2 bits, and then decompress it again and print out the file. My decompress method works 100%...
  5. Help with methods and them refusing to start

    Nevermind I am an idiot
  6. Replies
    12
    Views
    2,104

    Thanks again Sebastiani for taking the time to...

    Thanks again Sebastiani for taking the time to learn me these things, really appreciated and it is going to be a massive help for me(I'm doing a course at uni this semester where we basically have to...
  7. Replies
    12
    Views
    2,104

    Thanks a lot for your help Sebastiani, learned...

    Thanks a lot for your help Sebastiani, learned some valuable lessons:)

    One last question for anyone that has time, that is related to you showing me that you can max the input size in the scan f...
  8. Replies
    12
    Views
    2,104

    Thanks for your help so far. Unfortunately the...

    Thanks for your help so far. Unfortunately the problem still persists after I removed the amperstand. The rest of the code is identical to what I pasted on these boards. Did it work properly for you...
  9. Replies
    12
    Views
    2,104

    Variable names and printf segments are in...

    Variable names and printf segments are in norwegian, but that shouldnt really matter:


    #include <stdlib.h>
    #include <string.h>


    int vocal(char a)
    {
    if(a == 'a' || a == 'e' || a == 'i'...
  10. Replies
    12
    Views
    2,104

    I have allocated enough space, both arrays are...

    I have allocated enough space, both arrays are size 10(im only using very short test names, in my example a name with the length 6)

    Vowelcounter has an initial value of 0

    The 2 arrays are...
  11. Replies
    12
    Views
    2,104

    Segmentation fault issue

    Hi

    I'm currently learning C and I have ran into an issue I cant figure out.

    I am trying to copy one char from a char array into another, and I am getting a segmentation fault.

    The code...
Results 1 to 11 of 11