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

Search:

Type: Posts; User: Ejaz

Page 1 of 80 1 2 3 4

Search: Search took 0.73 seconds.

  1. Re: Problems with constructors in nested structs and unions

    Look into MSDN for reference and example.
  2. Replies
    13
    Views
    11,723

    Re: How to get ip to hostname ?

    Take a look at the sample attached here by Igor, step through it with the debugger and see how it works.
  3. Thread: New Forum Update

    by Ejaz
    Replies
    279
    Views
    82,684

    Re: New Forum Update

    Confirmed.
  4. Replies
    2
    Views
    577

    Re: A question regarding template instantiation

    You can use A<B>, A<C> or even A<int>, A<WhatEver>. However, in order to get your code compile, the "T" should have bar().



    Depends, upon what you want to do (as Paul stated). If you provide...
  5. Replies
    6
    Views
    1,792

    Re: UnitTest++ LNK2005 ERROR

    With this comprehensive description, I can only offer LNK2005.
  6. Replies
    3
    Views
    770

    Re: std::string debug function

    Is this what you are looking for?



    #include <iostream>
    #include <Windows.h>

    inline void Trace( const char* format , ... )
    {
    #ifndef NDEBUG
  7. Replies
    6
    Views
    1,792

    Re: UnitTest++ LNK2005 ERROR

    1. Press "Alt + F7" or follow the menu options Project -> Properties
    2. Click "Configuration Properties" and go to "Linker"
    3. In the further options, select "Input"
    4. At the right side (in the...
  8. Replies
    3
    Views
    926

    Re: How to turn this code into properties?

    This is VC++ board. You are posting in the wrong forum again. This is right place for C# questions.
  9. Replies
    13
    Views
    11,723

    Re: How to get ip to hostname ?

    Your question was to resolve the errors, which are done. Please start separate thread for different problems (i.e. do no start multiple question in a single thread). Anyway, for this specific case,...
  10. Replies
    3
    Views
    766

    Re: find a type based on value ?

    Take a look at this
  11. Replies
    13
    Views
    11,723

    Re: How to get ip to hostname ?

    1. Don't use conio.h/stdio.h. use iostream, which is more C++ oriented.

    2. You have created an empty project, therefore there is no "stdafx.h" file, while copy/pasting the code, you've picked this...
  12. Replies
    2
    Views
    1,223

    Re: Learning C++ or C# after having learnt Java

    This is a very generic question and perhaps no answer. It depends what exactly you want to do. For example, if you are going to develop enterprise application(s), then Java probably a better choice...
  13. Re: Efficient way to write huge boost dynamic_bitset vector to a file and read it bac

    My suggestion is to go with boost serialization.



    #include <fstream>
    #include <boost/dynamic_bitset.hpp>
    #include <boost/archive/binary_oarchive.hpp>
    #include...
  14. Re: PLEASE HELP A NOVICE WITH C++. How do i make this code output to a .txt file?

    Its not the debugger, its the compiler. Please go through the links I provided above. They'll give you good understanding to begin debugging your program.



    You can make a search in your system...
  15. Re: Trying to establish if Internet connection is available from a service

    Well, I'm no expert with services, therefore not sure if following may work for you or not, you'll have to see if it works for you or not.

    INetworkConnection::get_IsConnectedToInternet
  16. Re: Unhandled exception when closeing mfc dialog appication.

    I don't think that messin18 would still be waiting after 5 years.

    Please avoid bumping up dead threads.
  17. Re: PLEASE HELP A NOVICE WITH C++. How do i make this code output to a .txt file?

    Try to setup through the debugger and see how the flow of your program, along with the values of each variable. Most likely following check is not being satisfied.



    while (z<n)


    Following...
  18. Re: PLEASE HELP A NOVICE WITH C++. How do i make this code output to a .txt file?

    a. Please use code tags, while posting the code, its very hard to read unformulated code (also a bit rude to the people who are willing to you help you, but you are not willing to help them).

    b....
  19. Replies
    7
    Views
    852

    Re: VC++ numerical difference executable

    Its just like asking a doctor that you are sick and give you a medicine, where you can't tell the doctor that what is wrong with you, neither you let him examine you ;)

    There can be so many things...
  20. Re: PLEASE HELP A NOVICE WITH C++. How do i make this code output to a .txt file?

    And using your email id as your user name will certainly pull a lot of spam to your mail box.
  21. Re: PLEASE HELP A NOVICE WITH C++. How do i make this code output to a .txt file?

    Input/Output with files
  22. Replies
    16
    Views
    6,234

    Re: Running certain code in codeblocks sets off AVG?

    I don't think that it has anything to do with your C++ coding. Are you sure your system is not infected with this Agent3.BMSZ?

    Please make a complete scan and see what you get out of your machine.
  23. Thread: last letter game

    by Ejaz
    Replies
    8
    Views
    1,192

    Re: last letter game

    how about ... Ejaz :D

    Hay, that is not a word, its me...

    Okies, here goes...

    Expensive

    (btw, I hope we are not generating spam ;))
  24. Replies
    4
    Views
    953

    Re: software copy protection

    Some links for your reference, they are not exactly what you are looking for, but will give you fair idea about what you want to achieve...

    Thread: How do you build a 30-day trial app?
    Thread:...
  25. Thread: last letter game

    by Ejaz
    Replies
    8
    Views
    1,192

    Re: last letter game

    nirvana :)
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4





Click Here to Expand Forum to Full Width

Featured