Search:

Type: Posts; User: hqt

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    2,026

    makefile: include cannot find source code

    I have a Makefile with following lines for importing source code:


    projecct_FILES = include/mongoose/mongoose.c \
    include/protobuf/GPBProtocolBuffers.m \
    src/project ...

    mongoose...
  2. Replies
    4
    Views
    15,015

    @MK27: I have built it (built in Menu Project) or...

    @MK27: I have built it (built in Menu Project) or use Harmer as you say. After build it, I don't see any exe file in Debug folder. (I choose Debug Build).
    Please tell me more .

    Thanks :)
  3. Replies
    4
    Views
    15,015

    Can you tell me more clearer, please. Thanks :)

    Can you tell me more clearer, please.
    Thanks :)
  4. Replies
    4
    Views
    15,015

    Eclipse CDT: Binary File Not Found

    I'm sorry if my question sames with many others on Internet, but I still cannot fix it.
    I'm using Windows 7 64 bit and Eclipse 64 bit version,too
    My problem is: I cannot compile a C++ program...
  5. Replies
    4
    Views
    1,746

    Compiler reorder the statement to excute

    I'm reading an ebook. they're using volatile keywords for a variable.
    This is my example code:


    volatile boolean check;
    int a ;
    //other function
    public void functionA(){
    check = true;
    ...
  6. Replies
    9
    Views
    6,266

    Ah, now I understand why people say DoEvents()...

    Ah, now I understand why people say DoEvents() use for simple task. Because in this case (for example command A and command B) will nearly cost no time. So, our program won't have bottleneck affect....
  7. Replies
    9
    Views
    6,266

    I have search that they say we should use...

    I have search that they say we should use DoEvents() for Simple task and Thread for Complex task.
    But up to now, I still don't know all about DoEvents(). So, I don't know why people say this task...
  8. Replies
    9
    Views
    6,266

    Oh, thanks you. First time, I decide to use...

    Oh, thanks you. First time, I decide to use Timer. For each interval time, my program will check what happened from user. But, I think that is uneffective and I google, some post says about...
  9. Replies
    9
    Views
    6,266

    Application::DoEvents()

    I have a piece of code that have Application:: DoEvents() and I have read on MSDN, but there's something that I still don't understand.
    for example, here is my pseudocode:


    void functionA()
    {
    ...
  10. Replies
    3
    Views
    11,377

    I have a formular, that doesn't need to count for...

    I have a formular, that doesn't need to count for each number. (it means if you know n lines: line i like y_coor, at line i, j(th) like x_coor, so I know what number at coordinate(x,y). But maybe It...
  11. Replies
    3
    Views
    2,815

    Oh, I can do it now :) . Thanks for your help,...

    Oh, I can do it now :) . Thanks for your help, after download program and read carefully, I understand why you ask me that question :D

    But know, I have other questions: How to include music file...
  12. Replies
    3
    Views
    2,815

    In one post, they say I should copy fmoddex.dll...

    In one post, they say I should copy fmoddex.dll to excuted folder. after that, set: #include"fmod.h". I think this is is nonsense because no file name fmod.h and It's really, my IDE take error:...
  13. Replies
    3
    Views
    2,815

    Play MP3: Use FMOD Library

    I have read on forum about how to play Mp3 file fmod library. But, I don't know how to add this library to my project. It's mean on fmod offcial site, there are many topics to down and with each...
  14. Replies
    2
    Views
    5,381

    Write and Read File at the same time

    I want to read and write to text file at the same time. But I have met some problem. Here is my code:


    int main()
    {
    string t;
    fstream f(file,ios::out|ios::in);
    f>>t; //read first line of...
  15. Replies
    3
    Views
    7,232

    Oh, thanks very much. May I have understand. if I...

    Oh, thanks very much. May I have understand. if I don't thinking wrong, coor.X and coor.Y are just parameter of struct COORD. (but before that, I think coor.X and coor.Y is the present cursor) so I...
  16. Replies
    3
    Views
    7,232

    Windows.h: COORD function error

    I have use a function of <windows.h> library. And I have met error with MS Visual Studio 2010, but when I compiled on Dev-C++, No problem. Here my code:


    void gotoXY(int x, int y)
    {
    COORD...
  17. Replies
    3
    Views
    2,607

    Different MultiSet and Heap

    I don't know what different in C++ between this data structure. I know that MultiSet is a set that has many same keys, and Heap is like binary Search Tree. MultiSet/Set, I have read that C++ use...
  18. Replies
    8
    Views
    1,701

    System Command: DIR

    I'm using system command DIR: this command list all folder in the present directory. But I don't know how to touch folder in this list.
    Example:


    #include<windows.h>
    int main()
    {...
  19. Replies
    12
    Views
    2,115

    As the latest code that I have posted, it has...

    As the latest code that I have posted, it has error on line declare:
    cmp_hull comp; not because sort function.
    I have typed again and still met that error :( I really don't know why.
    Please...
  20. Replies
    12
    Views
    2,115

    this is my code with some shorten (struct point...

    this is my code with some shorten (struct point just make my program don't have error, you might not see that struct :D. the program I meet from struct comp_hull and function convex_hull_grahamscan()...
  21. Replies
    12
    Views
    2,115

    Oh, I'm sorry so much. I have indented my code...

    Oh, I'm sorry so much.
    I have indented my code again. I'm sorry because I type above code in web field, so use 'tab' is so difficult :( I still cannot paste my code in my IDE to browser to,...
  22. Replies
    12
    Views
    2,115

    Oh, thanks so much, I have use define and forget...

    Oh, thanks so much, I have use define and forget '()'


    #define ALL(a) (a).begin(),(a).end //WRONG HERE

    Yes, I'm trying to use overloading because my comparison need more parameters. (above...
  23. Replies
    12
    Views
    2,115

    Sort: Error No matching function

    I have a error with sort algorithm of c++:


    struct point{ //define point
    }
    bool cmp(point a, point b){ //some line of code
    }
    typedef vector<point> polygon;
    polygon Convex_hull(polygon&p){...
  24. Replies
    8
    Views
    2,759

    Yes, I understand that knowledge about float...

    Yes, I understand that knowledge about float number is not trivial. About compare float number . I often use those pieces of code:


    typedef double cfloat
    const cfloat eps=1e-10;
    inline...
  25. Replies
    8
    Views
    2,759

    C Float: Should use Division or Multiplication

    I don't know in C, which method is more accurate. For example: I have four float numbers: a,b,c,d. (suppose they are all different to zero).
    and I need to know: a/b (<,>,==) c/d. So, we should...
Results 1 to 25 of 118
Page 1 of 5 1 2 3 4