Search:

Type: Posts; User: scorpious; Keyword(s):

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    362

    [ubuntu] editing an audio book

    I've started listening to audio books when I run as a good story is great motivation to run longer.

    Does anyone know if there is a way to boost the volume of the file itself? On windy days they...
  2. Replies
    12
    Views
    563

    Re: C mixes decimals with chars in array

    ok thanks.
  3. Replies
    12
    Views
    563

    Re: C mixes decimals with chars in array

    Then are there any chars that do not have a decimal value that I could convert the #'s and S to?
  4. Replies
    12
    Views
    563

    C mixes decimals with chars in array

    I'm creating a programme that finds the shortest route between two points H and S in a maze. such as the one shown.



    #####
    #H# . S
    # . # . #
    # . . . #
    #####
  5. Replies
    6
    Views
    641

    [SOLVED] Re: Need help using qsort() is C

    @spjackson

    thanks for your help.
  6. Replies
    6
    Views
    641

    [SOLVED] Re: Need help using qsort() is C

    @Bachstelze
    That makes sense but lets look at the example.

    It appears to me that they call the function cmpstringp with no arguments but the function takes in two arguments. I don't understand...
  7. Replies
    6
    Views
    641

    [SOLVED] Need help using qsort() is C

    I've read the man page and done lots of googleing but I still don't understand what I should be putting in the 3rd argument of qsort(). I realize that is is some sort of comparison but thatís it....
  8. Replies
    10
    Views
    600

    [SOLVED] Re: C having an array with 0 but not "\0"

    Thanks for the quick reply. however I don't want to insert a 0 character, I want to insert a 0 int.

    EDIT: Turns out that I can add and subtract to char's as if they were ints. Didn't know that....
  9. Replies
    10
    Views
    600

    [SOLVED] C having an array with 0 but not "\0"

    I'm trying to create a maze that has a zero in it but C confuses this with the null byte so instead of getting a maze like this
    #####
    #0 # . S
    # . # .#
    # . . . #
    #####

    I get a maze like...
  10. Replies
    4
    Views
    566

    Re: C, getting fgets() to carry on after \n

    thanks for your reply Odexios.

    There's a few commands in there I'm unfamiliar with such as malloc and getc (only been programming for a few weeks now). I will play around with your code a bit...
  11. Replies
    4
    Views
    566

    C, getting fgets() to carry on after \n

    Is there a quick/easy way to get fgets() to carry on reading stdin after getting to a \n?

    I could write some code for it but the only way I can think of would be long, ugly and involve lots of...
  12. [SOLVED] Re: C preallocating an array to zero not working

    ok thankyou
  13. [SOLVED] Re: C preallocating an array to zero not working

    OMG I cannot believe I missed it. I spent hours looking at that.

    Thanks
  14. [SOLVED] C preallocating an array to zero not working

    as seen in attachment. I cannot figure out what I've done wrong.
  15. Thread: begining c

    by scorpious
    Replies
    4
    Views
    314

    Re: begining c

    hmmmm......
  16. Thread: begining c

    by scorpious
    Replies
    4
    Views
    314

    Re: begining c

    Oh silly me. I put "stop =" unnecessarily.

    You said there were many things wrong? what else did I do wrong? I seems to work fine now.
  17. Thread: begining c

    by scorpious
    Replies
    4
    Views
    314

    begining c

    why does the following programme make the value of "stop" 1 no matter what input I provide?

    function() does not return anything.


    #include <stdio.h>

    int main() {
    int stop = 0;
    do {
  18. Replies
    6
    Views
    429

    Re: C89 cant run the executable file

    I'm not sure if its -3g or not. I just know I selected NTFS when creating my partition a while back.

    In any case I think it'll easier for a newb like myself to simply save everything into my...
  19. Replies
    6
    Views
    429

    Re: C89 cant run the executable file

    Thanks for your help. Here's the output, looks like you were right. I assume its possible to change it so I can execute files?


    tom@tom-Linux:/media/Storage/Documents/University/ENCE260$ mount...
  20. Replies
    6
    Views
    429

    Re: C89 cant run the executable file

    yes I'm also thinking that permissions is the problem (I'm currently reading the chown manual to try and adjust the permissions). Using chmod doesn't return any error but i doesn't appear to do...
  21. Replies
    6
    Views
    429

    C89 cant run the executable file

    I've created a simple program using geany. It compiles and builds without hassle. However when I try to run the program I get

    ./geany_run_script.sh: 5: ./testing: Permission deniedI tried running...
  22. Replies
    3
    Views
    461

    [SOLVED] Re: C89 with Geany

    Thanks for the replies.

    Turns out all I needed to do was save the files as .c and geany did the rest.

    I'll stick with using geany for now as that's what we're being lectured with. But I'll...
  23. Replies
    3
    Views
    461

    [SOLVED] C89 with Geany

    I wasn't sure if I should put this post here or in the absolute beginner forum.

    Anyway, I'm taking a uni paper learning C89 and using geany as the IDE. I downloaded geany...



    sudo apt-get...
  24. Replies
    59,074
    Views
    1,284,622

    Re: Tug of war - Community vs Mods - to 200 (or -200)

    -32
  25. Replies
    59,074
    Views
    1,284,622

    Re: Tug of war - Community vs Mods - to 200 (or -200)

    -29
Results 1 to 25 of 161
Page 1 of 7 1 2 3 4