everything you noticed and assumed are correct. Points to be noticed:
1) I intend to delete the head node later,so I used pointer to pointer to start.
2) As you suggested, I added a break in...
Type: Posts; User: mistu4u
everything you noticed and assumed are correct. Points to be noticed:
1) I intend to delete the head node later,so I used pointer to pointer to start.
2) As you suggested, I added a break in...
I have written a delete node function to delete a node in a linked list by the index number. Here is the code:
void delete_node(struct node **start,int index_no)
{ int counter=0;
...
So what is the best book do you think which can challenge "Let Us C"?
So what is the best book do you think which can challenge "Let Us C"?
Thank you friends for making the point clear.I will apply these modifications as you suggested.
I used "while(fread(&m,ssize,1,fp)==1)" to check all the records.And I canno understand how can I avoid "goto" here?
Hi all.I executed a small program without any error but not getting the correct output.Please help me finding where is it going wrong?
//Program to execute jannat.exe
#include<string.h>...
I followed a few books to learn as far as basics are concerned.But not all aspects are fulfilled.They are "LET US C" by YPK,"DATASTRUCTURE WITH C" by Seymoure Lipschutz and"OBJECT ORIENTED C++" by...
Thanx matt,You have made some handy comments.Surely will try to get it done MYSELF!!
Because I think this is how some new ideas enter one's mind and creativity increases and if this question was properly answered I got to know facts concerning using time as an added servixe to my...
Actually I donot know how to add these features.....I tried to explain things clear as far as i can.So I posted here so that anyone can help me showing me how can i add these features.
I have taken a small project of a banking system where people can create his/her own profile by signing up there and can log in anytime.I just want to add two small features:
1)I want a feature...
Just try to be like me.....Always asking questions,never replying to threads.... :D :cool:
Coding:
#include<stdio.h>
#include<stdlib.h>
#include<conio.h>
#include<string.h>
int main()
{
struct student
So what should i do now?It always shows me the outputs of the last built program.Rebuilding doesnot work.Anybody has got any ideas?
sorry commontater you didn't get it.Both the programs are different.!st program should take the user input and delete the 'THE' or 'the's.In case of the 2nd program the array of pointers is given.
Recompile doesnot work.........It always links all the files present in the project folder.I want to know cant I run programs without opening the project option?Such as options like an "file" from...
One more pitfall detected!!!
The compiler shows the building logs of the files just recently compiled or built....!!It just donot build the file currently opened,already saved also!!!It just ignores...
Please friends suggest me algorithms to do the following jobs......
1)Program to read a line and delete all occurences of 'the' or 'THE'
2)Function to reverse the strings stored in the array of...
error C2146: syntax error : missing ';' before identifier 'cin'
I removed both the "\n"......No luck!!!
Hi all I am new to Visual c++2008 sp1 as well as to this forum.I just downloaded it yesterday and tried to give it a shot.So I ran a program but the output it shows is in nor relation with the...
Problem is Solved!!And you will laugh knowing it was the compiler type which was causing problem!!!MS Visual c++ became default in case of my codeblock.I changed MS VC and made GNU as my default and...
So you guys say how to hold the command window open as i am new to this compiler!! I always like to match myself with the new!!
Turbo C++ once more proved its fame.I downloaded pellas c,but it do not support C++.I downloaded Code Block but when executing C++ file in Win7 it is built and compiler successfully but no output is...