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

Search:

Type: Posts; User: crazy boy

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: How to use watch in VS2010 when I use singlton?

    I've solved it. I just added

    S & D = S::I();
    to main cpp. This way I can display the main object with instance however I cannot display
    it this way: D.Stat coz this say 'D.Stat' does not exist.
  2. Re: How to use watch in VS2010 when I use singlton?

    Do you mean like this?



    S & S::I() // instance
    {
    static S inst;
    D = inst; // for debug purposes
    return inst;
    }
  3. Re: How to use watch in VS2010 when I use singlton?

    Is it possible to add reference to instance of singleton in Watch?
  4. Re: How to use watch in VS2010 when I use singlton?

    S::I().Stat error: 'S::I().Stat' does not exist
  5. Re: How to use watch in VS2010 when I use singlton?

    Sure, this is in the Watch window:

    S::I().Stat error: 'S::I().Stat' does not exist
  6. How to use watch in VS2010 when I use singlton?

    I have code like this:


    if (S::I().File.isDirectory(arg, S::I().Stat.workingPath)) {
    // find out if there is -r option after 1st argument to join files
    src_temp.join = true;...
  7. Replies
    6
    Views
    315

    Re: Strange errors in Visual Studio 2010

    Thanks. But I think the Binary Editor is missing in VS 2010
  8. Replies
    3
    Views
    255

    Re: Linker error when including OpenGL

    I figured it out.
  9. Replies
    6
    Views
    315

    Re: Strange errors in Visual Studio 2010

    How to open it it VS binary editor?
  10. Replies
    6
    Views
    315

    Re: Strange errors in Visual Studio 2010

    Just for test, I have copied the code above and paste it there again and some errors disappeared:


    Yet the error above was for different file - ot was file.h line 10



    class FILE_ {
    public:...
  11. Replies
    6
    Views
    315

    Strange errors in Visual Studio 2010

    Here is another project which I try to run. It has many files, but I got errors. First error:

    1>w:\___new projects\singleton\parse4\parse4\myColorConverter.h(4): error C2018: unknown character...
  12. Replies
    3
    Views
    255

    Linker error when including OpenGL

    I have this code in my project


    // OpenGL1.cpp : main project file.
    // #include "stdafx.h"
    #include "windows.h"
    #include <GL/gl.h>
    #include <iostream>

    using namespace System;
  13. Replies
    5
    Views
    2,196

    Re: Why I cannot open tiff file?

    Then why in one code the command works and in the second code does not? The method obviously handles linux slashes to convert them to Windows slashes. Otherwise the method would failed in both codes....
  14. Replies
    5
    Views
    2,196

    Re: Why I cannot open tiff file?

    No problem with path. This is perfectly OK. The problem is in the method. Did you ever tried using tiff tags? To read or to write them by libtiff? The problem here is that the tag data which were...
  15. Replies
    5
    Views
    2,196

    Why I cannot open tiff file?

    I am trying libtiff library (I downloaded the source codes as part of SDL2, but I test it separately). There is a test file named ascii_tag.c.

    There is a line

    tif = TIFFOpen(filename, "r");
    ...
  16. Replies
    8
    Views
    7,739

    Re: How to read images in GDI or GDI+

    I probably found good (portable) solution -Cimg:
    http://stackoverflow.com/questions/3284498/c-c-image-loading
    http://cimg.sourceforge.net/
  17. Replies
    8
    Views
    7,739

    Re: How to read images in GDI or GDI+

    Because I dont use payed version of VS.
  18. Replies
    8
    Views
    7,739

    Re: How to read images in GDI or GDI+

    Will it work for Visual Studio Express 2010? It is in the list of classed which are shared on MFC and ATL.
  19. Replies
    8
    Views
    7,739

    How to read images in GDI or GDI+

    I am working on application to work with images. I need advise how to open/read images, whether it is jpeg, png, bmp or tiff and get it to bitmap. Is there some universal command for this or I will...
  20. Re: How to configurate the Visual Studio C/C++ Additional Include Headers?

    I repaired it.

    Seems there are two directories which should be included.

    Either this way:
    C:\C++\boost_1_55_0\;C:\C++\boost_1_55_0\libs
    and include command then looks like this

    #include...
  21. Re: How to configurate the Visual Studio C/C++ Additional Include Headers?

    GCFED:
    I know where - but I dont know how?

    This is my settings:
    C:\C++\boost_1_55_0;%(AdditionalIncludeDirectories)

    Can somebody explain to me what meant the:

    $(BOOST);...
  22. How to configurate the Visual Studio C/C++ Additional Include Directories?

    I want to include boost directory. What must be in the
    Additional Include Directories input?

    I tried

    C:\C++\boost_1_55_0\libs\accumulators\example;$(BOOST_ROOT);%(AdditionalIncludeDirectories)...
  23. Re: Parsing CL arguments and Function call queue

    On the page where I found it on, they use the

    std::getline(ss, token, ',')) but working with string type. The dash is only example. It could also be "-" used as delimiter. So can I use sstream to...
  24. Re: Parsing CL arguments and Function call queue

    What? I said I want to parse the argument:
    "abc,def,ghi"

    I explain father more:
    I run myapp.exe abc,def,ghi 124,25,13

    so I need to parse the argument 1 to array of values ["abc","def","ghi"]...
  25. Re: Parsing CL arguments and Function call queue

    Thank you. I would like to parse the arguments but I have problem that they are different type. I have found example code using strings but the arguments are _TCHAR so if I would replace input for a...
Results 1 to 25 of 151
Page 1 of 7 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center