nitin1 15 Master Poster

@decpetikon sorry sir! but what to do ? Nobody was replying and i was eager to get a reply. Can you please tell a basic simple thing in this question ? i just need to ask how can i save the string in C ? i will be thankful to you if u can help me. thanks

nitin1 15 Master Poster

please somebosy reply here. atleasy one must reply.

nitin1 15 Master Poster

Can anyone give me hint how to develop the suffix array part ? i know the concept, LCP array design but i am not gettinng how to implement in C ? can anyone please help. I know the uses, algo of suffix array as i have read a lot on it. i want the implemetaion hint of the part in which i have to sort the suffixes of an string.

for ex: if a string is given banana, then

Data structure should be like this:($ -> nmoenic)

banana
anana
nana
ana
na
a
$

then, after keeping i need to sort it. means lowest substring should be at the top most point. So how to do that ? string can be of large length. How to do this thing ? can you please give hint or link ? i have tried and now thinking from your help. thanks in advance.

nitin1 15 Master Poster

try "heroine" kareena looking damn good and overall movie worthful to be wachted. good work arjum! ;)

nitin1 15 Master Poster

@deceptikon I don't know how tuff it is! but i know if you will get time, you can easily do it ;) seriously, waiting for that! keep it up!

nitin1 15 Master Poster

@deceptikon then why don't we have this spell check yet ? if this is the matter what you saying, then we must have this spell check thing here. ;) waiting for that :-D

nitin1 15 Master Poster

firstly,ensure that the files are in the same directory in which your exe file is.

secondly, ensure that files are read-able.

thirdly, ensure the data in the files are compatible with the data types you are using for reading and writing into.

fourthly, ensure that files have the valid data and ensure that the files exists and name you have given is same as the name of file.

thanks
;)

nitin1 15 Master Poster

few arguments means prototype and defination has different number of arguments or from where you are calling the function don't have same number of arguments which function defination have.

secondly, ')' ';' errors are self-explaintroy.

thirdly, l-value means = operator expects the l-value which needs to be satisfied. this means it needs a value where value need to be stored.

We will help you only by giving hints, you should try and if will face problem, then feel free to post here ;)

nitin1 15 Master Poster

which errors are you getting ? Can you specify some errors which you getting ?

in the line one , you have defined a macro, but where is the value of that macro ? In the one go, i have seen that. After telling errors, it will be east to figure out problem. thanks.

nitin1 15 Master Poster

but why it is necessary to have a checking crietria ? I think we just need to convey our message. here, many people are there who are not so good in english and don't spell correctly. although, it will be good, but it's a thing which is not must and there is nothing like "IT MUST" be there. people who know the spelling will correctly spell and those who don't know will be helped by one thing that they will know that they are writing a wrong word. that's all!

nitin1 15 Master Poster

@bitbit ahhahaahah... awesome said ! :-D nice one!

nitin1 15 Master Poster

i am a student doing graduation and currently in 3rd year. I need good level, not very very high, but a good level not a 10th standard basic maths.

nitin1 15 Master Poster

hm. finally, that's mean he is correct and that means 1 mark is deducted ? :(

nitin1 15 Master Poster

no, no! i have just wrote this :

int kill(1234,SIGKILL);

like this. but he said you should write this:

kill -9 1234

so, now please throw light on it. thanks

nitin1 15 Master Poster

in my exam, there was a question:
what is linux/command which can't be ignored in any way? write the command to kill a process having id 1234 ?

my answer was : SIGKILL and for second part i have written a C code function kill(1234,SIGKILL).

now my teacher is saying kill() is not a command rather it is function. SO answer is "kill -9 1234" according to him. So can anyone tell that is he wrong or i am wrong ? kill() is a function. thanks in advance.

nitin1 15 Master Poster

how to tell you that i am watching a ghost-type interviewer in james who will eat me when i say wrong answer ;)(purely kidding with you :-D) deceptikon the question you asked are generally not asked in any job interview question, i have seen till date. i have solved around 1500 problems on various websites but i never come across such questions which you asked. google/ microsoft even facebook never asked this type of question.

p.s i am talking about questions which company aksks to a student who has just completed his graduation like me.(after b.tech or bba or something like that). thanks

nitin1 15 Master Poster

@deceptikon i know he has posted it at wrong place, but shift it without infraction points ;) thanks in advance to you. ;)

nitin1 15 Master Poster

@myke45 are you making it or i should ? tell me here only, and if you making it , then where are you making ? and if i need to make, then where should i make ? thanks :-)

nitin1 15 Master Poster

@deceptikon first tell me where should the thread need to be placed as i dont want more infraction points. :( secondly, please be active over that thread as I was seriously thinking that there will be someone who will come and say this thing which myk45 has said. :(

nitin1 15 Master Poster

yes! i find 2-3 forums, but their reply procdure is too too much late. i have put a question on 2 forums and yet after 26 hours , there is no replies at all. no active, nothing. and their rating are good ones even. :(

nitin1 15 Master Poster

oh.. great tip! who knows may be this thing only make me to get pass in the interview. but what to do in a situation when we don't know the answer fully correctly. then should we say it or not ? like it is better to shut off when u dont know the answer fully correctly or say what ever u know may be it is wrong?

nitin1 15 Master Poster

ohh! wow! Acting as an intrviewer from any company ? it's a great job! initially, before my first interview, i afraid from them like they will eat me if i say something wrong ;)

nitin1 15 Master Poster

:-o really ? Have you ever gone as a interviwer to any university or college ?

nitin1 15 Master Poster

Can anyone tell me the good maths forums' names ? I have sometimes doubts in maths while doing coding or something like that. like daniweb is good for computers, Do anyone know about maths forums ? thanks.

nitin1 15 Master Poster

yes! it is true ! but is it the reason ? i mean it is not a well defined answer if a high-grade person(interviewer/teacher/professor) asks and i counter question him/her like this. i know that it is a function and it can't be executed at the compile time.

np complete commented: good question :) +4
nitin1 15 Master Poster

yes, i remember it very very well that we have discussed this. In next semester , i am going to study about compilers which i hope will make compilers things better.

okay! One more question i wana ask you here only, if anyone asks me why sizeof is an operator not a function, then what exactly (very specific) i should say him/her ? Can you give any statement or hint so that i can get from it. thanks.

nitin1 15 Master Poster

@deceptikon i am finding it hard to get one thing in the sentence : "availiable at compile-time only" ? I mean this when i said "question" in the above post. thanks

nitin1 15 Master Poster

and deceptikon what about my second question ? Can you please throw some light on that also ?

nitin1 15 Master Poster

Because it is a compile-time operator that, in order to calculate the size of an object, requires type information that is only available at compile-time. This doesn't hold for C++.

i have read this statement roght now when implementing one library function. why it doesn't hold for C++?

secondly, i am finding it get one thing : "avavilable at compile-time only" ? can anyone explain it to me ? thanks.

nitin1 15 Master Poster

hii

nitin1 15 Master Poster

where is markup defined in getprice() ? if you trying to use the macro defined, then it is MARKUP (in capitals) not markup. change it to capitals or define another markup in getprice() as shown:

int markup=9;

or any value which you want. try it and thanks.

nitin1 15 Master Poster

visit official site of linux... there are too many packages which are installed directly just by clicking them try it. ;)

nitin1 15 Master Poster

what women ? :-/

nitin1 15 Master Poster

homework ? but it's not a homework doing site.do it own your own and if you have any specific doubts, then post here. We are here to improve you, not cheat you. If i give you the code, that will degrade you. Please try it yourself first. thanks

nitin1 15 Master Poster

okay! Can you please explain what this pseudocode is all about? rather than reading this whole code, it's better to give you hints from which we can know the basic concept of the code. it will make you to think better and learn more. thanks

nitin1 15 Master Poster

see, I want you to do the work. here goes the hint! Take the head insertion as the special case and do it the main() only. okay ? now, then make a function and pass the info part which you want to store in the node. okay ? now, then with each node update the pointer where you need to insert the node, like after head, update a temp pointer with temp==temp->next where temp is equal to the head initially. okay ? So do it n number of times. :-) got it ?

P.S this is one way linked list explaination. for double linked list, nothing difficiult! just have one more pointer which will point to the previous nothing else. but i wana advice you that first try one way linked list, then update it to double linked list. it will be better for you. thanks

nitin1 15 Master Poster

in which field, russians are best ? ;-)

nitin1 15 Master Poster

firsly read Click Here. after reading this, Click Here, then if there is any doubt left, feel free to ask here only. thanks. ;)

nitin1 15 Master Poster

i am not getting your point that what is the relation of that thread with this thread ? don't make others to loose interst in this thread.

nitin1 15 Master Poster

i took your advice and purchased a 2 GB and 1 G Ram put it in 2 slots --> total 3 GB. and it is working damn good! you have helped a lot in the first 2 posts of yours on daniweb. :-)

nitin1 15 Master Poster

@happygeek wow! what a nice explaination! thanks.

nitin1 15 Master Poster

pytony i didnt get what u have said

nitin1 15 Master Poster

hmm.. I think you are right. but there is only a category to which i don't tell these things which are highly my competitors. but 2.5 weeks before, i have refered daniweb.com to around 40 juniors of mine who are working in me with my prjects. there is only a group to which i dont say. seriosuly sir! it's a truth. all my juniors are being referred to daniweb by me. ;)

nitin1 15 Master Poster

@deceptikon so, where to start with ? I mean what is first step now , right now. thanks to you.

nitin1 15 Master Poster

@deceptikon awesome and fabulous statement. but my all projects are part of each other and they are like piping. o/p of one is i/p of other. i hope you getting it. and secondly, i always follow management concepts while managing my projects time. thanks.

nitin1 15 Master Poster

So will it be error or it will crash or what ?

nitin1 15 Master Poster

npcomplete , one thing i want to highlight and truly wana make your aware. you have downvoted my post. i know a person who is currently working with 4 projects(though i never experinced that thing). i have completed 16 projects till date in past 4 years. currently working with only 2 projects but they are not very much related with C. So what's your point of saying "are you done with it?"

in the 21st century, it is a world of multitasking dude! you have talked just like a person who is told about i7 processor when he is is using earliest versions of pentium. take care!

nitin1 15 Master Poster

what if only p ?

nitin1 15 Master Poster

npcomplete, a little bit selfish :P that's all i can say about me.

nitin1 15 Master Poster

yes, i knoe all this in advance. but please throw light on your last line.