thanks a bunch I got it to work.
Here is the working one:
#include <stdio.h>
#include<stdlib.h>
typedef struct nodeTag{
int value;
struct nodeTag*link;
Type: Posts; User: daisy_polly
thanks a bunch I got it to work.
Here is the working one:
#include <stdio.h>
#include<stdlib.h>
typedef struct nodeTag{
int value;
struct nodeTag*link;
thanks guys for the help. I made the changes you recommended to my code. I don't get the segmentation fault anymore but my "insertSorted" and "insertnode" functions do not give the correct output....
Hi,
I made a couple of functions using linked lists and I keep getting Segmentation fault error. can someone tell me why I am getting this error.
My code is:
#include <stdio.h>...
I know c programme starts from main(). I forgot to call the function when I was posting. I won't post if you are going to assume my posts rather than helping and I am reading a text book. thanks
I tried doing that but I keep getting errors.The code for that looks like this:
#include <stdio.h>
char store;
char ascitobinary();
char storeInArray(char a[]);
int main(void){
Hi,
I am trying to store a string of binary into 2D array but I keep getting "invalid intilizer error".
My code is:
#include <stdio.h>
char store;
char ascitobinary();
this is a requirement of my assign.
how do I store that in two dimensional array?
I don't need the solution just a good start.
Hi,
I am making an application for "The Hamming Code". I am having some problems I don't understand how to do this. The user can only put up to 5 characters. then the user will put the bit to...
hi i am getting this when I make my "make" file.
The reason why I am linking is that I am using a math library in my program and unix needs to link.
thanks that worked!. I have one more question how can I check if the chracters entered by the user is numeber or a chracter.I have something like this
if( dcount>2 || (!isdigit(scanPrice))...
thanks. this program only reads the first char. so I implemented it in my program and now it doesnot work.
#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>
thanks to all those who are helping me. cwr we are not allowed to use arrays in our assign.ssharish2005 we are suppose to read characters but the value should not change for example if I put 1 I...
#include <stdio.h>
#include "genlib.h"
#include "simpio.h"
main()
{
int degrees_f, degrees_c;
/* Input Phase */
printf("This program converts degrees F to degrees C.\n");
printf("Input the...
is there way you can convert a char into a float.I have some code but it's not working.
#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>
int main()
{ char ch;
...
I am trying to compile your code. some of the functions are missing post the whole code and then I will be able to help you.
I posted in other fourms so I could get diffrent kind of opinions for my code and diffrent suggestions.
Hi,
I am making a small program of cash register. I am having trouble doing the validation. If someone could help me It would me a great help.
My Program is:
#include <stdio.h>
#include...
thanks for a lot of helpful suggestion. I have one more question.
How do I display all the entries that have been added.
thanks
Hi,
I am making a small application of a cash register that add's items,get total amount etc. My add function does not work and neither does the total function. If someone could help me it will be...