Forum: C May 23rd, 2008 |
| Replies: 8 Views: 1,261 Check what has been assigned to varialbe NETINCLUDE and what is the actual path of the header files included in .c file? Are they same? |
Forum: C May 23rd, 2008 |
| Replies: 8 Views: 1,261 Now here it seems that compiler is not able to find the header files used in nat.c. So specify the search path of those header files in makefile , using -I option.
eg: Header files are somewhere in... |
Forum: C May 16th, 2008 |
| Replies: 10 Views: 1,000 You can use do while loop. for eg:
char ch;
do
{
stuff to be done
.
.
.
printf("Do u want to continue(y/n):");
scanf("%c",&ch); |
Forum: C May 16th, 2008 |
| Replies: 8 Views: 1,074 Hi...
U were not comparing all the elements. code started with comparing a single element with others. Following code will help u out.
#include<stdio.h>
int main()
{
int i ,j... |
Forum: C May 16th, 2008 |
| Replies: 8 Views: 1,261 Secondly There can be a change that the header file containing the definition of structures , has been included more than once in a file. |
Forum: C May 16th, 2008 |
| Replies: 8 Views: 1,261 hi..
First check whether you have declared structs more than 1 time or not.
To check open a terminal and go to the directory containing the source code, using cd command and than execute command ... |
Forum: C Dec 18th, 2007 |
| Replies: 11 Views: 1,742 Thanx alot..
Understood d concept...
I will definately take care of d tag next time... |
Forum: C Dec 18th, 2007 |
| Replies: 11 Views: 1,742 When I execute this code ,it accepts 2 nos,prints the msg enter your choice and terminates..
#include<stdio.h>
int main()
{
char ch;
int a,b;
printf("enter 2 nos :");
scanf("%d %d",&a,&b); |
Forum: C Nov 24th, 2007 |
| Replies: 2 Views: 3,844 Thanx.. A alot for u r quick reply.. |
Forum: C Nov 24th, 2007 |
| Replies: 2 Views: 3,844 Can any body tell me the difference between file descriptor and filepointer in C on linux? and when to use what? |