Search:

Type: Posts; User: PvtVampire

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    698

    Really simple question

    I have a really simple question.
    Is it possible to do this?


    Examplearray1[a] = Examplearray2[b]

    Because in my program i get rubbish when i print Examplearray[b]
  2. Replies
    4
    Views
    925

    But how can i change that(I'm a kind of noob in C...

    But how can i change that(I'm a kind of noob in C :s)
  3. Replies
    4
    Views
    925

    Annoying error

    I have this programm, which calculates the median of an amount of numbers entered. When you fill in anything smaller as 0 it stops. The error is, when i enter any number it just alsways calculate...
  4. Replies
    4
    Views
    1,269

    Thnx for the help:P Okay, works for me, but...

    Thnx for the help:P
    Okay, works for me, but there is a thing left. Any values i enter he calculates the same median: 1245008. I get that answer with any value i enter. Weird
  5. Replies
    4
    Views
    1,269

    Median in array

    I have this programm where u put in an amound of numbers and the program calculates the median. But when i give in any number it says acces violation error?
    i can't figure out the problem

    /*...
  6. Replies
    9
    Views
    1,279

    Problem found

    Aight, i found the problem. You can safely make int nInvoer to float nInvoer. The only thing to do is to change the scanf("%d"... into scanf("%f"... Thanx for the help:P
  7. Replies
    9
    Views
    1,279

    Didn't solve the problem:( @ my teacher: i have...

    Didn't solve the problem:(
    @ my teacher: i have no idea why we have to use an prehistoric compiler.
  8. Replies
    9
    Views
    1,279

    Aigt, install a new compiler is not an option for...

    Aigt, install a new compiler is not an option for me. This is an school assignment and we have to use borland C++ compiler. My teachers says use an float instead of an integer, but this doesn't work....
  9. Replies
    9
    Views
    1,279

    Intiger to float

    I hava an programm, and it runs perfect, exept above input of 33000 it doesnt work anymore. This is because my input is an int so the solution is to make it an float, but when i do this the programm...
  10. Replies
    9
    Views
    6,961

    Still the same:(

    Still the same:(
  11. Replies
    9
    Views
    6,961

    Stil the same error:frown:

    Stil the same error:frown:
  12. Replies
    9
    Views
    6,961

    Aight, got it running, but when i put in a value...

    Aight, got it running,
    but when i put in a value the program stops in the middle.
    It says acces violation.
    This happens with every number i enter(even if it is in the array)


    #include...
  13. Replies
    9
    Views
    6,961

    Search for an value in an array

    I'm trying to write a programm wich search for an specific value in an array. When this value is found in the array there wil be an message on the screen that says it is found.
    I found some code on...
Results 1 to 13 of 13