Click here to Skip to main content
14,176,439 members

C / C++ / MFC

 
AnswerRe: How to correctly pass a LPCSTR type parameter to a thread in DLL? Pin
Frankie-C2-Mar-15 22:04
memberFrankie-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
memberpcname3-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
memberFrankie-C3-Mar-15 23:06 
Questionfotron 77 to c++ conversion Pin
Nileshb11127-Feb-15 22:12
memberNileshb11127-Feb-15 22:12 
QuestionRe: fotron 77 to c++ conversion Pin
Richard MacCutchan27-Feb-15 22:17
protectorRichard MacCutchan27-Feb-15 22:17 
AnswerRe: fotron 77 to c++ conversion Pin
Nileshb11128-Feb-15 0:09
memberNileshb11128-Feb-15 0:09 
GeneralRe: fotron 77 to c++ conversion Pin
Richard MacCutchan28-Feb-15 0:14
protectorRichard MacCutchan28-Feb-15 0:14 
AnswerRe: fotron 77 to c++ conversion Pin
Nileshb11128-Feb-15 0:16
memberNileshb11128-Feb-15 0:16 
I am writing cfd code taking reference of FORTRAN code following is the code which i had written but this program is not running

#include<math.h>
#include<fstream>
#include<iomanip>
//#include "constant1.h"
using namespace std;
float radi=11,rado=59.99,dro;
float r=11,spar=0.9415,pi=3.141592654,cfl=0.50,wn=2*pi*0.6/radi;
int i=1,ni=200,nj=50,nth=ni,nrad=nj,ncon1=0,ncon2=0,ncon=1000,lod=3,lexp=2,eps=0;
//float wn;
static int j=1;
class project
{
public:
float x,y,r,th;
void grid()
{

fstream infile("grid11.dat",ios::out);
for(r=11;r<=60;r++)
{
for(th=0; th<=2*pi; th=th+((pi/100)+(.00025*pi/98)))
{
cout<
GeneralRe: fotron 77 to c++ conversion Pin
Richard MacCutchan28-Feb-15 0:19
protectorRichard MacCutchan28-Feb-15 0:19 
GeneralRe: fotron 77 to c++ conversion Pin
Nileshb11128-Feb-15 0:30
memberNileshb11128-Feb-15 0:30 
GeneralRe: fotron 77 to c++ conversion Pin
Nileshb11128-Feb-15 17:39
memberNileshb11128-Feb-15 17:39 
GeneralRe: fotron 77 to c++ conversion Pin
Richard MacCutchan28-Feb-15 21:15
protectorRichard MacCutchan28-Feb-15 21:15 
GeneralRe: fotron 77 to c++ conversion Pin
Nileshb1113-Mar-15 8:29
memberNileshb1113-Mar-15 8:29 
GeneralRe: fotron 77 to c++ conversion Pin
Richard MacCutchan3-Mar-15 21:09
protectorRichard MacCutchan3-Mar-15 21:09 
QuestionWMI services? Pin
john563227-Feb-15 15:54
memberjohn563227-Feb-15 15:54 
QuestionRe: WMI services? Pin
Richard MacCutchan27-Feb-15 22:19
protectorRichard MacCutchan27-Feb-15 22:19 
QuestionEnvironment variable is mandatory for open cv Pin
Surya Ravi26-Feb-15 18:40
memberSurya Ravi26-Feb-15 18:40 
SuggestionRe: Environment variable is mandatory for open cv Pin
Richard MacCutchan26-Feb-15 21:30
protectorRichard MacCutchan26-Feb-15 21:30 
QuestionHelp - Grid and recursive function Pin
Member 1148392226-Feb-15 18:17
memberMember 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
memberMember 1148392226-Feb-15 20:31 
GeneralRe: Help - Grid and recursive function Pin
CPallini26-Feb-15 21:51
mveCPallini26-Feb-15 21:51 
AnswerRe: Help - Grid and recursive function Pin
Richard MacCutchan26-Feb-15 21:28
protectorRichard MacCutchan26-Feb-15 21:28 
AnswerRe: Help - Grid and recursive function Pin
seemajoshii27-Feb-15 1:21
memberseemajoshii27-Feb-15 1:21 
QuestionRe: Help - Grid and recursive function Pin
David Crow27-Feb-15 3:45
memberDavid Crow27-Feb-15 3:45 

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.


Advertise | Privacy | Cookies | Terms of Service
Web01 | 2.8.190525.1 | Last Updated 25 May 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid