Search:

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

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    241

    Fortran - Set all variables to 'ZERO'

    Hello all,

    few background bits of info

    im using pgf77 as my compiler as it is the only compiler i have found to accept the code im working on.

    A program that i have been working on has lots...
  2. Replies
    2
    Views
    384

    [ubuntu] Few questions about 10.04 server

    Ok, so ive used linux in the past for basic home sharing and as a download box. with 10.04 being released, i thought it would be a good idea to learn it again.

    here is a few questions i would like...
  3. [all variants] using ubuntu to find vista user password

    ok, so a friend of the family has lost their user password for vista. I have a bootable usb version of ubuntu, but for the life of me cant remember where the file is stored or what it is called in...
  4. Thread: shell help

    by quickshot89
    Replies
    1
    Views
    213

    shell help

    #!/bin/sh

    ls=`$which ls`

    case $1 in
    -l) options=-l ;
    filename=$2 ;
    shift ;;
    -L) options=-L ;
    filename=$2 ;
  5. Replies
    26
    Views
    1,448

    Re: bubble sorting in C

    it didnt work the 1st time i tried it :(
  6. Replies
    26
    Views
    1,448

    Re: bubble sorting in C

    i deciede to try using a seperate sort for each of the 3 sensors, and it worked this time! it seems by using global you would have to wort out how to reset the values every time a sort of an array...
  7. Replies
    26
    Views
    1,448

    Re: bubble sorting in C

    ok i tried that general sort, im now getting Array specifier invalid for variable 'array_to_sort'

    i dont undertand why im getting that error :S
  8. Replies
    26
    Views
    1,448

    Re: bubble sorting in C

    yeah your code worked perfectly for sound, thanks alot, ive changed the code for sonar and light, could you just confirm if ive got this right?



    void sort_sonarA(int length)
    {
    for (o=0;...
  9. Replies
    26
    Views
    1,448

    Re: bubble sorting in C

    right, i dont see how my questions arnt about programming, as i said before, im using the lego NXT mindstorms kit, along with robotC, which is an enviroment for learning C, so far, ive managed to get...
  10. Replies
    26
    Views
    1,448

    Re: bubble sorting in C

    objectives are:

    1) make the robot roam for 60 seconds avoiding objects
    2) take a reading of light sound and sonar values every second and place into an array
    3) after 60 seconds bubble sort the...
  11. Replies
    26
    Views
    1,448

    Re: bubble sorting in C

    so if i was to put the bubble sort after the while loop(well, 60 second loop)

    that should prevent the program from ending, if i put a wait for 10min timer on?
  12. Replies
    26
    Views
    1,448

    Re: bubble sorting in C

    not sure what you mean. I havnt been programming C for long. and the software and hardware im using is limited to a very simplised version of C (its the lego NXT robot kit)
  13. Replies
    26
    Views
    1,448

    Re: bubble sorting in C

    ah im such an idiot, from the site where i got the code i was under the impression i had to pre-program the arrays, instead i do it that way

    my next question is, i have a 60 second timer on the...
  14. Replies
    26
    Views
    1,448

    Re: bubble sorting in C

    1st post updated with code tags, sorry about that
  15. Replies
    26
    Views
    1,448

    bubble sorting in C

    my current code is as follows


    #pragma config(Sensor, S2, soundSensor, sensorSoundDB)
    #pragma config(Sensor, S3, lightSensor, sensorLightActive)
    #pragma config(Sensor,...
  16. Poll: Re: HOWTO : Create a FTP server with user access (proftpd)

    got it working now, i used the script on the 1st page and changed the details to suit my folders etc
  17. Poll: Re: HOWTO : Create a FTP server with user access (proftpd)

    sorry to bump , but im stuck

    ive installed the server, configured it as best i can, all i did was change the server name to discovery

    and when i come to access the server, it says unable to...
Results 1 to 17 of 17