Thank you for the answer!!
I have got a question: if I have many source and hearder files in the project, in which I use type string or any other type - Do I have to put line
using namespace std;...
Type: Posts; User: strickey
Thank you for the answer!!
I have got a question: if I have many source and hearder files in the project, in which I use type string or any other type - Do I have to put line
using namespace std;...
Dear All,
Although I put preprocessor command
#include<string>
my variables are not recognized as of string type and I get error c2065. What is the problem?
Thank you
Dear All,
I have some problems:
As a commando line argument I get a path of the file which ending I have to replace.
Now I would like to convert argv[1] argument into a string.
When I read...
It would be very tedious to reproduce the behaviour because inside the loop I use some methods from open source and that I developed myself so lot of time woudl be gone just to collect all necesaary...
Then, What function should I use to test this loop?
Or in general What functions should I use to measure performance of a program?
I am not trying to conceal anything, but simply posting the content of the loop would just distract the attention from the main problem which is the shorter time when I use "cout lines" comparing to...
Yes I am sure I did not even touch my mouse during the running. I tested it more than 5 times.
.
.
time (&start);
for(i= 0; i < 110; i++)
{
for(j= 0; j< 110; j++)
{
cout << i ;
cout << j;
Who owns it? Is the main source of income advertisements?
Hi All,
Is there any function that measures the used memory?
Thank you
Dear All,
I would like to learn more information about C Board. It helped me so many times (and I am so grateful for that) but I still cannot figure out what is motivation for starting portals such...
Grumpy, Thanks a lot for your insightful answer.
I would like to learn few comments abou two more key-words that I recently found:
1) refactoring
2) best practices.
Can they be useful in writing...
Thank you for answers. I would just like to ask if "nonlinear optimization" can be helpful in writing better programs?
Dear All,
I want to write a function that returns an array of integers but I have a problem with the function definition
array <int> f(int a, int b, int c)
{
.
.
}
How can I define this...
Dear ALL,
How can I send a HTTP POST and GET Request using C++?
Thank you
Dear C++ programmers,
Few weeks ago I started a thread about optimizaion of programms. Unfortunately this thread cannot be retireved any more so I would like to ask you again for few useful keywords...
Why am I not able to find my posts from 3 weeks ago?
thanks
My vector is to hold structure containing three elements (int, int, double).
I apologize, I simply wanted to focus on the part where the error lies. Again I had to cut a code because it is huge I just left most important parts.
vector<struct> look(double d, int xw,...
Dear C++ programmers,
I want to make a function that has a return value array with three dimensions.
I tried first
vector <struct> look(....)
{
....
}
What if I used in different source files same names of variables, functions etc. that have different functions in in different files?
Is there any fast and effient way of solving this problem except...
How can I combine more cc files in one project?
It must be searched number
vector<int>::iterator result = find(vec.begin(), vec.end(), 12);
What does this 12 stand for?
Is there any command with which I can find certain number in a vector? I want to avoid loops. I read somewhere about FIND function but I am simply not able to find it on internet. If there is the...