Forum: C 27 Days Ago |
| Replies: 10 Views: 300 |
Forum: C 27 Days Ago |
| Replies: 10 Views: 300 |
Forum: C 28 Days Ago |
| Replies: 10 Views: 300 What is limit of a pointer to pointer to pointer? Hi guys ..
1)
is there something like that we have a limit upto which we can create a pointer to pointer to pointer..
i.e int ***********P... like this to which extent we can do this
2)
is this... |
Forum: C 28 Days Ago |
| Replies: 11 Views: 307 Re: some question regarding pointers? Sorry Guys this question was asked coz before C90 c does not support structure copy but after that it support. so i miss that.
But still my one question is there..
what is best for to avoid... |
Forum: C 28 Days Ago |
| Replies: 11 Views: 307 Re: some question regarding pointers? Thank you guys i got it !!!!!!!!!!!
I have one more question why can't we do as following in case of structures in C?
typedef struct _compare
{
int x;
char y;
char *str;
}Compare; |
Forum: C 29 Days Ago |
| Replies: 11 Views: 307 Re: some question regarding pointers? Hi first of all i want to say sorry that i have paste here wrong code..
This is same what you have correcetd i am accessing memory like that *t='l';
but it gives segmentation fault .
... |
Forum: C 29 Days Ago |
| Replies: 11 Views: 307 some question regarding pointers? I am just trying to explore c and i was wonder what is reason behind ... segmentation fault..
but second function is workiing .. can someone explain me reason
void myfunc1(char *t)
{
t = t+1;
... |
Forum: C Jul 3rd, 2008 |
| Replies: 1 Views: 296 how to read a particular text in a file Hello friends,
Could someone tell me if i want to read a particular text from a file that exist in each line of file. How could i do this?
My text is like this:
poll mail.telesys.com protocol POP3... |
Forum: C Aug 13th, 2007 |
| Replies: 2 Views: 388 |
Forum: C Aug 13th, 2007 |
| Replies: 2 Views: 388 why incompatible warnings in this code? HI ALL,
i have written some code of line as
typedef struct _nodeList
{
unsigned int pointCode;
struct NodeList *next;
}NodeList;
typedef unsigned int PointCode ; |
Forum: C Jul 27th, 2007 |
| Replies: 3 Views: 1,525 Re: good recursive program Hi Ancient Dragon ,
thankx for ur reply... i want to modify my statement once..
is it bad to use static variables in recursive program |
Forum: C Jul 27th, 2007 |
| Replies: 3 Views: 1,525 good recursive program Hi All,
can anybody provide me recursive implementation of depth first search..
one more question .. is it possible to code any problem with recursion without using global variable..
i just need... |
Forum: C Feb 14th, 2007 |
| Replies: 11 Views: 11,066 |
Forum: C Feb 14th, 2007 |
| Replies: 11 Views: 11,066 Re: Use of double pointer in functions What is the problem with this code if i do like this:
void foo( char * ptr)
{
ptr = malloc(255); // allocate some memory
strcpy( ptr, "Hello World");
}
int main() |
Forum: C Feb 14th, 2007 |
| Replies: 11 Views: 11,066 Re: Use of double pointer in functions thankx Infarction for ur reply..
but whatever you have said it is something like bookish knowledge .. i think i ll get more clear answer from people who use double pointer in their coding style..
so... |
Forum: C Feb 14th, 2007 |
| Replies: 11 Views: 11,066 Use of double pointer in functions Hi guys,
can anybody explain to me with a example why we people emphasize to pass double pointer in a function instead a single pointer when we want to fill some variable inside that function.
or... |
Forum: C++ Jun 12th, 2006 |
| Replies: 2 Views: 1,136 |
Forum: C++ Jun 11th, 2006 |
| Replies: 2 Views: 1,136 doubt about header file implementation hello friends,
as i know header file contain the declaration then in which file they contain implementation/initialization and where these files are put
in turbo c++ compiler i am able to see... |
Forum: C May 28th, 2006 |
| Replies: 10 Views: 3,186 Re: how to write own version of malloc and my question was like that
they give me an array of memory say 10,000 character array and they ask to write ur own version of free and malloc function to allocate and dealocate the memory from... |
Forum: C May 28th, 2006 |
| Replies: 10 Views: 3,186 Re: how to write own version of malloc hey all of you gus " am is new in this language " by this i mean that i have no professional experiance in c... and i was also thinking that it is not easy to write malloc function that is asked by... |
Forum: C May 28th, 2006 |
| Replies: 10 Views: 3,186 |
Forum: C May 28th, 2006 |
| Replies: 10 Views: 3,186 |
Forum: C May 26th, 2006 |
| Replies: 5 Views: 2,204 Re: how to find loop thankx yar it was a common interview question i gave answer but my interviewer was not satisfied..... i think ur answer was the correct way to satisfiy him.
anyway thankx again |
Forum: C May 26th, 2006 |
| Replies: 5 Views: 2,204 how to find loop hello friends could anybody give me idea how i can find a loop in simple linked list |
Forum: C++ May 14th, 2006 |
| Replies: 4 Views: 799 |
Forum: C++ May 14th, 2006 |
| Replies: 4 Views: 799 Re: what is error with this ... could you please correct these errors in my code i have removed both things you said
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
typedef struct link
{
int value;
struct link *... |
Forum: C++ May 14th, 2006 |
| Replies: 4 Views: 799 what is error with this ... could you please tell me what is wrong with this code it is compiling but a execution error occured i am unable to find that
am using devc++ compiler... |
Forum: C++ May 12th, 2006 |
| Replies: 11 Views: 1,969 Re: best compiler thankx fiend for ur comments i just wanna ur feedback so i can decided am going to use dev it ll suite for me |
Forum: C++ May 12th, 2006 |
| Replies: 11 Views: 1,969 best compiler hello guys,
i have latest version of dev c++ compiler ..is there any best compiler that is specifically made for c language i need it badly and required ur comment plz give me if anybody knows... |
Forum: C++ Apr 9th, 2006 |
| Replies: 2 Views: 848 need ur help in c++ coding plz help Hello friends,
i am doing programs in c++....and think that my progress is good .. but here is very serious problem with me ..i need a c++ graphics simulation source code for generating huffman... |
Forum: C Dec 1st, 2005 |
| Replies: 1 Views: 1,262 :sad: plz suggest me some solution could anybody tell me that how could i read (i.e scan) a image with the help of c program
i want to scan a image tht is taken with the help of a webcam
(for scaning i want to take the pixels in an... |
Forum: C++ Nov 17th, 2005 |
| Replies: 19 Views: 2,087 Re: look around this problem hi i install latest version and it was running successfully
but i am amused to see such type of complicacy in previous compiler of c++ |
Forum: C++ Nov 17th, 2005 |
| Replies: 19 Views: 2,087 Re: look around this problem u said in ur previous reply that it was running ?
actually this program was in c
so till now i i didn,t change it but i ll change it
how u run it and get the output plz tell me |
Forum: C++ Nov 17th, 2005 |
| Replies: 19 Views: 2,087 Re: look around this problem but in my dev 4.o it gives error
c:\doublly_.cpp: In function `int main()':
c:\doublly_.cpp:24: `numeric_limits' undeclared (first use this function)
c:\doublly_.cpp:24: (Each undeclared identifier... |
Forum: C++ Nov 17th, 2005 |
| Replies: 19 Views: 2,087 Re: look around this problem here is my code and plz look one place i mention one error that i am not able to see becz i couldn,t see console output
#include<iostream>
#include<conio.h>
#include<alloc.h>
#include... |
Forum: C++ Nov 17th, 2005 |
| Replies: 19 Views: 2,087 Re: look around this problem YES I SEEN THAT THREAD
i am using devc++ 4.0
and it show that there is no
#include <limits>
c:\doublly_.cpp:5: limits: No such file or directory
and it also not working with
system("PAUSE"); |
Forum: C++ Nov 17th, 2005 |
| Replies: 19 Views: 2,087 Re: look around this problem plz tell me in dev 4 version how i ll see my output window it takes input in command line console but not show the output
i am totally novice for it |
Forum: C++ Nov 17th, 2005 |
| Replies: 19 Views: 2,087 Re: look around this problem oops
Dave Sinkula i don,t see that in hurry
that is
scanf("%f" ,&x);
and i am using dev cplusplus 4 version now |
Forum: C++ Nov 16th, 2005 |
| Replies: 19 Views: 2,087 |
Forum: C++ Nov 16th, 2005 |
| Replies: 6 Views: 1,628 Re: general protection error now i have installed that id and make some change as u said
it compile successfully and when i execute it
it gives some error and say ur file have to be closed due to a error
plz look it |