Search Results

Search: Posts Made By: mscoder
Forum: Programming 06-30-2011
2,005
Posted By mscoder
Thanku for pointing out the part causing the...
Thanku for pointing out the part causing the problem with the input count...but can u suggest a way to overcome the problem..i couldn't get through it..n a little more on this behaviour of "scanf()" ...
Forum: Programming 06-29-2011
2,005
Posted By mscoder
Some error with number of keyboard inputs occured with this code for reversing a string..
i used a two-way linked list "node" for the code::

#include<stdio.h>
#include<malloc.h>

void insert();
void reverse();

struct node
{
char c;
struct node *next;
struct node *back;...
Forum: Programming 06-21-2011
2,051
Posted By mscoder
structure pointer array as function parameters
if i create an array of pointers to a structure "struct node" as:

struct node *r[n];


and create "n" number of "linked lists" and assign it to the various struct pointers r[i] using some...
Forum: Programming 06-19-2011
2,654
Posted By mscoder
thanks for pointing out the "&" mistake in...
thanks for pointing out the "&" mistake in loop..but the code still shows segmentation error in the same functon()...
Forum: Programming 06-19-2011
2,654
Posted By mscoder
this code for addind polynomials using linked lists showed segmentation error..any help pls..
the error occurs in the function() "add" used...

#include<stdio.h>
#include<malloc.h>
struct node
{
int exp;
int coef;
struct node * link;
};

struct node * create_list(struct...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 07:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy