Search Results

Showing results 1 to 9 of 9
Search took 0.01 seconds.
Search: Posts Made By: Krysis
Forum: C Nov 25th, 2008
Replies: 1
Views: 1,273
Posted By Krysis
Hello yet again... Anyway, I'm trying to convert a string that has the form of "1097.04", that is, decimal fixed point with two digits after the decimal point. My code currently reads this number...
Forum: C Nov 24th, 2008
Replies: 3
Views: 2,841
Posted By Krysis
Forum: C Nov 24th, 2008
Replies: 3
Views: 2,841
Posted By Krysis
Ahh, I see... Thank you. Well, that small snippet allowed it to stop when needed but now for some reason it's not comparing the last line with the stock_id (MICRO - everything else works perfectly)....
Forum: C Nov 24th, 2008
Replies: 3
Views: 2,841
Posted By Krysis
Hello again... So, I'm trying to read a file line-by-line and compare the first 5 characters of that line (that was read in) to another character string. If they don't match then it moves on to the...
Forum: C Nov 24th, 2008
Replies: 7
Views: 538
Posted By Krysis
Ahhh, thank you very much... I figured I should have been using strcpy(), heh. Thanks, I will read that post now.
Forum: C Nov 24th, 2008
Replies: 7
Views: 538
Posted By Krysis
Ahhhhhhhhhh! Thanks for the clarification on the memory issue and FIFO naming! So, if I instead assign two pointers to char to point to argv[4] and argv[3] THEN concat, I should be alright???

...
Forum: C Nov 24th, 2008
Replies: 7
Views: 538
Posted By Krysis
Heh... my apologies!

Yeah, I actually tried using the strtok function, using a space as the delimiter and it started to do what I wanted (break the buffer up) but... Hmm, I've forgotten why I...
Forum: C Nov 24th, 2008
Replies: 7
Views: 538
Posted By Krysis
Sorry, tried to edit it... here's a SHORTER version with OUTPUT.
int main(int argc, char *argv[])
{
char s[MAX_BUFF];
char stock[5];
char cust[4];
char *out;
...
Forum: C Nov 24th, 2008
Replies: 7
Views: 538
Posted By Krysis
ATTENTION: SKIP WHAT'S WRITTEN IN RED UNLESS YOU WANT TO KNOW EXACTLY WHAT'S GOING ON... NOT NEEDED THOUGH!

Well, let me first ask the general question/problem that's plaguing me in this "Coded...
Showing results 1 to 9 of 9

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC