ok then i misunderstood, by the way I've almost completed the program :)
Type: Posts; User: m0ntana
ok then i misunderstood, by the way I've almost completed the program :)
Yes I mean equal in size, if left side contains 60 nodes, right sides contains 60 too, if I didnt misunderstood from your answer...
First of all thanks for answer,
Actuallay, I'm very newbie on this BST data topic, but I've been learning...What I didn't understand from what you wrote is that, how come a random generated...
I'm trying to build up BST program in which a random number genarator is available too. So Random number generator will produces numbers according to user's choice and send them into the insertion...
Hi Salem,
Usually I dont use & while reading strings but when it doesn't work and get crashed, I tried to do by using it..anyway Even if I'm not overflowing the strings (maybe less not over) , it...
Anyway I've solved the problem by doing this
do{
fscanf( r,"%d %s %s %d",&number[i],&temp,&temp2,&number2[i]);
strcpy(name[i],temp);
strcpy(name2[i],temp2);
...
While reading strings from a file, I'm having a lil problem, what's wrong here it doesnt give any error or warning but while running it gets crashed.
int main(){
FILE* r;
int i=0;...
sorry for the answer in another language rather than english..
Her şehir için 1 take-off 1 landing head pointer tanımlıyorsun, totalde 6 tane oluyor...
Her birini farklı bir linked list olarak...
problem's been solved...thanx alot...
Cikti :)
ugrastirdi ama biraz :)
Hi all
I'm having kind of queue problem in my program while handling queues,,
basicly in my program I have 4 different quees , you can try to think like, there are 2 different cities
and 2...
If you mean, how the data which you are handling, is contained in the txt...
As I know If your read-order is like so;
name
dob
height
father
mother
The pattern of txt should be accorded with...
A kind of bubble sort algorithm, it may be helpful
for(j = size-1 ; j >= 0; j--){
for(i = 1 ; i <= j ; i++){
if(x[i-1] > x[i]){
temp = x[i-1];
x[i-1] = x[i+1];
x[i] =...
:) For the second one, I wanted to check it twice :P, not ofcourse, as I were pasting code here I cut some pieces of it and one of the i=0 declaration left from another part of code..
Anyway For...
Thanks Salem, I tried as you said and it works fine definetly...
Hi People,
In my project, I've been trying to do sorting information in ascending or decsending order..
User Enters these strings:
Angelina
Barbara
Terrel
Jamel
Why don't you think about the "answer"...
looks like damn tricky useless college question or assignment or whatever it's.
int i = 2;
char *msg = {"I want this right justified!\n" };
printf("\n%+50s %d", msg, i);}
it works fine, obviusly I had tried it by puttin 14 but I didn't calculate the excat length of string...
Actually, I didnt know this, I mean printf("\n%+2s %d", msg, i); this part looks like a bit weird to me,and I've just compiled it and doesnt make any sense, maybe I just made something wrong.
And...
Thanks for the explanation and I've had a look the site you suggested first, and looks like another world to me : ) but it must be really helpful for advanced implementations.
All I can say...
:cool:
what do you mean by saying IDEs help files or man pages?
Thanks noir, I coded excatly what you've written above and it works fine ...
Sometimes it can be tough to reach this kind of information, because in beginner and regular C books does not contain...
Hello people,
I'm trying make right-justify the strings entered,
User enters different size of strings and I'm calculating their length and find the maximum of them...
For instance
First...
Actually I gotta use the head which is in main one, but while I'm trying to fix the program up, I must have put the second head as globally... As I said I got so confused ...
And last } got missed...
Hi All,
For a while I've been stuck on something and I couldn't get out of it,
Simply, I'm trying to create and linked list while using "stack" method, and as I'm doing this, I must
use Hashing...
What about this,
I created such a algorithm that works fine for my purposes, but one thing
char* puzzle[LENGHT] = {"jerome",
"emorej",
"rxxxxx",
"oxxxxx",