Search:
Type: Posts; User: compuKidd
Search:
Search took 0.02 seconds.
-
October 28th, 2009, 08:12 PM
BigEd nailed it cool man it worked thanks
but isn't it strange how some code still ran after main exited, strange....
-
October 28th, 2009, 03:48 PM
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...
-
October 28th, 2009, 09:17 AM
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...
-
January 18th, 2009, 02:01 PM
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...
-
January 18th, 2009, 12:52 PM
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>...
-
January 11th, 2009, 09:07 AM
I removed the _getch() and the cerr but still same problem please help
-
January 11th, 2009, 05:26 AM
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...
-
January 10th, 2009, 03:44 PM
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...
-
December 21st, 2008, 11:04 AM
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...
-
December 21st, 2008, 07:15 AM
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...
-
December 20th, 2008, 08:34 AM
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...
-
December 14th, 2008, 05:39 PM
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;
...
-
December 14th, 2008, 05:06 PM
where does the number returned by the thread function goes???
-
December 14th, 2008, 02:20 PM
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...
-
December 14th, 2008, 02:11 PM
What library should I include?
-
December 14th, 2008, 04:17 AM
#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;
-
December 10th, 2008, 02:10 PM
yes thanks _kbhit() works :D
-
December 10th, 2008, 02:01 PM
its a console application, and how exactly do I check for a keyboard hit? (without waiting)
-
December 9th, 2008, 07:58 PM
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...
-
December 9th, 2008, 07:35 PM
its ok I got it thanks anyways
-
December 9th, 2008, 09:50 AM
please see attached file.
what does this error mean?
-
November 29th, 2008, 02:04 PM
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...
-
November 29th, 2008, 10:39 AM
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...
-
November 13th, 2008, 04:16 PM
you sir are smart :D
nice catch
-
November 13th, 2008, 03:59 PM
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...
|
Click Here to Expand Forum to Full Width
|