Can someone help me with that, please? Above is task description and my solution. I don't know what is wrong, but I don't get any "SUCCESS"...
Maybe it is not the best place for this topic but I didn't know where to put it. I am looking for some good tutorials on CGI scripting. I found...
Is it possible in Javascript to change the colour of form background? Let's say I have some text form and by default it has white background. But...
Just play a bit with operators and you will find out how to use to obtain correct result.
I am not surprised, you don't understand your output. To get proper output first you should initialize your variables with some values.
In first case the second statement is missing. You tried i<20; but you used entitity for less that. In second case your function do nothing. It...
If I understood your problem correctly, I would recommend slightly different solution. I don't know what is your level, but I assume you've heard...
Sorry but your code will stop execution at first line, but I suppose you want to obtain recursive algorithm for n-th Fibbonacci number.
first what language? make a loop from 0 to 255 cast each iteration to char and you are done. int i=0; while(i<255){ print(i) as a char; i++; }...
I have to implement a Greedy Edge Coloring Algorithm. The algorithm is called Greedy Independent Set algorithm and the only thing I know about it...
I am learning Java since October, and on Friday I will have to implement one of the Collections Interface. Could somebody give me hints what I...
I have to implement BFS algorithm for connected and disconnected graphs that returns the order of visited vertices. For connected graph...
You don't use variable t, while looks like an infinite loop, swapping is ok. If you want to sort a few numbers, you may use array or some ohter...
Did you try to use loops? For arrays the best idea is to use for loop(because you know the size of it) for entering and printing your data.
Hi, I have to implement a graph as a adjacent matrix for my algorithms & data structure course and almost everything works correct besides method...
Thanks for all, I finally found what was wrong when you said about empty stack condition. I made a mistake in conditions of pop function. Now...
Ok I comment out every call of pop function and it works but how to make it works this function, because the only thing I could do in this program...
Ok when I compile it, there is no error/warning messages there is only something like this. 'labs_ads.exe': Loaded 'C:\Documents and...
At school as a task I had to implement a stack as a list in Visual Studio 2010 and there is a problem but I don't know how to use debugger yet and...
Hi, I am new here and I need help, because I have some troubles with C programming language, especially with data structure called linked list. I...
Separate names with a comma.