Click here to Skip to main content
16,010,114 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: lrand48 and srand48 Pin
David Crow12-Sep-05 7:27
David Crow12-Sep-05 7:27 
AnswerRe: lrand48 and srand48 Pin
Chris Losinger12-Sep-05 7:43
professionalChris Losinger12-Sep-05 7:43 
GeneralRe: lrand48 and srand48 Pin
David Crow12-Sep-05 9:04
David Crow12-Sep-05 9:04 
GeneralRe: lrand48 and srand48 Pin
Chris Losinger12-Sep-05 9:23
professionalChris Losinger12-Sep-05 9:23 
Questionlimitation of edit box Pin
SANJAY7612-Sep-05 7:12
SANJAY7612-Sep-05 7:12 
AnswerRe: limitation of edit box Pin
David Crow12-Sep-05 7:22
David Crow12-Sep-05 7:22 
AnswerRe: limitation of edit box Pin
Chris Losinger12-Sep-05 9:22
professionalChris Losinger12-Sep-05 9:22 
QuestionThreads Pin
Eytukan12-Sep-05 4:50
Eytukan12-Sep-05 4:50 
i'm trying to run two separate threads. its working when i use an Integer to be passed as an argument to the thread. for example, if i send '1' one thread will keep on telling 1,1,1,1,1,1,1.

[tested using msgbox]

mean while, i send '2'. then another instance of the thread will start saying 2,2,2,2,2,2,

so u will get like 1,2,1,2,1,2,2,1,2,1,1.. like that.. its woking fine.

But if i pass a char[] parameter, its not working Frown | :(
ie,

if i pass "TEST",
it says , "TEST","TEST","TEST".......

meanwhile if i start another to say "CODE",

its destroys "TEST" and so two instance of "CODE" is displayed.
like instead of "TEST","CODE","TEST","CODE",... am getting like "CODE","CODE","CODE"...

plz tell me how to go..
thanks in advance


Thanks in advnace
V
AnswerRe: Threads Pin
John M. Drescher12-Sep-05 5:52
John M. Drescher12-Sep-05 5:52 
GeneralRe: Threads Pin
Eytukan12-Sep-05 7:59
Eytukan12-Sep-05 7:59 
GeneralRe: Threads Pin
John M. Drescher12-Sep-05 8:03
John M. Drescher12-Sep-05 8:03 
Generalcode Pin
Eytukan12-Sep-05 8:15
Eytukan12-Sep-05 8:15 
AnswerRe: Threads Pin
David Crow12-Sep-05 6:25
David Crow12-Sep-05 6:25 
GeneralRe: Threads Pin
Eytukan12-Sep-05 8:10
Eytukan12-Sep-05 8:10 
GeneralRe: Threads Pin
Bob Stanneveld12-Sep-05 8:44
Bob Stanneveld12-Sep-05 8:44 
GeneralRe: Threads Pin
Eytukan12-Sep-05 22:20
Eytukan12-Sep-05 22:20 
GeneralRe: Threads Pin
Bob Stanneveld13-Sep-05 1:25
Bob Stanneveld13-Sep-05 1:25 
GeneralRe: Threads Pin
David Crow12-Sep-05 8:55
David Crow12-Sep-05 8:55 
GeneralRe: Threads Pin
Eytukan12-Sep-05 22:27
Eytukan12-Sep-05 22:27 
Questiondelete always goes with set NULL? Pin
valerie9912-Sep-05 3:49
valerie9912-Sep-05 3:49 
AnswerRe: delete always goes with set NULL? Pin
toxcct12-Sep-05 4:00
toxcct12-Sep-05 4:00 
AnswerRe: delete always goes with set NULL? Pin
David Crow12-Sep-05 4:28
David Crow12-Sep-05 4:28 
AnswerRe: delete always goes with set NULL? Pin
Nemanja Trifunovic12-Sep-05 4:28
Nemanja Trifunovic12-Sep-05 4:28 
AnswerRe: delete always goes with set NULL? Pin
S. Senthil Kumar12-Sep-05 4:42
S. Senthil Kumar12-Sep-05 4:42 
QuestionCOleDateTime question Pin
eli1502197912-Sep-05 3:47
eli1502197912-Sep-05 3:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.