Search:

Type: Posts; User: jaro

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    6,373

    thanks for the info. this helps alot.

    thanks for the info.

    this helps alot.
  2. Replies
    5
    Views
    6,373

    my OS is WinXp the reason for changing IP is for...

    my OS is WinXp
    the reason for changing IP is for me to connect to module/rack that I'm using for my school.
    I guess I'm just tired of clicking in changing IP address manually.

    thanks for the...
  3. Replies
    5
    Views
    6,373

    Changing IP Address Programmatically

    Hi,

    I would like to make a program that would change my IP address by just clicking a button.

    I'm not asking to make a program, but can you give me at least a link to a tutorial on how to do...
  4. Replies
    1
    Views
    1,521

    namespace location?

    Hi to all!,

    I'm fairly new to C# programming. I've little knowledge in C and Java. I don't know if the title of the thread is suited to my question. (mod can freely change the titile if they see...
  5. difference between Borland C++ and Borland C++ Builder

    I may sound a noob here, but curiousity got the best of me.
    I am trying to learn C++ programming, and while browsing, one of the site I visited mention that Borland has two products with similar...
  6. Thanks for the reply! I was able to find the...

    Thanks for the reply!

    I was able to find the line that causing the error.

    the line is this.

    EXEC SQL CONNECT TO :dbName user:userId using:password ;

    The program is a embeded sql in C...
  7. result is different when program is run under MinGW compiler.

    Hi to all!,

    I've created a simple program the connect to a database (DB2) , using embeded sql in C . I've used MVC6 in creating the program.

    Then I've decided to transfer this to a different...
  8. Replies
    4
    Views
    6,652

    the function is not really for display purposes...

    the function is not really for display purposes only.
    the program that I'm currently working on is suppose to read a file and store it to the database. and I need to convert some string to numbers...
  9. Replies
    4
    Views
    6,652

    String to Double function

    Hi to all!,

    I have a function that convert a string numeral (entered by a user) to a double value, having rounded its decimal value to (in this case) 4 significant places.

    here is the code

    ...
  10. Replies
    11
    Views
    10,067

    Point well taken. I'll make the changes as...

    Point well taken.
    I'll make the changes as necessary (as in this case use Dave sample as is ).

    Thanks for the wake up call :)

    -jaro
  11. Replies
    11
    Views
    10,067

    the length of the target buffer will always be...

    the length of the target buffer will always be 11, so I decided to make it a constant.

    It is not that I didn't take Dave advice to write directly into the target.
    I did find Dave advice very...
  12. Replies
    11
    Views
    10,067

    Made some changes as you've suggested void...

    Made some changes as you've suggested



    void getProcessDateTwo(char *procDate){
    //YYYYMMDD

    time_t tval;
    struct tm *tmptr;
  13. Replies
    11
    Views
    10,067

    I should better read more on standard function in...

    I should better read more on standard function in C. This is the 2nd time that Dave have pointed me to an existing function in C. And as always using strftime() did help alot.

    Anyway I did found...
  14. Replies
    11
    Views
    10,067

    Results in Debug and Release mode are different

    Hi!,

    I've created three functions that would work together in order to generate a date is string YYYY-MM-DD format.
    The code works fine in Debug mode.The problem is when I try to run this code in...
  15. Replies
    11
    Views
    2,622

    well strtod has made my number checking easy.and...

    well strtod has made my number checking easy.and with less line of codes :) .

    I have added an extra function (checkNumber) in my code which basically do the same as the previous isNumber function...
  16. Replies
    11
    Views
    2,622

    just one quick question. can I use strtod in C? ...

    just one quick question. can I use strtod in C?

    edit:
    just found out that I can use strtod in C. Well it does make works lot more easier :)
  17. Replies
    11
    Views
    2,622

    I just realized what Salem was really trying to...

    I just realized what Salem was really trying to convey after I post a reply.I was so comsumed in finding a fix in this error, that why I failed to understand it clearly.

    anyway, with your...
  18. Replies
    11
    Views
    2,622

    my lame excuse behind allowing "-." because some...

    my lame excuse behind allowing "-." because some people input number this way.
    i.e. normally we write some number in this format "-0.25" but some people will write "-.25" which mathematically...
  19. Replies
    11
    Views
    2,622

    checking string if number or not

    I've made a function that determines if character string is a number or not.Using only isdigit().

    Here is my sample code


    #include <string.h>
    #include <stdio.h>
    #include <ctype.h>

    int...
  20. here is the code that I've done so far. ...

    here is the code that I've done so far.



    #include <stdio.h>
    #include <winsock.h>

    #define STRSIZE 16536

    void handle_error(void);
  21. Replies
    7
    Views
    1,577

    thanks for your comment dwks. i'll try to make...

    thanks for your comment dwks.

    i'll try to make some changes regarding your suggestion.

    -jaro
  22. Replies
    7
    Views
    1,577

    final code,need ur comment

    just finished working on the program.
    Did some adjustment and add some extra function along the way.
    Just want to hear some comment about the code and if I violate some coding rules.

    here is...
  23. Replies
    7
    Views
    1,577

    Thanks for all of your responses. I now got an...

    Thanks for all of your responses.
    I now got an idea on how would approach this problem.

    Will post back soon for the complete code or if I found some weird error.

    -jaro
  24. Replies
    7
    Views
    1,577

    controlling contents of a linked list

    greeting!

    Just found a sample linked list program and I've decided to play around with it (hoping that I can incorporate it with the project I'm currently working on).

    here is the code: (this...
  25. how do I know if a server (on the box) is running?

    Hi again,

    Lately I'm doing socket programming, as far I can tell it works fine.
    the problem is that how do I know if a server (on the box) is running.
    The gethostbyname() will only detect if a...
Results 1 to 25 of 34
Page 1 of 2 1 2