Function to recursively change base426 (2/21/2007 1:33:00 AM) comp.lang.c I'm trying to "Write a function itob(n, s, b) that converts the integer n into a base b character represeantation in the string s. In particular, itob(n, s, 16) formats n as a hexadecimal integre in s. itob mus... ComaGrrrl(2)
question about variable's scope618 (2/27/2007 2:59:52 AM) comp.lang.php i've been playing with the below code for a while now, and i cant get it to work correctly. the user should be able to input text into a textbox and upon hitting submit, it will append that text to whatever is ... finerrecliner(12)
Help with array #2819 (3/11/2007 3:27:42 AM) comp.lang.php I have an array of id=>category: [018821] => Automotive Parts [222033] => Automotive Parts\Domestic [205884] => Automotive Parts\Foreign [987219] => Building Supplies [624668] => Building Supplies\Lumber [0639... aaron9(6)
Multiple returns in functions1726 (3/16/2007 7:52:00 AM) comp.lang.c What is a good programming style in C to handle multiple returns in a function that returns different values? - To have a variable that is set to the return value, which is in the end of the function returned?... nergal(18)
I'm a c programmer. Does anybody work like me?2822 (4/2/2007 4:26:25 AM) comp.lang.c I have been working in one company for nearly one year as a c programmer.I want to write more codes to improve my programming skills.But I found my work was just change some configuration files . I need to cha... zzuse(1)
pointers and array of pointers830 (4/2/2007 8:16:48 PM) comp.lang.c Hi, Like almost all of beginners I have problem understanding pointers. Please, look at this piece of code, and please explain me why myswap function doesn't work as it's supposed to do, whereas myswap2 is doi... noreply23(191)
Remote PHP312 (4/3/2007 12:07:06 AM) comp.lang.php I have two webservers, One is PHP enabled and the other isn't. How can I get PHP working on the other server without installing PHP. Would it be possible for me to use javascript code to call the PHP? ... laseredd(1)
simple question #51420 (4/3/2007 4:23:28 AM) comp.lang.c i am a beginner in c,c++.i wanted to know that what is the benifit of declaring the prototype of a function earlier and defining it later rather than defining it earlier ... viv342(3)
end in a loop523 (4/4/2007 9:42:00 AM) comp.lang.c Hi to all, In a little program, I have this code: i=0; receved = recv(new_sd, &c, 1, 0); while (c !='\n') { msg[i++]=c; receved = recv(new_sd, &c, 1, 0); } msg[i]='\0'; My program work fine;... nicosia.gaetano(32)
Tips anyone619 (2/29/2008 5:17:06 AM) comp.lang.c++ Ok, I have to solve the "Rat Maze" problem" I am opening a file called maze.txt which looks similar to this 20 *this is # of rows 20 *this is # of columns 9 *starting row 9 *starting column 111111111111111011... aaronWbryant(13)