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

Search:

Type: Posts; User: Ahsan

Page 1 of 3 1 2 3

Search: Search took 0.11 seconds.

  1. substring-after Not Working in apply-templates

    Hi All,
    I am trying this statement:

    <xsl:apply-templates select="substring-after(@rdf:about,'#')">
    </xsl:apply-templates>

    But this gives an error saying:
    MyXSLFile.xsl:39: value of...
  2. Replies
    0
    Views
    646

    Server Error related to customErrors...

    Hi Everyone!
    I am trying to call a Stored procedure from ASP.Net but when I run the solution it gives the following error(pasted the error log below). I have already set the customErrors thing in...
  3. Replies
    1
    Views
    867

    Formatting/Padding in Currency Output

    Hi There!
    I want to format the currency output to something like:

    Account Balance
    Steven $500 .00
    Clark $1000 .00
    Noamy $10000.00

    Look at the spaces...
  4. Replies
    1
    Views
    888

    Re: How to declare "abstract" property

    I think, I am done with it :)
    No Worries.

    it was to remove 'abstract' from property delaration...
  5. Replies
    1
    Views
    888

    How to declare "abstract" property

    Hi there
    I wanted to confirm how to declare an abstract property.

    Would it be:

    ===========================================
    abstract private string mPrompt;

    abstract public int Prompt
    {
  6. Thread: Memory Leak

    by Ahsan
    Replies
    3
    Views
    521

    I am calling this function in my main() and I...

    I am calling this function in my main() and I free the linked list at the end of main, that is why i thought I do not need to free it in the specific function. Should I do it?
    ...
  7. Thread: Memory Leak

    by Ahsan
    Replies
    3
    Views
    521

    Memory Leak

    Hi All, I am getting a memory leak in a code which I think don't have any problem. Can anyone please have a look and sugest any remedies?

    =============================================
    typedef...
  8. Replies
    8
    Views
    1,317

    Oh, so I cannot, actually this is a C struct :(...

    Oh, so I cannot, actually this is a C struct :(
    Thanks for telling
  9. Replies
    8
    Views
    1,317

    I am pasting the code, which I compiled:...

    I am pasting the code, which I compiled:
    =============================================
    struct TreeNode
    {
    int Frequency;
    int Value;
    struct TreeNode *Sibling;
    struct TreeNode *Child;
    };
  10. Replies
    8
    Views
    1,317

    Can we have Functions in C struct?

    How?

    is it just like:

    struct Tree
    {

    int InsertNode(int *);
    int DeleteNode(int *);
    Traverse();
  11. Replies
    15
    Views
    2,345

    Thanks for listening to me for so many posts and...

    Thanks for listening to me for so many posts and replying.
    I hope I will go through it safe and sound... :)
  12. Replies
    15
    Views
    2,345

    Well, Actually I am trying to implement N-ary...

    Well, Actually I am trying to implement N-ary tree through Binary Tree, thats why, I have two pointers in every node, one pointer(Sibling) helps increse the size horizontally and the other(Child...
  13. Replies
    15
    Views
    2,345

    Here is my code:...

    Here is my code:
    =========================================
    truct TreeNode
    {
    int Frequency;
    int Value;
    TreeNode *Sibling;
    TreeNode *Child;
    };
  14. Replies
    15
    Views
    2,345

    Thanks for help. I have got more to ask... :D ...

    Thanks for help. I have got more to ask... :D

    This is from 2nd part of this function. In 2nd part I first navigate through tree and then insert a node at the end. For this I can't allocate memory...
  15. Replies
    15
    Views
    2,345

    Using malloc as I have to work on C :( No other...

    Using malloc as I have to work on C :(
    No other option.

    Anyways, so can the corrected code be like:

    if(Head->Sibling == NULL)
    {
    Head->Sibling = malloc sizeof(struct TreeNode);...
  16. Replies
    15
    Views
    2,345

    So, Shall I skip the free(node); statement and...

    So, Shall I skip the free(node); statement and that will fix the problem?
    or is there any other remedy to this?
  17. Replies
    15
    Views
    2,345

    More Pointers...

    Further to my post, what if i make/allocate a pointer, assign it to another, and while exiting the loop if i de-allocate the first pointer, would the 2nd pointer also become dangling or it will work...
  18. Replies
    15
    Views
    2,345

    Need a Refresher on Pointers

    Hi All,
    What was it about returning a pointer from functions? I mean there used to be a scenario which was not recommended, was it returning a pointer which is declared inside the function locally,...
  19. Replies
    2
    Views
    569

    The server keeps running. I can run the client...

    The server keeps running. I can run the client again and connect to the same server instance.

    There is no idl file but I use a Msg.x file, which looks like:...
  20. Replies
    2
    Views
    569

    RPC: Problem in sending data

    Hi All,

    I am trying to send data from my client to my server through an RPC call in Unix C. I am getting following error:


    ServerNameHere: RPC: Unable to send; errno = Bad file number; Illegal...
  21. Thread: tolower in C

    by Ahsan
    Replies
    3
    Views
    767

    thanks alot, it worked. was a silly...

    thanks alot, it worked.

    was a silly mistake.... :(
  22. Thread: tolower in C

    by Ahsan
    Replies
    3
    Views
    767

    tolower in C

    Hi All,
    I am having prolems with converting upper case characters to lower case in Unix's C. I saw the man pages and "tolower" function does it. But in my case its not working.
    My code is as...
  23. Replies
    2
    Views
    814

    I have already connected by sending logon...

    I have already connected by sending logon information.
    Now sending I am openning a new connection to download data only(Data Connectio: which don't need logon info to be sent).
  24. Replies
    2
    Views
    814

    When to Send RETR/LIST to FTP Server

    Hi All,
    Can anyone tell me when to send LIST or RETR command by control connection. Should I send it in the FD_CONNECT of Data Connection? or should I send it right after calling the connect...
  25. Confusions about send() and recv() of WinSock API

    Hi All,
    This about the recv() function of winsock API. You people would know that recv() call might not receive complete data from an FTP server in one go. Now lets suppose we got "22" instead of...
Results 1 to 25 of 71
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured