Since 4/2/2012 6:03:16 AM, ranveerkunal has written 8 articles and participated in 16 conversations. ranveerkunal signature: ranveerkunal
ranveerkunal's articles:
Items(8) /1
ispell local words143 (7/2/2006 8:49:59 PM) comp.text.tex I want to have some words that are local to a latex document, I mean used in a single file. how can I do so? ... ranveerkunal
puzzle18732 (6/10/2005 4:39:13 AM) comp.programming ok here is a puzzle. there is an integer array whose length is odd, and all the numbers in the array appear exactly two times except one. Find the number in O(n) time. Try to do it without using any other data ... Darius
puzzle #3830 (6/10/2005 4:02:00 AM) comp.lang.c ok here is a puzzle. there is an integer array whose length is odd, and all the numbers in the array appear exactly two times except one. Find the number in O(n) time. Try to do it without using any other data ... Darius
select call on nonblocking socket1143 (4/27/2005 7:41:38 AM) comp.unix.programmer I am trying to run 3 servers on single process. what i did is, i made 3 nonblocking listening sockets and then as soon as they get accepted, i add the the accepted socket to select, this is done in a loop. but ... Darius
How to distribute a C program into many C files ?436 (4/13/2005 1:46:39 PM) comp.lang.c How to distribute a C program into many C files ? this is the first question a C programmer asks after learning C basics, Questions like --what is a header file --where should i put global variables --where sh... Darius
Divide by 7331 (4/11/2005 10:57:19 AM) comp.lang.c Is it possible to divide an unsigned int by 7 without using any arithmetic operator? ... Darius
soln529 (4/11/2005 10:34:02 AM) comp.lang.c itoa() ... darius
return("hello")125 (2/28/2005 10:01:32 PM) comp.lang.c where are string literals stored : data segement, stack ex. char *test() { return("hello"); } int main() { puts(test()); return 0; } where is "hello" literal stored (i)stack of test function (ii)da... ranveerkunal
Divide by 7331 (4/11/2005 10:57:19 AM) comp.lang.c Is it possible to divide an unsigned int by 7 without using any arithmetic operator? ... ranveerkunal(24)
'nix equivalent of Dos function kbhit() ?651 (4/11/2005 6:54:55 PM) comp.lang.c Hi all, I'm porting a DOS application to run on Linux. I need to replace this function or use an equivalent. Anyone knows how or where I can get this function's equivalent (or maybe someones hacked an implem... nebulla(41)
string vs const int memory alloc634 (4/12/2005 10:10:41 AM) comp.lang.c Hi Why is that int *p = 12; core dumps & not char *p = "some_str"; Shouldnt the int also be written in the data segment?? Ad Varma ... fire.vulcan(4)
A question about global struct variable as a fuction's parameter523 (4/12/2005 5:41:59 PM) comp.lang.c Hello! I am working on dividing a single C file into several files. Now I encounter a problem about the global variables and can not find a way to solve it. All global variables and codes used to be in that s... tksung(19)
Linked list stack and queue334 (4/12/2005 9:31:15 PM) comp.lang.c Can someone guide me in the right direction on how to enqueue and dequeue/pop and push within a linked list? I've figured out the basic idea, but getting the other options in it seems ot be a problem. #includ... AMRaymo(1)
How to distribute a C program into many C files ?436 (4/13/2005 1:46:39 PM) comp.lang.c How to distribute a C program into many C files ? this is the first question a C programmer asks after learning C basics, Questions like --what is a header file --where should i put global variables --where sh... ranveerkunal(24)
Converting string to char*233 (4/15/2005 9:52:59 AM) comp.lang.c Hi, This was the routine I wrote earlier to convert a C++ string to a char array. But I found that the char* array consisted only of junk after returning from the below function. int convertStringToChar(st... karthik.naig(8)
confused in sizeof structures341 (4/15/2005 11:06:06 AM) comp.lang.c hello, Why am i getting different sizeof values for struct mm and mm1? Also why name array of length upto 4 gives struct sizes as 8 and above that changes to 12? #include main() { struct mm { char *nam... rahul8143(77)
Linked list Question #2830 (4/21/2005 3:20:06 PM) comp.lang.c Hi I have a question I have a singly linked list of 10 elements. I have to find the Nth (Ex 3rd element from the end) element from the end. What are the ways to do it with less complexity I have two methods 1.... mayurdjain(29)