- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
12 Posted Topics
Re: HI, post some code to show exactly what you wanna to do. | |
Re: Hi, I don't know if I understand right, but there is my tip: You can read the all file, and separate the file in vectors, by tokenize, the file register the data with some separation betwen then? like a blankspace? Some code are: [CODE] std::ifstream inputFile; std::string line = "data1.dat"; … | |
Hi everyone, I have a 2d array whith 50000 lines and 14 columns, and I have to sum/multiply each value of a column for a fixes numbers, like this: a[1][14] = 0 a[1][14] + 2 = 2 a[2][14] = 2 a[2][14] + 2 = 4 a[3][14] = 5 a[3][14] + … | |
Re: The program compile? Give a error? Do what you want? | |
Re: Hi, first post some code to let us know about your problem, second post your array to let us know how they looks like, it have 4,5, 1000 rows? lines? A tip: If you wanna to separate the array, to make calcs with the number, you can do a loop, … | |
Re: Hi, you have to use visual studio? Because I'm using wxDev-C++, and in this plataform is easy to do what you want, since this is a "delphi" based plataform, making the user interface cool and easy handling. If you can use wxDev-C++ I could help you. Bye | |
Re: I don't know a lot about gtk, but i'm using wxwidgets, and your code looks like the code in wxwidgets, and to change the size I use the set_size to, but I do to a "always_maximize" condition to make the size as I wanna. I don't thinks I help a … | |
Hi everyone, My question is: I have two vectors, for example vectorA and vectorB, vectorA is filled with randomics values, like 23, 43, 54, etc, and its have 1000 members, like vectorA[0], vectorA[1], etc. My vectorB descending of vectorA, I use the "push_back" function to take the values of vectorA, … | |
Re: Show us some code, we don't do your homework! | |
Hi every one! I have to genarate a 2d graphic based on x,y axis. I have two vectors with the same size, and I wanna to use then to make the x and y axis. Can anyone help me? Or show a trick, or page? Thanks | |
[B]Hi every one, I'm working in a code from 1 mounth, and now I finaly finished, it work, but there is the old problem in C++ language, the interface, once that I wan't to do a program that will be used for anothers users, I wanna to make the program … | |
Hi everyone! I'm triyng to develop a program whith this functions: 1 - Read data from text file 2 - Put the data from file to a variable(ignoring comments in the file) 3 - Tokenize the data e transform the variable into another variable(like float) 4 - Make the calcs … |
The End.