Search:
Type: Posts; User: metzenes
Search:
Search took 0.01 seconds.
-
September 9th, 2009, 04:43 AM
I'm developing a method in C++ that makes use of a Python function. I use Python embedding in C++ and everything works nice, except one thing.
The C++ program calls this script several times. The...
-
September 9th, 2009, 04:41 AM
I'm developing a method in C++ that makes use of a Python function. I use Python embedding in C++ and everything works nice, except one thing.
The C++ program calls this script several times. The...
-
August 12th, 2009, 06:35 AM
Thanks, I understand.
Could it be a possible solution to declare 'value' as public, and after access to it in the way:
Type * = function(parameterX, parameterY);
cout << Type->value;
-
August 12th, 2009, 04:29 AM
Hi!
In another topic we were discussing the ways of defining methods which could return different data types.
Someone suggested to define a herarchy of classes:
I'm currenty trying to...
-
August 6th, 2009, 07:18 AM
You were right guys (of course!).
While I get errors working with a string defined by me ("L:\Source\file.txt"), it works nice if I read the path from a text file.
Thanks!
-
August 6th, 2009, 07:07 AM
Here an example of what I try to do:
#include<iostream>
#include<string>
#include <algorithm>
using namespace std;
-
August 6th, 2009, 06:59 AM
Yes, but the thing it's that I'm reading a file path from a text file, with the format
C:\Folder\fileName.txt
Some methods don't read '\' as a backslash, but an escape character combined with...
-
August 6th, 2009, 06:00 AM
Hi!
I'm working with strings containing file paths with the format:
"C:\Folder1\Folder2\fileName.txt"
The problem is that some methods I'm going to use later (mkdir, etc.) don't like this...
-
July 31st, 2009, 04:22 AM
template <typename T>
Coordinate<T>::Coordinate(string name, float max, float min, string unit, vector<T> values){
this->name = name;
this->max = max;
this->min = min;
this->unit...
-
July 31st, 2009, 04:06 AM
Class definition:
--------------------------
template <typename T>
class Coordinate{
public:
//Constructor
Coordinate(string name, float max, float min, string unit,...
-
I'm developing a recursive method for a class which will return a complicated data structure (a list of dictionaries which will contain lists of dictionaries as values).
The data structure could...
-
Thank you all for all your interesting and helping answers!
I'll explain more in detail what I'm trying to do:
I'm reading a text file that includes loads of data ordered by columns. Each...
-
I'm designing a class where there's a method that should return a different data type depending on certain circunstances.
Specifically, I'm reading from a text file. If the data found are strings...
|
Click Here to Expand Forum to Full Width
|