Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
C

CJ1

@CJ1
About
Posts
3
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Arithmetic Operator Overload in Pure Abstract Class
    C CJ1

    This is a tough one, I want to overload the arithmetic operators in a pur virtual abstract class.:confused: The pur abstract class defines the basic 'Interface' from there I have a base parent class that will be the default implementation and several parallel child classes. e.g.

    virtual IClass operator+(IClass& RHS) = 0;

    Then I can implement it in BaseClass. Problem: Can not instantiate abstract class. changing it to

    virtual IClass& operator+(IClass& RHS) = 0;

    means that the statement is valid BUT it can't work (or can it?) this returns a reference to IClass which isn't what we want in addition, we want to return a value not a reference. So how can I do this whithou getting in to memory leaks and such. For addition we want to be able to do result = a + b + c + d, etc. This is pure old (not C++11) C++ I'm working in today.

    CJ

    C / C++ / MFC question c++ performance help

  • Debug Application Plug-in
    C CJ1

    Thanks, the article does not apply, but the forum looks interesting.

    C# csharp debugging tools question

  • Debug Application Plug-in
    C CJ1

    I have an application that uses C# as the script language. The C# is compiled on the fly from within the application and executed. I would like to be able to allow the user to debug their C# code from within my application. I read an article somewhere on this a year or two ago and I can't fint it any more and I can't remember where. I remember that it was just a slight variation on the standard CodeDom Compile-Load sequence. Searched MSDN and several other sites, but no luck. Anyone know the answer?

    C# csharp debugging tools question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups