Yes that is it! It happened when I divide a value by zero. My question is: How to use if statement as a condition for #IND values?
i.e:
if (value != Indefinedvalues)
if the value is not a zero...
Type: Posts; User: AssistMe
Yes that is it! It happened when I divide a value by zero. My question is: How to use if statement as a condition for #IND values?
i.e:
if (value != Indefinedvalues)
if the value is not a zero...
After the some calculations with float values, instead of showing something like: 123.4567890, wierd characters of: 1.#IND00000 were displayed......
What are the possible causes for this to...
char filename[20];
scanf("%s",filename);
FILE *fileptr;
fileptr=fopen(filename,"r");
Cannot work!!
int main()
{
All right..then does using qsort helps to optimize my codes to certain levels...??
_____
In order to optimize my codes, I've creted a dynamic token array....however I do not know the maximum value for this array....Is there any way to check its max array value? I tried using printf(),...
Should I be using bubble sort...??
_____
:)
Wow...that was really something man..!!! lol~ Btw, How do you optimize the codes...??
_____
I've finally completed my assignment of writing a statistical program to select features.....
When I used small datasets of about 5 features...the program works perfect...but when I tried the...
I've tried using the following codes:
# include <stdio.h>
main()
{
char FileName;
scanf("%s", &FileName);
How do you get that...??
_____
I'm able to do all the things required in my assignmen...except this problem.....
I've the following equation (a very simple equation):
AOA = (ACC[j] + ACC[i])/2 (1st round of looping)
In...
Nope.....I understand the sorting...but the thing I'm asking here is different from that.....I've X number of features....and after each set of calculations, I'm supposed to find the smallest...
Hmm....I've already thought about this, but I'm doing my codes dynamically....which means I may need to calculate the codes n times...
If I calculate the codes 10 times, I must copy the codes 10...
I cannot sort the values.......that is why I'm so traumatized and being constantly haunted by this........... :eek:
If I sort the values, I'll not be able to proceed on with the coding.....
...
To find the smallest value in a number of values may seem easy, but I think it is not that easy after all.
I've an array of float values. (Stored in Values[j])
I'm supposed to find the smallest...
Opppss.......my mistake... :(
I mean float to string
_____
There are standard functions like atof(), itoa()......
my question is: Is there a function to convert float to string...??
I searched the MSDN library, but cannot find "ftoa()"....does it have...
Anyone cares to give me some ideas.....??
I've an array of 4 values
==>
array[0] = 3.40
array[1] = 4.00
array[2] = 1.30
array[3] = 1.29
Nope! I'm not doing this for homework.......this is only a very tiny portion of my entire project.....
I sounded I always needed help all the time because when I got stuck in certain situation and...
nvm.....above question solved....but still don't know how to use a debugger...
_____
I've an array of values
Let's say...
array[0] = 20
array[1] = 10
array[2] = 5
array[3] = 35
array[4] = 30
Oh...I think let me post my codes here and let you all see what's going wrong here...
j=0;
for (k=0; k<NumFeatureElement-1; k++){
for (j=0; j<Rows; j++){
if (j == Rows)
{fElementCountRE...
Ohhh.....I'm using Miscrosoft Visual C++ 6.0 to write on codes on C. Hmmm......nope, I'm not using it to check my errors in my codes.....
I've several layers of nested loop structure in my codes,...
All right, can someone tell me how to debug my own codes...??
What is step in and step out...??
I kept pressing F11, but it opened up another window of codes which is not written by me.........
No....I mean I really thank you......not being sarcastic. :)
_____