Click here to Skip to main content
15,893,487 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to correctly pass a LPCSTR type parameter to a thread in DLL? Pin
pcname2-Mar-15 15:07
pcname2-Mar-15 15:07 
GeneralRe: How to correctly pass a LPCSTR type parameter to a thread in DLL? Pin
Richard MacCutchan2-Mar-15 21:05
mveRichard MacCutchan2-Mar-15 21:05 
AnswerRe: How to correctly pass a LPCSTR type parameter to a thread in DLL? Pin
Stephen Hewitt2-Mar-15 14:33
Stephen Hewitt2-Mar-15 14:33 
GeneralRe: How to correctly pass a LPCSTR type parameter to a thread in DLL? Pin
pcname2-Mar-15 15:11
pcname2-Mar-15 15:11 
AnswerRe: How to correctly pass a LPCSTR type parameter to a thread in DLL? Pin
Frankie-C2-Mar-15 22:04
Frankie-C2-Mar-15 22:04 
GeneralRe: How to correctly pass a LPCSTR type parameter to a thread in DLL? Pin
pcname3-Mar-15 14:50
pcname3-Mar-15 14:50 
GeneralRe: How to correctly pass a LPCSTR type parameter to a thread in DLL? Pin
Frankie-C3-Mar-15 23:06
Frankie-C3-Mar-15 23:06 
Questionfotron 77 to c++ conversion Pin
Nileshb11127-Feb-15 22:12
Nileshb11127-Feb-15 22:12 
I want to covert following program into c++

subroutine gstep
common/blk1/u(3,800,800),fnl(3,800,800),gnl(3,800,800)
common/blk2/ni,nj,radi,rado,dt,cfl,lod,dto,wn,wl,lexp,dtot,ndiv,pi,phi
c in case a global time step is reqd. eg. time accurate problems
em=1.
ep=1.
c=1/sqrt(ep*em)
dt=10000.
cl=ar/diag
do i=1,ni
do j=4,nj-3
call grid(i,j,x1,y1,x2,y2,x3,y3,x4,y4,xp1,yp1,ar,c,0)
diag=0.5*(sqrt((x1-x3)**2+(y1-y3)**2)+sqrt((x2-x4)**2
* +(y2-y4)**2))
cl=ar/diag
dtemp=cfl*cl/(c)
if(dtemp.lt.dt)then
dt=dtemp
endif
enddo
enddo
wl=2*pi/wn
write(*,*) wn,wl,dt
ndiv=wl/(c*dt)
write(*,*) ndiv
ndiv=ndiv+1
dt=wl/(c*(ndiv))
write(*,*) ndiv,dt
return
end
QuestionRe: fotron 77 to c++ conversion Pin
Richard MacCutchan27-Feb-15 22:17
mveRichard MacCutchan27-Feb-15 22:17 
AnswerRe: fotron 77 to c++ conversion Pin
Nileshb11128-Feb-15 0:09
Nileshb11128-Feb-15 0:09 
GeneralRe: fotron 77 to c++ conversion Pin
Richard MacCutchan28-Feb-15 0:14
mveRichard MacCutchan28-Feb-15 0:14 
AnswerRe: fotron 77 to c++ conversion Pin
Nileshb11128-Feb-15 0:16
Nileshb11128-Feb-15 0:16 
GeneralRe: fotron 77 to c++ conversion PinPopular
Richard MacCutchan28-Feb-15 0:19
mveRichard MacCutchan28-Feb-15 0:19 
GeneralRe: fotron 77 to c++ conversion Pin
Nileshb11128-Feb-15 0:30
Nileshb11128-Feb-15 0:30 
GeneralRe: fotron 77 to c++ conversion Pin
Nileshb11128-Feb-15 17:39
Nileshb11128-Feb-15 17:39 
GeneralRe: fotron 77 to c++ conversion Pin
Richard MacCutchan28-Feb-15 21:15
mveRichard MacCutchan28-Feb-15 21:15 
GeneralRe: fotron 77 to c++ conversion Pin
Nileshb1113-Mar-15 8:29
Nileshb1113-Mar-15 8:29 
GeneralRe: fotron 77 to c++ conversion Pin
Richard MacCutchan3-Mar-15 21:09
mveRichard MacCutchan3-Mar-15 21:09 
QuestionWMI services? Pin
john563227-Feb-15 15:54
john563227-Feb-15 15:54 
QuestionRe: WMI services? Pin
Richard MacCutchan27-Feb-15 22:19
mveRichard MacCutchan27-Feb-15 22:19 
QuestionEnvironment variable is mandatory for open cv Pin
Surya Ravi26-Feb-15 18:40
Surya Ravi26-Feb-15 18:40 
SuggestionRe: Environment variable is mandatory for open cv Pin
Richard MacCutchan26-Feb-15 21:30
mveRichard MacCutchan26-Feb-15 21:30 
QuestionHelp - Grid and recursive function Pin
Member 1148392226-Feb-15 18:17
Member 1148392226-Feb-15 18:17 
AnswerRe: Help - Grid and recursive function Pin
CPallini26-Feb-15 20:27
mveCPallini26-Feb-15 20:27 
GeneralRe: Help - Grid and recursive function Pin
Member 1148392226-Feb-15 20:31
Member 1148392226-Feb-15 20:31 

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.