thanks for the info.
this helps alot.
Type: Posts; User: jaro
thanks for the info.
this helps alot.
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...
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...
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...
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...
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...
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...
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...
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
...
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
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...
Made some changes as you've suggested
void getProcessDateTwo(char *procDate){
//YYYYMMDD
time_t tval;
struct tm *tmptr;
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...
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...
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...
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 :)
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...
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...
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...
here is the code that I've done so far.
#include <stdio.h>
#include <winsock.h>
#define STRSIZE 16536
void handle_error(void);
thanks for your comment dwks.
i'll try to make some changes regarding your suggestion.
-jaro
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...
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
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...
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...