User Profile

Collapse

Profile Sidebar

Collapse
dynamo
dynamo
Last Activity: Jul 1 '10, 12:27 PM
Joined: Apr 13 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • thanks for replying

    it is actually,thanks once again.
    See more | Go to post

    Leave a comment:


  • 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.
    See more | Go to post

  • dynamo
    started a topic problem with dot in name field of form

    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
    See more | Go to post

  • dynamo
    replied to what random binary data looks like
    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....
    See more | Go to post

    Leave a comment:


  • dynamo
    started a topic what random binary data looks like

    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
    See more | Go to post

  • thanks for replying.really appreciate it
    See more | Go to post

    Leave a comment:


  • dynamo
    started a topic formula for logarithms to base two of a number

    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.
    See more | Go to post

  • dynamo
    replied to how far can data compression go
    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?
    See more | Go to post

    Leave a comment:


  • dynamo
    started a topic how far can data compression go

    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.
    See more | Go to post

  • dynamo
    replied to linklist problem
    in C
    thanx man.Really appreciate it.
    See more | Go to post

    Leave a comment:


  • dynamo
    started a topic linklist problem
    in C

    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;
    ...
    See more | Go to post

  • dynamo
    started a topic weird loop behaviour
    in C

    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
    ...
    See more | Go to post
    Last edited by JosAH; Jan 12 '09, 02:35 PM. Reason: added [code] ... [/code] tags

  • dynamo
    started a topic implementing linked lists in c++
    in C

    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;
    ...
    See more | Go to post

  • thanx for the help guys.
    See more | Go to post

    Leave a comment:


  • dynamo
    replied to i dont understand the use of cin
    in C
    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.
    See more | Go to post

    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
    ...
    See more | Go to post

  • dynamo
    started a topic i dont understand the use of cin
    in C

    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;
    ...
    See more | Go to post

  • dynamo
    started a topic problem with pygame

    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]:
    ...
    See more | Go to post

  • dynamo
    replied to the _init_ method in python
    Thanks for replying to my query.
    See more | Go to post

    Leave a comment:


  • dynamo
    started a topic the _init_ method in python

    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.
    See more | Go to post
No activity results to display
Show More
Working...