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

Search:

Type: Posts; User: Amleto

Page 1 of 30 1 2 3 4

Search: Search took 0.04 seconds.

  1. Re: reading and storing a sentence from a .txt file

    hint: you don't have to do everything on one line!
  2. Thread: how it solve?

    by Amleto
    Replies
    5
    Views
    349

    Re: how it solve?

    Just this time? Well.... no.
  3. Thread: std::mutex

    by Amleto
    Replies
    3
    Views
    1,422

    Re: std::mutex

    no... visual studio doesn't work too well on linux.
  4. Thread: std::mutex

    by Amleto
    Replies
    3
    Views
    1,422

    std::mutex

    I was looking at some open source project that I thought was interesting and wanted to compile the code for myself. Unfortunately my visual studio 2010 isn't c++11 compliant enough so I installed...
  5. Thread: neural network

    by Amleto
    Replies
    2
    Views
    672

    Re: neural network

    Could be anything. Could be that your code doesnt do what you say. Could be that you wrote '1' instead of '2' somewhere....
  6. Replies
    3
    Views
    1,397

    Re: Sorting a vector of objects

    bool graph::cmp_val (edge& a, edge& B)

    why pass by reference? Should be value or const ref.
  7. Re: Source files separation and inter-related classes

    like any other review?
  8. Replies
    22
    Views
    1,812

    Re: best std container class for my application?

    Do you want to add a new object in the middle of the container?


    If yes, you could consider deque std::deque or std::list. Otherwise I would suggest std::vector. For 1. you would could do a...
  9. Replies
    4
    Views
    1,009

    Re: Need a help on C++

    void Board::setPiece(int sourceRow, int sourceCol, int destRow, int destCol) {
    //implement this
    } //end of setPiece

    I guess you need to implement it.
  10. Re: How to write C++ program for a specific finite automata?

    do you know how to get user input? If not look at <iostream> header and examples with std::cin, std::cout.

    You'll need a third party lib for the regex match, unless you have c++ 0x compiler (in...
  11. Re: inherited classes w/ different functions under the same name

    yep, that's the one :)
  12. Replies
    8
    Views
    932

    Re: help me in writing this program

    acclerated c++ does not appear to be available in ebook
  13. Replies
    22
    Views
    4,318

    Re: Debugging suspected memory overwrite

    what other possible causes have you considered, and why have you rejected them? e.g. threading issue.

    I'm sure googling will throw up plenty of information. You may need to read up on 'placement...
  14. Replies
    3
    Views
    1,773

    Re: C++ .NET framework for Windows Forms (GUI)

    why is qt awful? I think it's pretty good!

    If you want to code in c++ (why else are you posting in this forum), then I think doing the gui in .net is more trouble than it's worth.
  15. Replies
    2
    Views
    486

    Re: short path algorithm

    you said you have assumed all roads are connected. Simply, you have to remove that assumption and follow through the consequences.

    In general, showing only a snippet is not very helpful,...
  16. Re: How to merge the same method of different classes in the clean way

    struct - holds your data

    struct manipulator - provides getter/setters. could take a reference to a struct in ctor, or possibly accept a pointer in some kind of init method.

    manager - defines...
  17. Re: How to merge the same method of different classes in the clean way

    dont post same thread in multiple places, please

    http://www.codeguru.com/forum/showthread.php?t=519351
  18. Re: How to merge the same method of different classes in the clean way

    I see you have asked this in several places and seem to ignore the general advice - your problem is your bad design - it is bad because your gui(s) are highly coupled to your data.

    Break the...
  19. Replies
    1
    Views
    390

    Re: Win32 Application - Help With Math

    well, you have all the numbers, and you spelt out all of the maths, so just code it up.
  20. Replies
    8
    Views
    706

    Re: C++ substituting variables for values

    not quite sure I understand where you are stuck. Do you have a method/function that takes time as an argument?
  21. Replies
    3
    Views
    644

    Re: Problems with an algorithm - need help

    so much code. so few code tags :(
  22. Replies
    2
    Views
    537

    Re: Multi Thread Objects - Choice

    do your own homework.
  23. Replies
    7
    Views
    556

    Re: int main() / void main()

    ??

    int main(int argc, char *argv[])
    int main(int argc, char** argv)

    are for handling command line arguments. You know there's a difference between command line args and user input?
  24. Re: Update all instances of a class with a single funtion?

    :confused:

    nobody said otherwise.
  25. Re: Update all instances of a class with a single funtion?

    I said, in effect, which is true. You have one possible accessor, and one possible update method.



    That doesn't work if the timers are meant to be used independently. Since the op wanted...
Results 1 to 25 of 726
Page 1 of 30 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center