|
Question re: Baccarat C++ Source Code Hi: I have been trying to find source code for a Baccarat card game (C++ or Basic, but preferably the former). My reason for this is wanting to experiment with possible Baccarat card counting methodologies, which is a controversial subject but I'd like to try out some ideas. However, I know very little C++ a... 27 Sep 2006 01:56
structures and pointer i have a structure typedef struct tm { int date; int hour; int minutes; } time; i want to use this structure dynamically, ie, i want it to grow. like it would be time *sept= new time; sept->date=15; ...... ......... ....... but i want something like for(int i=0;i<MAX;i++) { sept[i]->date=i+5; } ... 27 Sep 2006 02:27
string to expression Hi! Is there a way to convert a plain string to an expression ? Let's say that I have a int a = 1; int b = 2; std::string str = "a + b"; How would I evaluate the expression in str ? Best regards, Kovi -- ----------- Gregor Kovac ----------------------------------- In A World Without Fences ... 26 Sep 2006 08:32
stdio.lib I created a program whch needs to be linked with an object file that i created in assembly. When i try to link my compiled C code with the object file from assembly it prompts me for stdio library to be linked with. where is it usualy stored? I did filesearch of my C partition for stdio.lib but got 0 results. P... 24 Sep 2006 11:17
istream& problem Hi, can anyone tell me what i'm doing wrong here... #include <iostream> #include <vector> #include <string> #include <sstream> using std::cout; using std::cin; using std::vector; using std::string; using std::stringstream; istream& isNumeric(istream& in); int main() { ...... on the istream& i... 16 Sep 2006 17:14
Returning a local reference from a function Hi! First I have to say that I've been learning C++ for about a week. I've been programming in various languages (most Java) for couple of years. I've been using a book C++ Primer to learn C++. So on to the question: The book says that returning a reference to a local variable is wrong since the memory is freed... 22 Sep 2006 14:22
simple class the result of the following code is a ridiculous number with power of 123. can anyone plz debug it? Im also tryin to use cout to display the value of x and y? how will i do it? #include <iostream> using namespace std; class cRectangle { private: double x, y; public: double setVal (double, double);... 11 Sep 2006 07:57
Hyderabad Colloquium on Test Automation STeP-IN Forum (R) proudly presents One Day Colloquium at Hyderabad on Test Automation on 22nd September, Green Park, Hyderabad Events Sponsors: MERCURY, http://www.mercury.com/in/ Now at Hyderabad... Practitioners' Colloquium Be There! To Know What Matters ! Full Day Of Exciting Experiences in Test Automa... 8 Sep 2006 15:18
missing file? Hey everyone, I'm new to programming C++. I'm a Delphi developper (have been for 7 years) and I recently bought Visual Studio to do some exploring at home. I would like to write a program that synchronizes my Windows Mobile phone with Outlook Express 6. I wanted to do this in C# first but I found sources to ... 4 Sep 2006 02:04
Please help me understand this STL file I want to modify STL to suite my requirement, So I download sgi STL , Now I am reading one file of them "concept_checks.h", I don't how it can check the concept and report error when compile, such as follow semantics,I need some anotate. #define __STL_REQUIRES(__type_var, __concept) \ do { \ void (*__x)( __ty... 27 Aug 2006 08:14 |