Search:

Type: Posts; User: AssistMe

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    2,256

    Yes that is it! It happened when I divide a value...

    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...
  2. Replies
    5
    Views
    2,256

    Values went missing after calculation...

    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...
  3. char filename[20]; scanf("%s",filename); ...

    char filename[20];
    scanf("%s",filename);
    FILE *fileptr;
    fileptr=fopen(filename,"r");

    Cannot work!!


    int main()
    {
  4. All right..then does using qsort helps to...

    All right..then does using qsort helps to optimize my codes to certain levels...??

    _____
  5. Checking maximum values for dynamic array...

    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(),...
  6. Should I be using bubble sort...?? _____

    Should I be using bubble sort...??

    _____
  7. :) Wow...that was really something man..!!!...

    :)
    Wow...that was really something man..!!! lol~ Btw, How do you optimize the codes...??

    _____
  8. Running my program.....estimated to take 55 hrs...

    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...
  9. How to prompt user to enter name of file to be opened??

    I've tried using the following codes:


    # include <stdio.h>

    main()
    {
    char FileName;

    scanf("%s", &FileName);
  10. How do you get that...?? _____

    How do you get that...??

    _____
  11. Nested Loop with add-on Equation..?? Seems Impossible!

    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...
  12. Replies
    21
    Views
    4,990

    Nope.....I understand the sorting...but the thing...

    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...
  13. Replies
    21
    Views
    4,990

    Hmm....I've already thought about this, but I'm...

    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...
  14. Replies
    21
    Views
    4,990

    I cannot sort the values.......that is why I'm so...

    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.....
    ...
  15. Replies
    21
    Views
    4,990

    Finding the smallest value......HARD!!!

    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...
  16. Opppss.......my mistake... :( I mean float to...

    Opppss.......my mistake... :(

    I mean float to string

    _____
  17. Is there a: convert float to integer function??

    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...
  18. Replies
    2
    Views
    1,755

    How to print numbers?????

    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
  19. Replies
    4
    Views
    1,163

    Nope! I'm not doing this for homework.......this...

    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...
  20. Replies
    9
    Views
    1,149

    nvm.....above question solved....but still don't...

    nvm.....above question solved....but still don't know how to use a debugger...

    _____
  21. Replies
    4
    Views
    1,163

    Quick help needed...

    I've an array of values



    Let's say...
    array[0] = 20
    array[1] = 10
    array[2] = 5
    array[3] = 35
    array[4] = 30
  22. Replies
    9
    Views
    1,149

    Oh...I think let me post my codes here and let...

    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...
  23. Replies
    9
    Views
    1,149

    Ohhh.....I'm using Miscrosoft Visual C++ 6.0 to...

    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,...
  24. Replies
    9
    Views
    1,149

    Debugging....How??

    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.........
  25. Replies
    3
    Views
    1,368

    No....I mean I really thank you......not being...

    No....I mean I really thank you......not being sarcastic. :)

    _____
Results 1 to 25 of 32
Page 1 of 2 1 2