oh no I don't want to replace the final \n i want to replace the \n that is inside one of the values by a space :)
okay the last record of every line is a number (not a character) i.e. why don't i say... replace all \n that is after a character with a space...
oh what i've given you is a small example I actually have 46 columns and 30000 rows so should i do this ??? while...
Hi :) I'm using PHP to read row by row a text file and insert it in my database everything is working fine, BUT ! i've noticed that about...
you can try the program.. the output of 10010011 base 2 is 147 ;) the output of BACD base 16 is 47821 :)
oh I forgot to write [/code] in my previous post ! .. I could not edit my previous post too ! there's no icon for that !
oh that's really strange ! my program run with this syntax error (=+) ! I've fixed it :) .. here's my program working fine.. - NOW i'm...
Hi I can't add to the same variable !! unsigned long int Convert(char input[], int base) { unsigned long int value; int i; int...
any help ! .. just give a simple example where I have a graph that has x-axis and y-axis taken form a mySQL query from only one table between...
Hi :) let's say I have two database tables FruitsTable Id..........name..........color 13..........a..................green...
This isn't working ! :( #include <stdio.h> int main() { char input[30]; int base; printf("Please enter positive number: ");...
isn't that nice :D #include <stdio.h> int main() { char posNumChar[30]; printf("Please enter positive number: ");...
ahaaaaaaa I just noticed.. that cout and cin are for c++ language... but printf,scanf, and fgets are for c language.. I want to code in C...
okay.. this is the code I've done until now.. :) I'm just testing here ! .. as I'm still a biggenner in C programming.. #include...
after asking the user for the positive number.. I'm going to ask him again what's the base of this positive number.. and from here I can...
hey guys.. using C language, how can I ask the user to enter a positive integer in only these forms --> binary, octal, decimal, or...
okay ! .. now how can have a graph ! with x-axis and y-axis taken from one table in MySQL query ! for example: FruitsTable fruitName...
hmmm I've tried your code.. It doesn't work ! but no worries, cuz the problem is already solved now :) I just had to saparate the code.....
I've changed the header.. same problem.. :(
hey guys, I'm having problem when I'm excuting this code <?php header ("Content-type: image/jpg"); $img_handle =...
Separate names with a comma.