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]
Type: Posts; User: PvtVampire
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]
But how can i change that(I'm a kind of noob in C :s)
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...
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
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
/*...
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
Didn't solve the problem:(
@ my teacher: i have no idea why we have to use an prehistoric compiler.
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....
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...
Still the same:(
Stil the same error:frown:
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...
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...