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

Search:

Type: Posts; User: Sk#

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    2,174

    Re: Replacing global new and delete

    No, don't get me wrong: your example was gold and it was very helpful. Sorry if that didn't come out. What I meant was that you didn't really answer my questions, though the example gave me useful...
  2. Replies
    11
    Views
    2,174

    Re: Replacing global new and delete

    Thanks Nuzzle. Your reply was not really spot-on, but it gave me an interesting thing to observe: operator new only takes care of the memory allocation, and not of the construction of the object.
    ...
  3. Replies
    2
    Views
    543

    Re: Where to put downloaded Libraries

    If you downloaded the library as a precompiled lib file for Win32, chances are it was compiled using Visual Studio. You may not be able to use it in Borland C++; but you can get VS Express for free...
  4. Replies
    11
    Views
    2,174

    Replacing global new and delete

    Hi everyone! I've been reading many an article on this matter, but I want to make sure I've understood everything correctly. The thing is, that I couldn't find any source that explicitly "validated"...
  5. Replies
    1
    Views
    1,231

    Re: XML serialization based on a node's attribute

    Nobody has an idea on how to solve this problem? Of course I could load the XML tree and then serialize/deserialize the project myself, but it would be great to use the C# serialization utilities.
  6. Replies
    1
    Views
    1,231

    XML serialization based on a node's attribute

    I'm trying to code a couple of tools to manage Visual Studio's projects. The reason why I need an external program for that is that 1) I use VS Express, so I have no macro support, and 2) it may be...
  7. Re: RegisterRawInputDevices fails with no error

    hoxsiew: it was in fact a problem of permission... of sort.

    As I said I'd do, I tried the same program on my other computer. This one had an almost fresh install of Windows, and I installed VC++...
  8. [RESOLVED] RegisterRawInputDevices fails with no error

    Hi everyone,

    I want to use the RawInput API in my program to handle HIDs. However, I can't even register any device, as RegisterRawInputDevices fails (returns FALSE). When I call GetLastError(), I...
  9. Replies
    0
    Views
    665

    Common Settings between two applications

    Hi everyone. I hope this has not been asked already; I searched but couldn't find anything.

    I'm developping an OpenGL-based graphic application. I would like to have a separate applet to...
  10. Replies
    0
    Views
    4,878

    Dynamically loaded forms and the DOM

    Hi everyone.

    I'm trying to follow the AJAX paradigm to add to the user experience in my webgame. You can see it here, though only when my PC is on (which is during most of the day, central Europe...
  11. Replies
    8
    Views
    1,224

    Re: Preventing methods from being inherited

    Virtual inherintance, huh? Didn't know it. Your example seems pretty explanatory; could you point me to a good discussion of what it is (especially what drawbacks or hidden traps it has)? Thanks for...
  12. Replies
    8
    Views
    1,224

    Re: Preventing methods from being inherited

    Hi PredicativeNormative! I'll comment on your suggestion before posting an example of code.

    What you suggest is one of the solutions I came up with, but lacks a feature I need. The functionality...
  13. Replies
    8
    Views
    1,224

    Preventing methods from being inherited

    Hi everyone! As usual, I come to you with an almost absurd question.

    I'm coding some classes for a MIDI application. As probably some of you know, the MIDI channel events (the most commonly used...
  14. Replies
    1
    Views
    830

    Re: Problem with a query

    Nevermind, I found it myself. It seems there's a known problem with SQL Server 2000 (pre-SP1), where a subquery with computed or aggregate columns causes this error.
  15. Replies
    1
    Views
    830

    Problem with a query

    Hi everyone! I'm getting an error with this query:


    select * from
    (
    select
    avg(esiti.num_record) as media, count(*) as num_esiti
    from
    c_esiti esiti
    inner join
  16. Replies
    4
    Views
    1,650

    Re: C++ and global objects

    Thanks Yves! I've checked GLOW out, but couldn't get it to compile (MS VS05). Instead, I tried again and found out that my previous experiments were flawed: one *can* wrap the GLUT in C++, using...
  17. Replies
    4
    Views
    1,650

    Re: C++ and global objects

    It's not either a structure that revolves around static functions. This is what a typical GLUT program would look like (pure C):


    #include <GL/glut.h>
    #include <stdlib.h>

    void display(void)...
  18. Replies
    4
    Views
    1,650

    C++ and global objects

    Hi everyone! Here I am again with my best wishes of a happy new year to all the Codeguru people... and with a new happy problem for everyone! :-D

    I'm using the GLUT (GL Utility Toolkit, for those...
  19. Thread: making the leap

    by Sk#
    Replies
    3
    Views
    883

    Re: making the leap

    You can interface the 16f684 to any thing that understands RS-232. Many PIC's can adopt USB too, but if I'm not wrong it depends on the model. You'll have to write the drivers for your device...
  20. Replies
    2
    Views
    700

    Re: run programs from command prompt

    You can use the system(char *str) function, which executes the string pointed to by str as if it was typed at the command prompt. Be careful using this as it is a potential source of security holes...
  21. Replies
    12
    Views
    1,780

    Re: 1st programming job?

    I think it depends a lot on what kind of job you're looking for. My situation is different from yours, as I'm 23 and I'm gonna take the degree in late September while I seem to understand you're some...
  22. Replies
    3
    Views
    1,019

    Re: Unexpected tokens in a header

    So I could look above the ctor till the end of time! Thanks to both of you!
  23. Replies
    3
    Views
    1,019

    Unexpected tokens in a header

    Hi everyone! I'm coding a solar system simulator, and it worked quite good till this morning. I must have done something wrong, but I really can't get what. Maybe a fresh look (or an expert eye ;) )...
  24. Replies
    2
    Views
    1,007

    Re: Sample C++ code for Vista

    I've opened files for reading and writing with no problems, but I never tried to do it in special folders like Program Files. In "normal" directories it should be everything as usual.
  25. Replies
    16
    Views
    1,462

    Re: C++ Newbie - Derived Class Issue

    I can tell you why. Usually, the academic programming courses are about C, and OOP courses teach Java. When one starts using C++, nobody teaches him about the STL and the containers, so he goes on...
Results 1 to 25 of 87
Page 1 of 4 1 2 3 4





Click Here to Expand Forum to Full Width

Featured