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

Search:

Type: Posts; User: compuKidd

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    520

    Re: closing code bizzare behaviour

    BigEd nailed it cool man it worked thanks

    but isn't it strange how some code still ran after main exited, strange....
  2. Replies
    4
    Views
    520

    Re: closing code bizzare behaviour

    well I tried it its even worse the code will not even enter the Dispose function when I close the window

    an additional note when I traced the code (using the destructor) the Form's protected...
  3. Replies
    4
    Views
    520

    closing code bizzare behaviour

    Hi guys I'm new to C#.net so please keep that in mind.
    first I'm using VS2005 i'm also using c# for developing some data base driven windows application, Im also using MySQL as my data base,

    I...
  4. Replies
    7
    Views
    628

    Re: Big Threading Problem

    Ok for sizes of 1,000->100,000 having one thread is better, but never 2 threads is better than 1 or 0 threads and never 3 is better than 2 and never 4 is better than 3 :( that's strange I thought...
  5. Replies
    7
    Views
    628

    Big Threading Problem

    I need to do merge sort with threading but it seems to take more time with threading rather than no threading :(, and I have core quad!

    please help



    #include <iostream>
    #include <fstream>...
  6. Replies
    10
    Views
    627

    Re: threading question

    I removed the _getch() and the cerr but still same problem please help
  7. Replies
    10
    Views
    627

    Re: threading question

    ok I looked up reentrant and well the key function uses _getch() and cerr, can this be the reason? and plus I have the main also running the key function, as for synchronisation I'm using non since...
  8. Replies
    10
    Views
    627

    threading question

    hi guys I have a function that does almost all the work I need to be done the thing is I need the same work done for 4 different classes (sets of data) luckily I have a core quad processor so I...
  9. Replies
    12
    Views
    963

    Re: string scope problem

    if any one is still wondering:
    1-It seems so from the discussion
    2-this is how it is in the standard
    3-simple use strcpy (duh)
    4-still don't know getting the same thing every time I print not...
  10. Replies
    1
    Views
    514

    Re: Having issues with cin.getline and cin

    I used to have lots of problem when using cin.getline, now Im not an expert with this kind of stuff but what we used to do to solve them is put a:


    char enter[1];
    cin.getline(enter,1);

    after...
  11. Replies
    12
    Views
    963

    string scope problem

    char *t2;
    {
    string t1="hello";
    t2=(char*)t1.c_str();
    cerr<<t2<<"\n";
    }
    cerr<<t2<<"\n";


    the first cerr is printing hello but the second one is printing nothing, it seems that when...
  12. Replies
    2
    Views
    440

    Re: thread return

    I'll have to try it but it seems like the right function.
    for future reference I want to know the return value cause what I'm doing is returning an address to a variable I need to use in the main;
    ...
  13. Replies
    2
    Views
    440

    thread return

    where does the number returned by the thread function goes???
  14. Replies
    5
    Views
    647

    Re: threading preoblem

    wow when I replaced cerr with cout hell broke at my program :D

    outputs are not only random they are also scrambled between each other, here is a sample:
    hFoOwRdke
    eFeO
    RkN
    OFOOOROkO
    OFOOOROk...
  15. Replies
    5
    Views
    647

    Re: threading preoblem

    What library should I include?
  16. Replies
    5
    Views
    647

    threading problem

    #include <iostream>
    #include <fstream>
    #include <conio.h>
    #include <process.h>
    using namespace std;

    unsigned int __stdcall foo(void *param)
    {
    while(1) cerr<<"howdeee\n";
    return 0;
  17. Replies
    3
    Views
    3,142

    Re: a non blocking getch() ????

    yes thanks _kbhit() works :D
  18. Replies
    3
    Views
    3,142

    Re: a non blocking getch() ????

    its a console application, and how exactly do I check for a keyboard hit? (without waiting)
  19. Replies
    3
    Views
    3,142

    a non blocking getch() ????

    I have a loop whose running time is really longe and I want to save my variables before the loop finishes if requested by the user, but I don't want to block (wait for user to answer), like I need a...
  20. Replies
    2
    Views
    430

    Re: runtime error

    its ok I got it thanks anyways
  21. Replies
    2
    Views
    430

    runtime error

    please see attached file.

    what does this error mean?
  22. Replies
    7
    Views
    5,254

    Re: typedef array with const size?

    I want to create a dynamic array of char arrays of size 4, since this:
    char *a[4];
    doesn't work sice this creates an array of size 4 of char pointers :S

    I was thinking if this "char4" type def...
  23. Replies
    7
    Views
    5,254

    typedef array with const size?

    can you typedef an array with constant size, I'm looking for something like:

    typedef char[4] char4;

    but this won't work and this too don't work:

    typedef [4]char char4;

    is there a way to...
  24. Replies
    10
    Views
    536

    Re: A const problem

    you sir are smart :D

    nice catch
  25. Replies
    10
    Views
    536

    A const problem

    is there a power function that is concidered const? like a^2?

    my problem is:

    const int a=2;
    char b[a];
    double b[pow(2,a)];

    this is not possible since pow is not const, now 2*a will work...
Results 1 to 25 of 45
Page 1 of 2 1 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center