Hi
I want both standard output and standard error of my command cmd to go to the same file log.txt. please let me know the best commandline to do this.
Thanks (2 Replies)
I am working with the following code:
#include <stdlib.h>
#include <string>
#include <iostream>
using std::cout;
using std::endl;
using std::flush;
int main()
{
long lng1 = 123;
long lng2 = 4567;
cout<<ltoa(lng1)<<ltoa(lng2)<<endl<<flush;
return 0;
}
Instead of receiving... (2 Replies)
Our development machines have libstdc++.so.5 and libstdc++.so.6.
When we build our native code, it uses libstdc++.so.6. Is there anyway I can force it to use libstdc++.so.5 instead ?
$ ldd try
/usr/lib/libcwait.so (0x00655000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6... (5 Replies)
Dear All,
I am new to Unix and i need a small Help from you Guys.....
The current structure of my system is as follows:
/Abc/xyz/cpd/std/re/doc
Each cpd directory has n number of std's. Each std has n number of re's.
My requirement is to write a UNIX script that would search... (0 Replies)
Dear All,
I am new to Unix and i need a small Help from you Guys.....
The current structure of my system is as follows:
/Abc/xyz/cpd/std/re/doc
Each cpd directory has n number of std's. Each std has n number of re's.
My requirement is to write a UNIX script that would search whether doc... (0 Replies)
Dear All,
I am new to Unix and i need a small Help from you Guys.....
The current structure of my system is as follows:
/Abc/xyz/cpd/std/re/doc
Each cpd directory has n number of std's. Each std has n number of re's.
My requirement is to write a UNIX script that would search whether doc... (1 Reply)
Dear All,
I am new to Unix and i need a small Help from you Guys.....
The current structure of my system is as follows:
/Abc/xyz/cpd/std/re/doc
Each cpd directory has n number of std's. Each std has n number of re's.
My requirement is to write a UNIX script that would search whether doc... (8 Replies)
hello everybody i am new on the AIX environment and i have faced an issue while running pstill it can't find ibstdc++.a (libstdc++.so.5) although i have the latest GCC and libstdc 4.0.0 i guess.
So to resolve the problem i have got an old versions that i want to install on AIX:
... (5 Replies)
my querry is
suppose i have duplicate std i/p with FD-3 --exec 0<&3
now redirected std i/p to a file ----exec 0<file1
suppose i am reading the file line by line --while read LINE
cutting some fields and comparing it with a variable and if a match is found
... (0 Replies)
Hi
I my code i have following statement
std::istrstream *m_poIstream;
when i compile with xlC_r verison 8 compiler throws following error
: 1540-0063 (S) The text "*" is unexpected.*
Any idea/pointers
from
nayeem khan (0 Replies)
Hi,
I am getting the following compilation error in compiling the code :
/**********************************/
Undefined first referenced
symbol in file
std::_Rb_tree_increment(std::_Rb_tree_node_base*)/var/tmp//ccZIgc70.o... (1 Reply)
Hello,
I compiled the object file of a binary and i could see the symbol , "void*std::__node_alloc<1,0>::_M_allocate(unsigned)", this is actually present as "void*std::__node_alloc<true,0>::_M_allocate(unsigned)" in the libstlport4.so.1 . This has been verified with "nm -C " command
Please... (4 Replies)