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

Search:

Type: Posts; User: Learned

Page 1 of 8 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    519

    [RESOLVED] Multimap manipulation question

    I have
  2. Replies
    1
    Views
    516

    Why is this piece of code not working

    I have tried to look at it about 20 times but can't find any issue. Please bear in mind that I am a bit novice for c-sharp.

    The console part works fine so my StoreArray is not having any problem...
  3. Replies
    1
    Views
    1,104

    Writing an array to a text file

    I have a giant 2D array of numbers. I can write them to a file in rows and columns just the way I want by iterating through the contents of rows but looping through the array is time consuming. So, I...
  4. Replies
    4
    Views
    1,079

    Re: Finding all elements between two in a list

    Thanks for reply. I think I have seen links about dictionary before. I would like not to iterate through the entire dictionary to find first key greater than 12 and first key smaller than 16. Is...
  5. Replies
    4
    Views
    1,079

    Finding all elements between two in a list

    I am used to using STL in C++ and kind of dabbling with C-sharp right now. So, I have a sorted array and I want to find all elements between two given quantities.

    I have the following:
    ...
  6. Replies
    1
    Views
    752

    Re: C++ function in Excel

    Okay I got this simple thing working using an example from "a brief introduction to C++ and interfacing with Excel" by Andrew L Hazel.

    Thanks for reading.
  7. Replies
    1
    Views
    752

    [RESOLVED] C++ function in Excel

    I have a very simple function in c++:
    int sum(int a, int b) { return a+b; }

    I want to be able to use this simple function in excel. I googled this problem and there is a lot of material available...
  8. Replies
    8
    Views
    826

    Re: Variable name

    Very nicely done. Thanks. I learn a lot here just reading people's code.
  9. [RESOLVED] Variable name in string to variable

    I have a variable name stored in a string as:
    string var = "xyz"; //xyz will be different based on fucntion call

    but each of these "xyz" are indeed variables. So, I have:
    xyz = 1;
    abc = 13.5;...
  10. Replies
    8
    Views
    826

    Re: Variable name

    This is what I have been thinking:
    class lessthan10
    {
    public:
    int a;
    lessthan10() {cout<<"Bad data"; //etc.}
    };

    Now in the original function, if it had been:
    void myfunc(int a, string b);
  11. Replies
    8
    Views
    826

    Re: Variable name

    @Lindley

    Can you please elaborate some more on your suggestion, I like your idea but since I am still learning I feel I am missing quite a bit from your suggestion.

    Thanks
  12. Replies
    8
    Views
    826

    [RESOLVED] Variable name

    I have a bunch of functions sharing the variable names like:
    void myfunc(int a, string b);
    void func2(int c, string b);
    void func3(int a, int c);

    But they are not consistent in the way they...
  13. [RESOLVED] Extracting Elements from STL maps

    I have a giant map and using iterator and lower_bound functions I have been able to narrow down to a range relevant to me.

    Now I want to copy the locations from first_iterator to last_iterator to...
  14. Replies
    9
    Views
    3,891

    Re: Milliseconds using ColeDateTime

    I wrote my own millisecond handler which still uses ColeDateTime but the kind of errors I was getting are:
    xxx needs ';' before xxx, etc and the errors were in files which I downloaded from code...
  15. Replies
    9
    Views
    3,891

    Re: Milliseconds using ColeDateTime

    Ok if I try to use the prvious suggestion about SYSTEM time to write my own code, how do I do it.

    I want to give in a specified time and be able to add 0.002 milliseconds and get new time. But...
  16. Replies
    9
    Views
    3,891

    Re: Milliseconds using ColeDateTime

    The CHightime gives build erros with Visual Studio 2010 and I am not the only one having it.
  17. Replies
    9
    Views
    3,891

    Re: Milliseconds using ColeDateTime

    I think this is the solution since I can't use Boost:

    http://www.codeproject.com/KB/datetime/hightime.aspx

    But would love to hear your opinion about the above if you have any.
  18. Replies
    9
    Views
    3,891

    Re: Milliseconds using ColeDateTime

    I do not have to use ColeDateTime but that is the only thing I came across with a working example. So, I implemented in my code.

    So, is there any example code for m_dt which plays with...
  19. Replies
    9
    Views
    3,891

    Re: Milliseconds using ColeDateTime

    Is this problem that hard that there have been more than 50 views and still no could answer it.
  20. Replies
    9
    Views
    3,891

    [RESOLVED] Milliseconds using ColeDateTime

    According to MSDN, ColeDateTime has resolution of 1 millisecond but when I try to use add 0.002 seconds to a ColeDateTime object and try to output the seconds using GetSecond(), I still get an...
  21. Replies
    2
    Views
    414

    [RESOLVED] find in vectors

    I have a vector of numbers arranged in increasing order. I need to find the exact location where first time the number in vector exceeds a certain value.

    This vector is expected to be of size...
  22. Replies
    3
    Views
    437

    Question about classes

    This is just an idea that I am trying to think whether would make sense or not. I could simulate what I am thinking and prove myself but I am looking for some logic behind it as well.

    So, I have...
  23. Replies
    1
    Views
    342

    [RESOLVED] Reading data file with headers

    I have a text file with headers and rest of rows are numbers. Is there a way to read the file so that first row is neglected?

    Thanks
  24. Replies
    2
    Views
    676

    Re: Reading it from URL

    Server is reading it. So, when I type in:
    http://blah.blah in IE, I get a page full of numbers and texts in a consistent manner.

    I got ahead a step in this process. I am using the code from this...
  25. Replies
    2
    Views
    676

    [RESOLVED] Reading it from URL

    As some of the gurus are aware that I have been trying to read the zipped file. I tried other stuff mentioned there like infozip but they are having problems as well and in the time I have, I can't...
Results 1 to 25 of 192
Page 1 of 8 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