Search:

Type: Posts; User: letmoon

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,530

    thank you very much.

    thank you very much.
  2. Replies
    2
    Views
    2,530

    _TCHAR * argv to char

    Hello,

    I want to transform the input argument to a char.

    For example, there is a 'A' in my argv[3], in the argument, and I want to use it as a char in my main program.

    BTW, I use unicode...
  3. Thanks very much to you both.

    Thanks very much to you both.
  4. how can I get the system time in the unit of mili-second

    Hello,

    I want to get the system time for a delay. But I do not want to use Windows API, for I want my program to run in Linux system as well.
    For example, there is a description of what I want to...
  5. got it #ifdef WIN32 #include #endif

    got it
    #ifdef WIN32
    #include <io.h>
    #endif
  6. if i wanna use open, read in a c++ style program, how could I do

    Hello,
    I am trying to make it run, but it looks like that the usage is not correct. How could I get it. Because I also want the program running in Linux.



    #include <iostream>

    // For...
  7. Replies
    4
    Views
    1,395

    is it possible to implement it in this way

    this is just a program that can no be compiled successfully. thus, could anyone provides a little advice for this. thanks


    // MMath.h : interface of the MMath class

    #pragma once

    #ifndef ...
  8. Replies
    17
    Views
    2,242

    thanks u both, really helpful

    thanks u both, really helpful
  9. Replies
    17
    Views
    2,242

    vector, for example typedef vector...

    vector, for example


    typedef vector<int> i_vec;

    // in the class
    // private:
    vector<i_vec> buffer;
  10. Replies
    17
    Views
    2,242

    thanks Soma, actually, in addtion to this one. i...

    thanks Soma,
    actually, in addtion to this one. i also wanna implement some operator overloads
  11. Replies
    17
    Views
    2,242

    thanks mana, that is to say specifing values...

    thanks mana,
    that is to say specifing values directly to the buffer is impossible, am i right
  12. Replies
    17
    Views
    2,242

    how can implement a template class like this

    actually, i wanna implement a matrix class. and i also want to enable the member function to initialize the buffer where the data stores.
    i ve considered two means, one is overload function, another...
  13. Replies
    1
    Views
    913

    it is fixed, thanks

    it is fixed, thanks
  14. Replies
    1
    Views
    913

    What s wrong with my functions?

    fixed
  15. How to use .bat file to deal with multiple command line parameters?

    I just want to run a program in VC 6.0 E.Version, and there are many txt files to be read while the program running. My classmate told me that I should use a bat file to pass every paramenter to the...
  16. Replies
    3
    Views
    3,212

    Mats I am happying for you reply, thanks very...

    Mats I am happying for you reply, thanks very much. That 's my first assignment. So now I got it I think.
  17. Replies
    3
    Views
    3,212

    why it can not exit the while loop

    Here is an attachment named bunny.pdf. It is an OBJ file is read by this program.

    The problem now is it can not exit the while loop while it is running. And I do not why it read twice at each line...
Results 1 to 17 of 17