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

Search:

Type: Posts; User: terminalXXX

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,597

    Job change advice

    I decided to change my job, now I have had 2 offers (1 from a Japanese company-PM position, 1 from www.oucru.org where I have to work as a data programmer). On a positive side, I will probably be...
  2. Replies
    1
    Views
    2,557

    Big-boned men

    I have a friend married to an American whose body size is twice bigger than hers. That makes me think she must have a seriously hard time at midnight.
    I am shocked!
  3. Replies
    4
    Views
    378

    Re: [RESOLVED] *char user input

    Hi P&P, that only works if you input contains no space

    try this
    char name[256];
    cin.getline(name,strlen(name)+1);
  4. Replies
    10
    Views
    442

    Re: Share-pointer and void

    Thanks Paul and 2kaud,

    We work only on mixed mode dlls and CLI test classes, the test class method is simple and does exactly the same job as the main function does in Paul's example. And sure, if...
  5. Replies
    8
    Views
    500

    Re: MS compiler's text-processing

    Thank you VictorN, I had no idea then,.
  6. Replies
    8
    Views
    500

    Re: MS compiler's text-processing

    Yes, and that indicates something incompletely implemented in the compiler exists because ther compiler does still accept /*..comment..*/ but not //..comment..
  7. Replies
    8
    Views
    500

    Re: MS compiler's text-processing

    It's not what I did it's someone else did and I wonder why that happened
  8. Replies
    10
    Views
    442

    Re: Share-pointer and void

    I have posted it in some of my previous posts, I don't know what else I can extract from the real code to demonstrate the problem. I change all user-defined time to void* (return types and parameters...
  9. Replies
    8
    Views
    500

    MS compiler's text-processing

    I have a source file (.cpp) that I save into my HD using a different encoding scheme than its original code page. Later I open it again with MSVS and clearly nothing looks different (no odd...
  10. Replies
    10
    Views
    442

    Share-pointer and void

    I have a share-pointer defined as
    typedef std::share_ptr<MyClass> MyClassPtr;

    and a class

    class Example
    {
    public:
    MyClassPtr DoSomething()
    {
  11. Replies
    7
    Views
    431

    Re: Preventing execution of a function

    In my project, I must change all user-defined types except share pointers (I don't know how to deal with sharepointers because no default constructor to exchange the defined type with void/void* in...
  12. Replies
    7
    Views
    431

    Re: Preventing execution of a function

    Nice spot! Thanks, I fixed the above code, and now that it becomes umanaged C++
  13. Replies
    7
    Views
    431

    Preventing execution of a function

    class MyClass{};
    namespace BI{
    class BusinessInterop
    {
    public:
    static MyClass* func(){printf("BusinessInterop");return new MyClass();}
    };
    }
    namespace BS
    {
  14. Replies
    1
    Views
    265

    polymorphism in simple classes

    In this thread I have proved that


    class A
    {
    public:
    static void func(){std::cout<<"A\n";}
    };

    class B:public A
  15. Replies
    7
    Views
    401

    Re: static function call

    Ok thank you you two a lot, what about my third post question ?


    (Oppps, after 1 minute I posted this, I realize I was wrong because ...)

    virtual key in the base class is meant for...
  16. Replies
    7
    Views
    401

    Re: static function call

    I don't have this warning on my VS2012 Ultimate... Please wait a second I look into compiler option....and be back very soon

    (after 2 minutes I'm back and...)
    I have level3 of warnings and see no...
  17. Replies
    7
    Views
    401

    Re: static function call

    class D:public C
    {
    public:
    virtual void func(){std::cout<<"CC\n";}
    void Call(){funx();}
    };

    and

    class D:public C
  18. Replies
    2
    Views
    396

    Re: Factory method and my mock object

    Thank you Eric, that is awesome!
    I use php tag only for clarity purpose. Others I don't care. :)
  19. Replies
    7
    Views
    401

    static function call

    class A
    {
    public:
    static void func(){std::cout<<"A\n";}
    };

    class B:public A
    {
    public:
    virtual void func(){A::func();}
  20. Replies
    2
    Views
    396

    Factory method and my mock object

    I have a class Customer I create a CustomerFactory for it but I would also like to include a Customer_Mock. So I think my factory will create a customer_mock instead of a real customer. Here is what...
  21. Replies
    2
    Views
    2,348

    Is he a racist ?

    A white guy sent me some emails with words or phrases sounded like those from Lonestars songs (country rock),today I visited his facebook and found his 99/100 friends are all white. I also visited...
  22. Replies
    1
    Views
    323

    I need to stop executing constructor

    using namespace System;
    ref class A
    {
    public:
    A(){Console::WriteLine(L"A constructor");}
    virtual void func(){foo();}
    void foo()
    {
    Console::WriteLine(L"A from foo");
    }
  23. Replies
    6
    Views
    453

    Re: return string length

    Thank you for your confirmation
  24. Replies
    6
    Views
    453

    Re: return string length

    Yes, thank yu, that is why I ask whether or not should I minus one from the second function to match the two version ? For example, my current code is using the first function and I need to upgrade...
  25. Replies
    6
    Views
    453

    Re: return string length

    Ok why does the example in http://msdn.microsoft.com/en-us/library/s7wzt4be%28v=vs.80%29.aspx
    yield 14 while
    http://msdn.microsoft.com/en-us/library/5d7tc9zw%28v=vs.80%29.aspx 13 ?
Results 1 to 25 of 66
Page 1 of 3 1 2 3


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center