Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
W

wendyyue

@wendyyue
About
Posts
25
Topics
15
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • I have C++ exe file( no source code) and need to run many large dataset under unix, but how to know the memeroy usage for one dataset?
    W wendyyue

    thanks

    C / C++ / MFC c++ tutorial question

  • I have C++ exe file( no source code) and need to run many large dataset under unix, but how to know the memeroy usage for one dataset?
    W wendyyue

    I think "top" is not good and if using the profiler, it seems no free download, any ideas?

    C / C++ / MFC c++ tutorial question

  • how to merge the three dll to one dll?Thanks
    W wendyyue

    no. this problem really make me annoying. do you have any suggestions.?

    C / C++ / MFC tutorial question

  • how to merge the three dll to one dll?Thanks
    W wendyyue

    I have created the dll project, this dll needs other two dll, and I want to finally provide only one dll(the one generated from this dll project, and hopefully the other two dll can merge in this dll),how should I do? It seems the directly genrated dll is not ok.

    C / C++ / MFC tutorial question

  • jni problem, can not call method outside the jni method??
    W wendyyue

    JNIEXPORT jstring JNICALL Java_playaudio_BeatTrack_myBeatTrack (JNIEnv *env, jobject obj, jstring wavfile) { const char* filename = env->GetStringUTFChars(wavfile,0); BeatTrack(filename); env->ReleaseStringUTFChars(wavfile,filename); return NULL; } for my BeatTrack method, I just need the filename, then it can run, if I comment the BeatTrack(filename);, then no problem, for the java calling, of course, my BeatTrack(const *char filename) has no problem, cause I have test it,, but I call this method in java, the error is as follows, Java VM: Java HotSpot(TM) Client VM (10.0-b19 mixed mode, sharing windows-x86) # Problematic frame: # C [beattrack.dll+0x130b] # # An error report file with more information is saved as: # D:\programs\playAudio\hs_err_pid11684.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. any idea??

    Java help java c++ com question

  • how to draw waveform in real-time?
    W wendyyue

    hi I am new to java sound, and want to play the sound while draw the waveform in realtime , any idea or open souce?

    Java java tutorial question

  • how can I choose to build the GUI
    W wendyyue

    hi I have the core algorithm writen in c, and want to build a nice GUI for that algorithm, how can I do it , to embeded into Java, or use MFC, which one is better to get the nice GUI?

    C / C++ / MFC question c++ java asp-net algorithms

  • about the access violation error at the malloc sentence
    W wendyyue

    yes it does takes me a lot of time. just now I check the call stack find out that there is a problem in the following statement AT1=(int *)malloc(sizeof(int)*100); AT2=(int *)malloc(sizeof(int)*100); the AT1 can get the pointer and a valid value but the AT2 is 0x000000, can it means that the malloc did not allocate the memory for the AT2, because the memory is used up ? I have run it for 40 hours

    C / C++ / MFC help database data-structures question

  • about the access violation error at the malloc sentence
    W wendyyue

    hi, the complier tell me this error happens at the statement of the malloc sentence, but I wonder how can this happens for this statement AT2[nAT2].itemset=(int *)malloc(sizeof(int)*up->lb[i].itemlen); usually when the pointer points to the invalid error or the array is out of index then this error happens, but now the very strange thing is I have run the program for 40hours then the error jump out? can anyone help me to analyze this error?

    C / C++ / MFC help database data-structures question

  • about the error in just-in-time
    W wendyyue

    hi, before I install the visual studio 2005, I use the vc 6.0 to debug, when I run the program, if finally there are some bug, the visual 6.0 will jump to the line that has bugs, but after i installed the vc 2005, for the same program(I run it in vc 6.0), if I run it, then the vc tells me I have not start the just-in-time debugger, but I can not find out where to set just-in-time debugger, any ideas?

    C / C++ / MFC debugging help csharp visual-studio question

  • about the .h file in c and C++ [modified]
    W wendyyue

    ask for help

    C / C++ / MFC c++ help debugging tutorial question

  • about the .h file in c and C++ [modified]
    W wendyyue

    can anyone help me?

    C / C++ / MFC c++ help debugging tutorial question

  • about the .h file in c and C++ [modified]
    W wendyyue

    sorry I did not clear my idea. I mean. originally, I use the pure c to code, but I want to use the list (from STL) to do some operation, so I insert some code which use the list varible list<<int >> a, and then I need to include the <<list>> file and <<algorithm>> file, right? But when I complie it, the debugger tells the a is not declared , but I have include the <<list>>, so I am not sure why, it is not runnable ?

    C / C++ / MFC c++ help debugging tutorial question

  • about the .h file in c and C++ [modified]
    W wendyyue

    so how to solove it and make it runnable in vc? you get my problem?

    C / C++ / MFC c++ help debugging tutorial question

  • about the .h file in c and C++ [modified]
    W wendyyue

    dear guys, now my problem is I have use a lot of .h file to code , say, malloc.h stdlib.h and then I want to use some stl to code because it has some good method, so I include the string list, but then I complie then all, the debugger tells me the list variable is not declare it, and then I try to use , and found it is different from list.. anyone can tell me how to make my code run without such error?

    modified on Monday, March 31, 2008 7:26 AM

    C / C++ / MFC c++ help debugging tutorial question

  • the debug problem in VC++
    W wendyyue

    say i have a function int fun(int *a), and other function int fa(); int fb(), int fc(),....int fn(); all the them will call the fun(int *a), but the problem is, when I run the program, the vc++ tells me some of them pass the NULL pointer to the fun(int *a) which make mistake, but could not tell me which function calls the fun(int *a) and then pass the NULL pointer to it, so dear guys, how could I know which one call the fun(int *a) that pass the NULL pointer? Thanks.

    C / C++ / MFC c++ debugging help question

  • help about this stack overflow?
    W wendyyue

    #include #include int min(int a, int b, int c) { int temp=a<=b?a:b; return temp<=c?temp:c; } int MinOperation(int len1, char str1[], int len2, char str2[]) { int count[10001][10001]; int i,j; for(i=0; i<1001; i++) count[0][i]=0; for(i=0; i<1001; i++) count[i][0]=0; for(i=1; i<=len1; i++) for(j=1; j<=len2; j++) { if(str1[i]==str2[j]) count[i][j]=min( count[i-1][j-1], count[i-1][j]+1, count[i][j-1]+1); else count[i][j]=min( count[i-1][j-1]+1, count[i][j-1]+1, count[i-1][j]+1 ); } return count[len1][len2]; } void main() { int i=0; int len1; int len2; char str1[1001]; char str2[1001]; scanf("%d%s", len1, (str1) ); scanf("%d%s", len2, (str2) ); puts(str1); puts(str2); printf("%d", MinOperation(len1 ,str1 ,len2 ,str2)); } I am not sure why there exist a bug stack overflow?

    C / C++ / MFC help data-structures question

  • HELP how to insert the dll into a exe?
    W wendyyue

    I have the code which need to link the dll to run , but I do not want to it link the dll to run, so how can I insert the dll into the exe, so that when I double click the exe it can run without explictly linking the dll

    C / C++ / MFC question help tutorial

  • about the dll and lib
    W wendyyue

    in a source file(.cpp and .h), how can I know it call the dll? if it calls the dll, how can I make it call the static lib instead of dll, can anyone give me specific instruction about this topic?

    C / C++ / MFC question c++

  • how to watch the content which is pointed by a pointer
    W wendyyue

    thanks , you answer is right.

    C / C++ / MFC database debugging performance tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups