Search:

Type: Posts; User: pingpangpang

Search: Search took 0.01 seconds.

  1. Right, It's just example code here. The real code...

    Right, It's just example code here. The real code is exteremy big and messy, and both the ApplePie class and Apple class are based on some fundamental classes, they use someother libraries. So I can...
  2. A virtual statement canceling the 'error LNK2001: unresolved external symbol' error?

    I tried to generate a “applepie.dll”, which used some functions defined in a header file called ‘Apple.h’. But the compiler showed error in linking process as below:

    applepie.obj : error LNK2001:...
  3. Replies
    12
    Views
    6,646

    Sorry for late response, I have just been too...

    Sorry for late response, I have just been too absorbed in programming.

    I need to run the program for thousands of times, and one run may takes around 40 mins. The output file size, as I could...
  4. Replies
    12
    Views
    6,646

    Well, I used fprintf in my current program. The...

    Well, I used fprintf in my current program. The program opens a file frequently, write something into it, and then close it. I just wanted to see if I can improve speed by using another output...
  5. Replies
    12
    Views
    6,646

    I am using WinXP

    I am using WinXP
  6. Replies
    12
    Views
    6,646

    What's the fastest way to write a file?

    what's the fastest way to write data into a file?
    cout or fprintf?

    Is there any even faster way to do this?
  7. Replies
    2
    Views
    2,402

    Ok, this problem is settled, a redefination of...

    Ok, this problem is settled, a redefination of the operator '<' in the struct mytemp
    will work.
  8. Replies
    2
    Views
    2,402

    Errors related with

    it's simple code, but I got errors.

    insert

    #include <stdio.h>
    #include <set>

    struct mytemp
    {
    int a;
  9. Replies
    4
    Views
    1,967

    Could you please explain how you know it's a...

    Could you please explain how you know it's a pointer problem?
  10. Replies
    4
    Views
    1,967

    What may cause this problem?

    I am working on a simulation program, which simulates a complex dynamic environment with lots of class

    construction and destructions. I used <vector> to store pointers to these classes.

    The...
  11. Replies
    3
    Views
    12,375

    Thank you, I solved this problem. I used an...

    Thank you, I solved this problem.

    I used an array in my code, such as Array[i]. I initialzed the array for i= 0 to 3, but I used Array[4] by mistake. I guess in the debug mode, the Array[4] is...
  12. Replies
    3
    Views
    12,375

    Why my code works only in debug mode?

    I wrote a c++ code using Microsoft visual c++. Now I have some weird problems

    I wrote the code on computer A, and runs well.

    Then I cope it to computer B. The source code can be compiled, but...
Results 1 to 12 of 12