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

Search:

Type: Posts; User: laasunde

Page 1 of 25 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    3
    Views
    2,844

    Re: STL algorithm adapter

    Thank you.

    That looks very interesting.

    Will study it in more detail the coming week.
  2. Replies
    3
    Views
    2,844

    STL algorithm adapter

    Hello,

    An external library has the following header file;


    template <typename T>
    class MyCollection
    {
    public:
    MyCollection();
  3. Replies
    1
    Views
    1,320

    ofstream valid path and name

    The following code writes to a file on either local disk to a remote disk (commented out code) on Windows 7 platform.



    #include <iostream>
    #include <fstream>
    using namespace std;

    int main...
  4. Re: allocation/deallocation of memory in exe and library

    The understand I have is a static library is a collection of compiled object files. Does not that mean that a static library could use a different CRT version than the exe?

    How can I check that...
  5. allocation/deallocation of memory in exe and library

    Say I have an executable and a library on the Windows XP platform.

    Does building the executable and library as static (/MT) or dynamic (/MD) have any impact on which unit creates and deletes...
  6. Replies
    2
    Views
    1,368

    Re: std::vector filtering

    Thank you. Will take a look at what you mentioned.
  7. Replies
    2
    Views
    1,368

    std::vector filtering

    The example enable a client to iterate the internal std::vector using being() and end().


    class foo
    {
    public:
    typedef std::vector<std::string>const_iterator iter;
    iter begin () const;
    ...
  8. Replies
    7
    Views
    3,080

    Re: MVC relationship

    Agree. Boost is library of choice.


    Original post was poorly phrased on my part. What I meant was the controller should create all views (plural) and manage switching between views. Switching...
  9. Replies
    7
    Views
    3,080

    MVC relationship

    What is good practice for the relationship between view and controller in the MVC pattern?
    It appears to me that this relationship can become quite strongly coupled and is this desirable?
    To...
  10. Thread: Watch Folder

    by laasunde
    Replies
    1
    Views
    758

    Watch Folder

    Hello,

    Using multiple computers connected with ethernet and running WinXP SP3.

    One of the computers is defined as the server, meaning it has created a file share that all the other computers...
  11. Replies
    1
    Views
    718

    method pointer

    The MessageManager class is a wrapper around a c library with all the fun that brings along. The class retrieves all Messages available in the system. Since the class loads a lot of resources it is...
  12. Replies
    1
    Views
    2,824

    GetTimeZoneInformation

    Hello,

    I have an issue with setting timezones and using the API GetTimeZoneInformation that I would appreciate some help understanding.

    Setting the timezone to GMT+02:00 Jerusalem on computer1...
  13. Replies
    2
    Views
    1,028

    Re: C++ style checker

    Thank you for the feedback.

    We would like to have a tool that only checks a developers adherence to a set of rules and for instance blocks an attempt to check-in that file. The application you...
  14. Replies
    2
    Views
    1,028

    C++ style checker

    What tool would you recommend to verify C++ source code styling? By C++ source code styling I mean, usage of indentation, spacing and newlines, howto format commenting, where to place bracket ,...
  15. Replies
    3
    Views
    792

    Re: strings in structs

    #include <iostream>
    #include <string>
    using namespace std;

    int main()
    {
    // rest of code...
    }
  16. Replies
    4
    Views
    799

    Re: Inheritance Problem

    The code you provided should not compile, the variable 'value' is not defined.



    LDI::LDI(int valueTemp)
    : Instructions()
    {
    value = valueTemp;
    }
  17. Replies
    30
    Views
    3,378

    Re: Resetting variables

    Please provide code example.

    Also explain what happens and what you would like to happen.
  18. Replies
    3
    Views
    856

    Re: making a string array of words in main.

    Use code tags.
  19. Replies
    3
    Views
    575

    Re: compiling problem

    First of all, definiting a type called "new1" is just plain annoying.

    In the below code 'sList' is a pointer but the method list_sort does not return a pointer.


    new1 *sList;

    new1...
  20. Replies
    4
    Views
    666

    Re: compiling problem

    In the below code the variable all_names is not defined and the function strcmp requires two parameters of type const char *.


    int id;
    result = strcmp (all_names[loop].id,id);

    ...
  21. Replies
    2
    Views
    538

    Re: Urgent Solution Required

    You already asked the question here http://www.codeguru.com/forum/showthread.php?t=487497

    Stick to one thread. Please be a bit more specific in your problem description.
  22. Replies
    3
    Views
    6,016

    Re: School file i/o program

    Some info http://www.parashift.com/c++-faq-lite/serialization.html

    What specific part of the task are you having a problem with? Does the current code write any, some or all necessary infomation...
  23. Replies
    4
    Views
    636

    Re: Functions for Die

    Please use code tags and indent your code.
  24. Re: Urgent: File Transfer Program between 2 machines

    You can use socket programming to communicate between to computers across a network.
  25. Replies
    1
    Views
    4,542

    Re: Problem with arrays

    Use two for loops.



    for(int index1 = 0; index1 < STUDENT; index1++)
    {
    for(int index2 = 0; index2 < NUM_QUIZ; index2++)
    {
    // out data from array
    }
Results 1 to 25 of 616
Page 1 of 25 1 2 3 4





Click Here to Expand Forum to Full Width

Featured