Search:

Type: Posts; User: std10093

Search: Search took 0.02 seconds.

  1. Replies
    18
    Views
    14,954

    Because npow is an integer! strnpow = npow +...

    Because npow is an integer!


    strnpow = npow + '0';

    What do you expect this to result in?
    Check itoa .

    Tip : Eliminate errors and warning that compiler shows top down, because the ones that...
  2. Replies
    18
    Views
    14,954

    You are in C. You can not say strsci = "e+"...

    You are in C.
    You can not say


    strsci = "e+" + strnpow + '0';

    Use strcat for this....
Results 1 to 2 of 2