Search:
Type: Posts; User: dinesh999lama
Search:
Search took 0.01 seconds.
-
February 26th, 2017, 10:33 PM
I am writing a binary file like this:
const int sized = 300000000ULL;
int ad[sized];
...
ad[i] = some value;
...
FILE* pFile;
pFile = fopen("obj_pattern.bin", "wb");...
-
January 5th, 2017, 11:03 AM
The first one solution u provided me was the one which i was looking for. exactly that for now, since i need to save the object model in a file to use it in another program any time, i need to...
-
January 5th, 2017, 01:21 AM
I was extracting them in same program just to test the concept first, its actual use is in another program where it extracts them and use them for object recognition task. This program only analyses...
-
January 3rd, 2017, 10:39 AM
Ok, got the problem it looks like somehow the key should not be same every time, which made the values of arr1 object un ordered. So i'll remove that now.
-
January 3rd, 2017, 09:55 AM
When i run below program for test the basic working of my program it works fine:
#include "map.h"
#include <iostream>
#include <utility>
#include <fstream>
#include <string>
using namespace...
-
January 2nd, 2017, 03:55 PM
-
January 2nd, 2017, 11:53 AM
I am running main program in ROS node, which uses c++03. And thanks this problems were making me depressed but u solved it in just minutes. thats amazing knowledge u have. and seems like my current...
-
December 31st, 2016, 04:26 PM
OK, got it. i cant remove these error: ‘bigarray’ is not derived from ‘std::initializer_list<_Tp>’
for (const auto& m : arr) .
-
December 31st, 2016, 04:07 PM
I need to save a very large integer in a variable, after i found that i can use boost::multiprecision::cpp_int i tried to use this in my program, but i'm not getting the proper value when i run the...
-
December 30th, 2016, 12:30 PM
i have an array/map or 13 dimension, where i want to convert the 13 dimension index value into its raw major/offset value and than simply save the 13 dimension array as 1 dimension array or map with...
-
December 30th, 2016, 07:41 AM
I have saved multiple map values inside a file using boost serialization, now my problem is i don't know exactly how i can read all of those maps: Till now i've done these much;
#include <map>...
-
December 29th, 2016, 03:27 PM
I'm using write.cpp to store map values inside a fifthgrade.ros file as:
#include <iostream>
#include <fstream>
#include <string>
#include "map.h"
using namespace std;
int main() {
...
-
December 11th, 2016, 03:21 PM
ros is using cxx comiler.
-
December 11th, 2016, 10:38 AM
thank u providing me also the code, but it seems like it works with c++11 and since ros uses c++03 i think i have to modify it little bit which i will do next. So thank u, i'm really happy that i'm...
-
December 10th, 2016, 09:44 PM
How can i read large text file containing numbers with its index without first reading the hole datas? Is their any other method where i can directly save the datas to memory and than directly access...
-
November 26th, 2016, 08:29 AM
O my god, that map method provided by 2kaud is perfect. wow. I just tried it, and it works like charm before this i was trying other methodes. thank u very much for telling me about this, although i...
-
November 23rd, 2016, 10:39 PM
to assign the value to vector i'm doing p[i][j][k]=value, and accessing in similar way. and the vector initialization provided by u above is the correct one.
-
November 19th, 2016, 06:26 PM
Where the delete button in this page, by the way.
-
November 19th, 2016, 04:43 PM
I have an array and vector both of same size and dimension. My code needs set operation to be performed on one of them. Now as i see, in vector their are set operation functions already present, but...
-
November 16th, 2016, 08:30 AM
How do i read the datas from the file train.pb in current c++ code? I followed some tutorial on tensorflow and understood till this much lines, but after this i cant find exact correct way to read...
-
November 13th, 2016, 08:07 AM
I am following this tutorial: https://medium.com/jim-fleming/loading-a-tensorflow-graph-with-the-c-api-4caaff88463f#.saa7no4fd. But as i try to run the loader.cc file after succesfully building it, i...
-
November 12th, 2016, 05:33 AM
actually it can be also used as type int. since d1,d2,.. all r in int format. i'll use any method to do this task and thank u for telling me about sparse tensors data structures, i'll see that once....
-
November 12th, 2016, 01:55 AM
When i tried this i'm getting segmentation error. How can i occupy large memory for this, without getting segmentation error.
int dim1, dim2, dim3,dim4,dim5,dim6,dim7;
dim1=1000; dim2=50; dim3=50,...
-
November 10th, 2016, 06:52 PM
How can i create a multidimensional array for more than 3 dimension like below:
int dim1, dim2, dim3;
dim1=10000; dim2=99; dim3=9;
#define s(i,j,k) (array[dim2*dim3*i + dim3*j + k])
double...
|
Click Here to Expand Forum to Full Width
|