CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: wael.salman

Page 1 of 4 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    6
    Views
    1,196

    Re: Developing Social Network

    Hi,

    Give me directions, and manes about these sites that can provide the whole package please.
    Which one is the best one??


    Thank you
    Wael
  2. Replies
    6
    Views
    1,196

    Re: Developing Social Network

    Thank you
    I will review that.

    I just was thinking that maybe there is much more specific API that I do not know :-)
  3. Replies
    6
    Views
    1,196

    Developing Social Network

    Hi all,

    I am trying to build and develop my Own social Network - something that is similar to Facebook - for my school - and I would like to know where to start...

    Is there any APIs from...
  4. Replies
    2
    Views
    2,347

    Re: Max depth of tree

    great
    Thank you
  5. Replies
    2
    Views
    2,347

    Max depth of tree

    Help me understand how to find the max depth of tree

    Please see this http://geeksforgeeks.org/?p=646

    How

    /* compute the depth of each subtree */
    int lDepth =...
  6. Replies
    2
    Views
    579

    operators order

    Hi

    One of the implementations strncpy is :


    #include <string.h>
    /* strncpy */
    char *(strncpy)(char *restrict s1, const char *restrict s2, size_t n)
    {
    char *dst = s1;
  7. Replies
    37
    Views
    3,158

    Re: Recording Machine Design

    OK..

    Many parts of the code are not complete yet.

    AudioSystem should initialize the ThreadManager - Not complete
    I do not have the DLL - and I do not have the the...
  8. Replies
    37
    Views
    3,158

    Re: Recording Machine Design

    yes you are right. I just have a lib file , which describes the QUEUE API, and I must use it, and I do not have it here, but I can post some parts of the code that I wrote.
    I also do not have the...
  9. Replies
    37
    Views
    3,158

    Re: Recording Machine Design

    I mean, should be any limitations about the queueSize??
  10. Replies
    37
    Views
    3,158

    Re: Recording Machine Design

    The problem that we have DLL(means that I may not be able to implement the GetNextItem , or PopItem in my own way) , which implements the queue, and has the following APIs:

    o Blocking Queue –...
  11. Replies
    37
    Views
    3,158

    Re: Recording Machine Design

    Let us discuss one more thing that you suggested. I guess it is not clear to me, and I will write my comments.

    You said:

    "I think you should create a system where each processing thread is...
  12. Replies
    37
    Views
    3,158

    Re: Recording Machine Design

    One more thing- The purpose is to record the audio streams - bytes in the same way that we are generating... so in your way - I guess (Sorry if I am wrong) there is no way to keep tracking of that,...
  13. Replies
    37
    Views
    3,158

    Re: Recording Machine Design

    Do not you think that we need to keep parallelism between the threads? I believe that this will give us much more performance , and this is why I am thinking about that.

    Assume that the 2 threads...
  14. Replies
    37
    Views
    3,158

    Re: Recording Machine Design

    amazing. I understand you so well. Since also I am writing a code, and that gives me more understanding.

    One big problem in the Processing step, and because we have 2 CPUs, and we are using 2...
  15. Replies
    37
    Views
    3,158

    Re: Recording Machine Design

    Arjay,

    I was playing with your code, and in the same time trying to write my own audio generator code.

    Few things that are not so clear to me.

    1. The progress Manager is pushing item to the...
  16. Replies
    37
    Views
    3,158

    Re: Recording Machine Design

    Thanx will be done soon.
  17. Replies
    37
    Views
    3,158

    Re: Recording Machine Design

    Thank you so much. I will do that.
    One thing that I wonder about is how is this thread safe queue technique (synchronization object) is different than Critical Sections technique?? Is it better ??...
  18. Replies
    37
    Views
    3,158

    Re: Recording Machine Design

    I guess so I understand. So In this system we need few queues. One between the generator, and the processing , and another one between the processing and recording, and by using lock/unlock we can...
  19. Replies
    37
    Views
    3,158

    Re: Recording Machine Design

    What if the last thread - recording thread is much slower than processing thread. I mean what if the recording takes writes 1000 bytes in 400 ms(slow tape recorder), how that will affect our design??
  20. Replies
    37
    Views
    3,158

    Re: Recording Machine Design

    What do you mean please?? Can you expand more??
  21. Replies
    37
    Views
    3,158

    Re: Recording Machine Design

    I was reading your posts again and again and again , and the truth it is not easy to understand.
    Your queue/Lock/Unlock approach is interesting, and I need to understand that more deeply.

    I am so...
  22. Replies
    37
    Views
    3,158

    Re: Recording Machine Design

    I was reading your posts again and again and again , and the truth it is not easy to understand.
    Your queue/Lock/Unlock approach is interesting, and I need to understand that more deeply.

    Do you...
  23. Replies
    37
    Views
    3,158

    Re: Recording Machine Design

    Opps , I was trying to draw small design , but seems it is broken after submitting. Sorry , but the idea is :

    1. Capturing Thread which captures bytes from the audio Generator.
    2. Two threads to...
  24. Replies
    37
    Views
    3,158

    Re: Recording Machine Design

    What if we have DUAL CPU ??.. I will explain.

    ACCEPT BUFFER --> PROCESS BUFFER -->WRITE BUFFER--> RELEASE BUFFER

    •The Audio Generator spec:
    o Generates 1000 bytes every 1 sec(1000 ms) ...
  25. Replies
    37
    Views
    3,158

    Re: Recording Machine Design

    Thank you Arjay for your answer.
    Actually, I was reading your articles, and just want to say that they are amazing, but the problem that all of them are with MFC, which I hate so much :-(

    I do...
Results 1 to 25 of 92
Page 1 of 4 1 2 3 4





Click Here to Expand Forum to Full Width

Featured