Does anyone know how i could create the following and pass it in to a method to do some analysis [ need to write it in c++ ]
where by it initailises 4 differnt structures
Any ideas how i could go about this ?
at start up time the init object is initilised by passing in the appropriate values to ...
Search found 10 matches
- Thu Mar 22, 2007 4:58 pm
- Forum: C++
- Topic: Need help in creating an object in c++
- Replies: 1
- Views: 4070
- Thu Sep 21, 2006 2:25 pm
- Forum: Algorithms
- Topic: Unixtime convertion to epoch time
- Replies: 1
- Views: 1551
Unixtime convertion to epoch time
Hi ,
Does anyone know how to convert unixtime back to epoch time ie YYYYMMDDHHMMSS
??????????????????????????
Does anyone know how to convert unixtime back to epoch time ie YYYYMMDDHHMMSS
??????????????????????????
- Wed Sep 20, 2006 5:05 pm
- Forum: Algorithms
- Topic: Expression evaluator HELP
- Replies: 2
- Views: 1999
Expression evaluator HELP
hi ,
I am using the following code to do the evaluation
a*b/2
(a+b)/2
but having difficult in getting my desired results ..
Any ideas all help is much appreciated ..
#include<cstdio>
#include<iostream>
#include<cstdlib>
#include<cmath>
#include<vector>
#include<cstring>
#include<cctype ...
I am using the following code to do the evaluation
a*b/2
(a+b)/2
but having difficult in getting my desired results ..
Any ideas all help is much appreciated ..
#include<cstdio>
#include<iostream>
#include<cstdlib>
#include<cmath>
#include<vector>
#include<cstring>
#include<cctype ...
- Wed Sep 20, 2006 4:52 pm
- Forum: Algorithms
- Topic: Expression Evaluator and Parsing
- Replies: 2
- Views: 2528
- Wed Sep 20, 2006 2:38 pm
- Forum: Algorithms
- Topic: Expression evaluator HELP
- Replies: 2
- Views: 1999
Expression evaluator HELP
Hi Guys ,
I am looking for a function that will evaluate the following expressions (eg..
13214.00
(a * b)/c
a+b
Has anyone code out there that will do any expression like the above ?
I have looked at some on the web but they seem too complex and not working ..
Please help.
Thanks
I am looking for a function that will evaluate the following expressions (eg..
13214.00
(a * b)/c
a+b
Has anyone code out there that will do any expression like the above ?
I have looked at some on the web but they seem too complex and not working ..
Please help.
Thanks
- Fri Sep 15, 2006 10:20 am
- Forum: C++
- Topic: Passing enum value thru a function call using C++
- Replies: 2
- Views: 2594
- Thu Sep 14, 2006 7:12 pm
- Forum: C++
- Topic: Passing enum value thru a function call using C++
- Replies: 2
- Views: 2594
Passing enum value thru a function call using C++
Hi ,
I am having some difficult in passing
inthe header file
enum operatorType
{
add,sub,mult,not
};
operatorType p_operatorType;
Class{
}
in the .cc file
calling
fn (A, p_operatorType,B);
have it defined like so
double fn(double A, enum operatorType *op, double B )
Any ideas why the C ...
I am having some difficult in passing
inthe header file
enum operatorType
{
add,sub,mult,not
};
operatorType p_operatorType;
Class{
}
in the .cc file
calling
fn (A, p_operatorType,B);
have it defined like so
double fn(double A, enum operatorType *op, double B )
Any ideas why the C ...
- Wed Sep 06, 2006 11:13 am
- Forum: Volume 108 (10800-10899)
- Topic: 10804 - Gopher Strategy
- Replies: 39
- Views: 27705
- Tue Sep 05, 2006 7:09 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10804 - Gopher Strategy
- Replies: 39
- Views: 27705
- Tue Sep 05, 2006 5:35 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10804 - Gopher Strategy
- Replies: 39
- Views: 27705
Double type rounding
Hi guys,
I am writing some code to do normal rounding passing it in the value say 0.085 rounding it to .01 places where i should get 0.09. (note this only one example I may want to round it .001, etc )
Has anyone out there a neat way I could so this in c++.
Thanks in advance ,
nano72
I am writing some code to do normal rounding passing it in the value say 0.085 rounding it to .01 places where i should get 0.09. (note this only one example I may want to round it .001, etc )
Has anyone out there a neat way I could so this in c++.
Thanks in advance ,
nano72