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

Search:

Type: Posts; User: Ericxx

Search: Search took 0.03 seconds.

  1. Replies
    6
    Views
    2,257

    Re: Nested vector initialization problem

    Thanks Paul for correcting me. I will put the exact compilation environment for clarification in the next post.
  2. Replies
    6
    Views
    2,257

    Re: Nested vector initialization problem

    Thanks Philip. The problem has already been solved.
  3. Replies
    6
    Views
    2,257

    Re: Nested vector initialization problem

    Thank you. I have tried without the casting. But still got the error. As you suggested, a smalll program is listed below. The environment is Ubuntu 12.04. Wondering if this is a c++ library issue......
  4. Replies
    6
    Views
    2,257

    Nested vector initialization problem

    Hello,

    I initialized a nested vector with the following code as:


    vector<vector<Point> > vectorB(4, vector<Point> (int(vectorA.size()), 0));


    And came across the following error during...
  5. How to set java compiler compliance with command under Linux

    Hello everyone,

    I am using CentOS5 and java runtime environment(version 1.6.0_17, IceTea6 1.7.5) to compile one open source project. Came with the following errors:

    ".... statements are only...
  6. Replies
    10
    Views
    1,639

    Re: Function Macro definition problem

    Thanks, I have managed to build the code by changing the function as an inline function. But I still cannot figure out what's wrong with the previous declaration...

    regards,
    Eric
  7. Replies
    10
    Views
    1,639

    Function Macro definition problem

    Hi all,

    I have a macro function defined as follows in xx.h:


    int swap_tmp_int;
    #define INT_SWAP(X,Y) swap_tmp_int=X; X=Y; Y=swap_tmp_int;


    Then I used this function in another cpp file...
  8. Replies
    3
    Views
    1,119

    Re: SIGBUS error when porting from X86 to ARM

    Thanks. I have reposted this thread in the non-Visual C++ programming and provided the address of each class member for reference.

    To S_M_A, all the member addresses are 4byte apart tho on the...
  9. Replies
    1
    Views
    1,757

    SIGBUS error when porting from X86 to ARM

    Hello,

    I came with a SIGBUS error when importing a C++ code from X86 to ARM. Below is the code snippet where problem occurs, and appreciate your suggestions.



    class clsMatrix {
    protected: ...
  10. Replies
    3
    Views
    1,119

    SIGBUS error when porting from X86 to ARM

    Hello,

    I came with a SIGBUS error when importing a C++ code from X86 to ARM. Below is the code snippet where problem occurs, and appreciate your suggestions.

    <code>
    class clsMatrix { ...
  11. Replies
    5
    Views
    1,910

    Re: *****peer implementation using UDP

    thx, another issue is that since i do two threads on one machine, server and client thread, is it okay that i use two different socket descriptors for each thread for exclusive receiving and sending...
  12. Replies
    5
    Views
    1,910

    Re: *****peer implementation using UDP

    thx, actually i am using a method in QNX RTOS the TimerTimeout() kernel call to set the time out value,2ms. how should i know if it proper for the recvfrom()?

    in the server thread, i commented the...
  13. Replies
    5
    Views
    1,910

    *****peer implementation using UDP

    Hello all,
    I gonna build a wireless lan with 3 machines. each acts as a server and client at the same time. i am not quite clear about the following issues:
    1. each machine runs 2 threads,...
  14. Replies
    2
    Views
    764

    Derive from 2 base classes

    Hello everyone,
    I have two base classes with some functionalities. And i need another class to derive both some functions from the two base classes. So shall i derive both or derive from either, but...
  15. Replies
    0
    Views
    698

    Wireless token protocol based on UDP

    Hello,
    I am doing some projects on outdoor mulit-vehicles(three initially) in open field. I chose to use wifi as a packet passing technology among vehicles. Considering the real time requirments and...
Results 1 to 15 of 15





Click Here to Expand Forum to Full Width

Featured