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

Search:

Type: Posts; User: Singing Boyo

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    2,017

    Re: Stupid Java question

    Most mobile phone development requires you to use at least some platform-specific functionality, mostly because applications on phones are run differently due to the memory limitations. At least,...
  2. Re: 'catch' expected - multiple catch blocks needed?

    I know its uglyl. I don't like it either, but until all of my code works, I'm not going to change little bits of it that work so the look better (don't fix things that aren't broken) In any case, I...
  3. 'catch' expected - multiple catch blocks needed?

    Using the latest g++, there appears to be a strange quirk in one of my try/catch blocks.

    This refuses to compile:


    void Method::run(ScopeContext* context){
    Variable** paramVars = new...
  4. Replies
    5
    Views
    1,175

    Re: Function Overloading

    That's true for the first implementation, where he should have only the first prototype. Then it asks him to do it with function overloading, which would have two prototypes:

    int return_number();...
  5. Replies
    5
    Views
    885

    Re: Type not found problems

    Thanks Lindley, solved the problem perfectly. It's one of those things that, being mostly a Java programmer until now, I just haven't run into.

    I'm still a bit confused though... I would have...
  6. Replies
    5
    Views
    885

    Re: Type not found problems

    Sorry, I should have been more clear...

    The code I posted is only part of the full code. I have header guards, required include files, etc, in the files already, and io.hpp compiles fine with all...
  7. Replies
    5
    Views
    885

    Type not found problems

    Hi all,

    I'm having some rather odd problems with includes. I declare and define a class, along with some methods, in one header file. (They are in a namespace) I then include that header file in...
  8. Replies
    27
    Views
    18,831

    Re: How to create a pointer to 'this'?

    The code is long as it is part of a mini-compiler (tracking variable names) but here are the exact methods being used.

    Also, sorry for the bad terminology - I'm more of a java person, so to me,...
  9. Replies
    27
    Views
    18,831

    How to create a pointer to 'this'?

    Hi all,

    I'm wondering how to create a pointer to 'this'. I have an implementation of a dynamic memory list, but it takes pointers to the objects to allow the addition of arrays, and so, when I...
  10. Replies
    12
    Views
    1,114

    Re: Class Definition header-source problems

    Ah ok... I had not thought that the private variables/functions would be defined in the header file. Apparently I was wrong.

    Thanks for all your help, works fine now!
  11. Replies
    12
    Views
    1,114

    Class Definition header-source problems

    Hi all.

    I'm trying to define a class in a header file, and implement it separately. However, my compiler is telling me that the class is being redefined. I recognize what the error is telling...
  12. Re: [RESOLVED] Macro at beginning of file not found

    Yeah... this will bug me for ages...
  13. Re: Macro at beginning of file not found

    *Emits self-humoring laugh*

    No wonder I had no idea. Must be tired...

    And here I was thinking it had something to do with me using arguments for the macro. (or whatever they are called.
  14. [RESOLVED] Macro at beginning of file not found

    Hello all. I have a macro at the beginning of my source file, however, it cannot be found later in my source file... any ideas? I'm using the MinGW GCC compiler, though I don't think it would...
  15. Replies
    3
    Views
    1,152

    Re: Run C++ from with command line

    Hmm... good point... too used to java JAR files that need special commands...
  16. Replies
    3
    Views
    1,152

    Run C++ from with command line

    Hi all. I'm just wondering what the possible commands would be for executing a C++ .exe file, and whether there are specific commands. I'm trying to run it from Java if it makes any difference.
  17. Replies
    8
    Views
    1,186

    Re: If statements acting strangely

    Hmm... well, I'm shutting down from user input stating that the program SHOULD be shut down. I present them with the option, and if they choose it, it shuts down. I can't see anything against...
  18. Replies
    8
    Views
    1,186

    Re: If statements acting strangely

    Thanks all. I figured out what was happening (didn't initialize the cont string in the right place). I went to look at my goto functions and replaced one of them... But I am wondering what an...
  19. Replies
    8
    Views
    1,186

    If statements acting strangely

    Hi all. I've got a program that will (hopefully) run a number of small console-based applications. I'm currently stuck with one of the applications.

    The application takes user input, stores it...
Results 1 to 19 of 19





Click Here to Expand Forum to Full Width

Featured