Hello together,
is it possible to pipe the call stack infos during a
debug session (MS VisualC++ 2005) into a text file for further post-processing? I want to use it to create a simple flow chart of the program logic.
Kind regards
Hello programmers,
I would like to use the calculator bc or octave in shell scripts. I wrote a short shell script "calc" with this
content:
echo "$1" | octave -q | awk '{print $3}'
It's nice, you can do the following, e.g.:
./calc "sin(23),1/3,4*4"
The output is:
-0.84622
0.33333
16
Is...
Hello everybody,
I was not able to solve this problem:
I have a file polygon.dat with this structure:
#some text
.
#some text
MASK POLYGON
23
1.0750465E+03
1.1066547E+03
.
.
1.2288103E+03
EXIT
#some text
.
#some text
I would like to copy the column of numbers between the lines...
Hello everybody,
I use the following definition in a class VecR for vectors:
VecR operator*(const double);
VecR VecR::operator*(const double a)
{
VecR mV(x*a,y*a,z*a);
return (mV);
}
in order to multiply a vector (VecR) and a scalar (double).
Now, say 'A' is a vector and 'fac' is a...
Hello,
I would like to extract an int number from a file name. I have
hundreds of files with the following names:
Qhull_1000_001.xyz ... Qhull_15000_150.xyz.
Now, I need the first number to be extracted and saved into a file. The second number I use for steering a for loop.
Thanks in advance
Hello everybody, how are you?
I hope someone can help me!
I would like to write a script which zips automatically
a complete directory structure.
For example, there is a directory dirA which contains, say,
5 subdirs sdirA1 .. sdirA5.
Another dir dirB which contains 3 subdirs sdirB1 .. sdirB3...
Hello everybody!
I have two files (sd.data and sdisk.cpp).
I would like to extract some information out of sd.data.
For example the product of the two numbers after the word initUcell:
initUcell 10 10
stepLimit 20000
..
..
Then I would like to substitute the result (in this case 100) into some...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.