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

Search:

Type: Posts; User: SeventhStar

Page 1 of 44 1 2 3 4

Search: Search took 0.27 seconds.

  1. Re: How to continue my programming development(evolution, growth whatever)

    Also this: http://stackoverflow.com/questions/388242/the-definitive-c-book-guide-and-list
  2. Re: Is there such a thing as code withdrawal in a compiler?

    If the executable is not in the same folder as the other, you should specify it's path with DOS paths (backslashes)

    like



    system("\\proj.exe"); // root path...
  3. Re: Is there such a thing as code withdrawal in a compiler?

    system is not a windows only function. If you remove the forward slash, it should work fine.
  4. Re: Is there such a thing as code withdrawal in a compiler?

    Well... this could be a crazy TurboC/DosBox bug, but before jumping to this conclusion, are you sure the fgets instructions get skipped, instead of returning immediately?

    What does strlen(nme)...
  5. Re: How do I change a hierarchy without passing it a root element?

    Er... Why should it? This should work in reverse order. When you change the transformation of the door, the handle and other parts should be changed and not vice versa. Why should changing the...
  6. Re: How do I change a hierarchy without passing it a root element?

    Why would it need to go up?

    While it is true that each of your nodes can have a pointer to its parent (and use it go "up a level"), a trivial tree traverse doesn't need it,

    Consider this dfs:
    ...
  7. Replies
    2
    Views
    691

    Re: Why there is not any compiler errors?

    Basically you're declaring the same function and not using it. Here's what the build process will "say" for your code (comments):



    void foo(int x); // there is a function named foo
    void...
  8. Re: How to save the struct to file and then read it back from the file ?

    ... or alternatively check out this FAQ entry on precisely the same subject
  9. My C++ mixin (or "dynamic type composition") library

    I'm developing an open source library that allows you to have C++ mixins (vaguely similar to Ruby's mixins and not to be confused with CRTP mixins).

    It can be treated as an alternative to an...
  10. Replies
    1
    Views
    1,267

    Re: Get virtual memory page size

    Nevermind :)
    I found it. It got it with GetSystemInfo
  11. Replies
    1
    Views
    1,267

    Get virtual memory page size

    Hey I need to get the size of a virtual memory page. I am creating a small memory tool that needs to align some blocks in order to efficiently protect them. So far it's working fine, assuming the...
  12. Replies
    5
    Views
    10,049

    Re: CDockablePane and Scrollbar

    Curiously it doesn't work. I had (and still have) the same predicament.
    Thanks to a class from CodeProject ( http://www.codeproject.com/KB/dialog/scrolling_support.aspx?fid=195884 )
    I almost got...
  13. Replies
    3
    Views
    1,012

    Software translation. MFC

    Hey. I am trying to create a multi-language MFC application, with languages changed at runtime, because, it being freeware, I will count on users to translate the program. Now I am aware of the...
  14. Replies
    5
    Views
    866

    Unique identifiers

    Hey.
    Is there a way to generate unique identifiers for a program. For example here's how it can be done with Visual C++ in a file.


    #define UNIQ(s) s##__COUNTER__

    then


    int UNIQ(a) = 5;...
  15. Replies
    2
    Views
    2,426

    MapViewOfFile problems

    Hey, I'm developing a program that uses two pretty big memory mapped files. One 512 mb and one 256 mb. It works fine with Windows Vista (32 and 64 bit) and Windows XP 64 bit, but when ran under 32...
  16. Replies
    3,704
    Views
    620,255

    Poll: Re: Where are we from ?

    I am still subscribed... 8)
  17. Replies
    8
    Views
    3,346

    Re: Execute DOS commands in VC++

    You obviously use managed C++ (.NET).
    So why don't you try System.Diagnostics.Process.Start instead of trying to convert System.String to const char*
  18. Replies
    938
    Views
    62,279

    Re: All Posts In This Thread Must Be Off Topic

    Have you tried javascript?
  19. Replies
    3
    Views
    1,115

    Re: Modal dialog doesnt get focus

    It's truly simple :) It hapens to every dialog. Even to an example dialog that doesn't even have it's own class. Here is how i create it:


    void CTheView::OnSomeCommand()
    {
    CDialog...
  20. Replies
    3
    Views
    1,115

    Modal dialog doesnt get focus

    I have a mfc sdi application without a doc/view architecture. The "view" is derived from CWnd. When the user right-clicks on the view a popup menu is created. Some commands of the popup menu might...
  21. Replies
    7
    Views
    1,405

    Re: Coder speed challenge

    Well it seems noone, except TheCPUWizard is willing to participate. I suggest we give it another day or so and maybe someone else will post something.

    It seemed like a nice idea, though. ...
  22. Replies
    9
    Views
    10,848

    Re: Decent Text Editor For Large Files?

    Take a look at SciTE. It's my personal favourite. Fast, simple with some pretty nice features for a developer (like syntax highlighting, code completion and integration with a lot of compilers and...
  23. Replies
    7
    Views
    1,405

    Re: Coder speed challenge

    Take another look at the problem and at the sample i/o :) By 'split' I meant a pure geometrical split. Inserting spaces in the appropriate places if you like

    1234567 can only be split in two ways...
  24. Replies
    7
    Views
    1,405

    Re: Coder speed challenge

    Sounds fair.
    Rules updated. ;)
  25. Replies
    7
    Views
    1,405

    Coder speed challenge

    Hey,

    I have an idea for a game. Here are the rules

    1. The current Game Master states a simple programming problem.
    2. The players post their solutions for the problem in any language that they...
Results 1 to 25 of 1100
Page 1 of 44 1 2 3 4





Click Here to Expand Forum to Full Width

Featured