thanks for replying
it is actually,thanks once again.
User Profile
Collapse
-
are there any random sequences with finite alphabet
hi guys,does anyone know any random sequence with finite alphabets.pleas e show as many examples as possible with the(probably recursive) formulas.thanks for any replies.p.s for the replies to my last post,josah and the rest of the guys,the replies were quite illuminating. -
problem with dot in name field of form
it seems to me that when the name field of an input in a form has an entry with a dot in it,it changes the dot to a dash on submitting it.Is there anyway to get over this problem.Thanks for any reply.
for instance
<input type="text" name="sed.com">
on submitting name field becomes sed_com -
thanks for replying
thanks for replying.I agree with your description of truly random data, but if one applied an rle compression algorithm( or most other ones) to data don't you expect that the compressed data will consist of short runs of 1's and zero's....Leave a comment:
-
what random binary data looks like
We are always being told random binary data cannot be compressed,so i'm wondering what does random data look like.I think it would consist of short runs of 1's and 0's.Any ideas.Thanks -
-
formula for logarithms to base two of a number
Is there a formula for finding logarithms to base two of a number.If so wtat is it.Thanks for any replying. -
reply
Thanks for replying.When you say one can't compress random data.What exactly do you mean by random data and does this mean you cant compress data if your looking at it at binary level?Leave a comment:
-
how far can data compression go
I'm just wondering,what factor(s) makes recursive compression algorithms stop.I mean if you can compress compressed data,why cant you keep compressing till the data reaches it's smallest possible size. -
-
linklist problem
this is a basic linklist,there seems to be a runtime error when i run the program(the main function) i suspect it has something to do with my del function
but i see nothing wrong can you help.Thanx
...Code:#include <iostream> #include <iostream> #include <string> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <fstream> using namespace std;
-
weird loop behaviour
hi everyone,i dont understand the behaviour of my generate function using a nested loop that performs my insert function repeatedly.Inst ead of inserting the value of i,it seems to insert the maximum value of j
repeatedlyi.e 7 where j<=7 for example.I think the problem might be with my insert function,howeve r i see no problems.Can you help?
...Code:#include <iostream> #include <iostream> #include
-
implementing linked lists in c++
hi guys
i have this problem with the linked list algorithm,it seems every time a new link object is added it overwrites the preceding one(at least it seems so in java which the code for the algorithm is in though i want to implement it in c++)
...Code:public void insertFirst(int id, double dd) { // make new link Link newLink = new Link(id, dd); newLink.next = first; // newLink --> old first first = newLink; -
-
Thanks for the help guys it feels so good to be part of a community with so many brilliant minds.I think the last reply explains everything thanks again.Leave a comment:
-
problem understanding recursion in assembly language
In the following code eax was decremented before calling the function inside the function(recurs ion) in calculating the factorial.Howev er my understanding of the code makes me think the function takes its parameter from 8(%ebp) where the parameter 4(the number we are finding the factorial for) was stored.I think the value in 8(%ebp)should be decremented not eax .Can anyone explain?Thanks
...Code:#PURPOSE - Given a number, this program computes the
-
i dont understand the use of cin
In the following program i dont how cin knows where day, stops and ch ,starts.
The same thing for month and year. When you type the input string without spaces.Can anyone help?thanks
...Code:#include <iostream.h> int main (void) { int day, month, year; char ch; cout << "Input a date as dd/mm/yy: "; cin >> day >> ch >> month >> ch >> year; -
problem with pygame
hi guy,when i run my program which contains the following portion of code in the mainloop
...Code:clock=pygame.time.Clock() while True: sound1.play() clock.tick(60) pKeys = pygame.key.get_pressed() Eves=pygame.event.get() villian.face() villian.hert() if Eves[KEYDOWN] and pKeys[K_UP]: hero.moveup() if Eves[KEYUP] and pKeys[K_UP]: -
-
the _init_ method in python
class ChargingAccount (BankAccount):
def __init__(self, initialAmount):
BankAccount.__i nit__(self, initialAmount)
in the above sample bank account is the parent class,i think i understand why the init method is being called from bankaccount,to be able to use self,initial amount from bankaccount right?But if that is so why is it initialised in the child class before initialising it again on the second line.
No activity results to display
Show More
Leave a comment: