Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. modemer

    mystr.append("abcd" + ss) bug

    I think operator + is left associative operator, that means the one defined in string template doesn't work on the expression "XYZ" + ss. I think the compiler uses automatical datatype conversion on this expression instead of what you said. And probably the automatical datatype conversion has a...
  2. modemer

    mystr.append("abcd" + ss) bug

    Anybody could explain this: On Sun 10, CC version is Sun C++ 5.7 2005/01/07 I have this code: string mystr("ABC"), ss("123"); mystr.append("XYZ" + ss); The compiler doesn't print any warning on append() line, but indeed this is a bug I am currently suffering, could anybody know how the Sun's...
  3. modemer

    How to disable colored text on xterm screen

    Hello, Anyone knows how to disable colored text displayed on xterm window screen? I hate that color making me hard to read when front and background color are similar. For example, when I run "ls" shell command, the color for directory is dark blue, but my background color is black, it's...
  4. modemer

    pipe command problem

    I don't think this is a fix, but a workaround depends how complicate with your requirement: start > log cat log I am also wondering why pipe could cause this issue.
  5. modemer

    Question about f(MyClass *& mc) and f(new MyClass)

    OK, let me clarify the question. We can see the only difference is: 1: f(new MyClass); and 2: MyClass m; f(&m); So, the question is: Why "void f(MyClass *& mc)" is compilable with "1", ,but cannot with "2"? Actually I compiled code 1 with AIX's xlC and Solaris' CC, xlC got an error, but...
  6. modemer

    How to paste code in "code" box?

    Thanks!!! This is what I want to know :-)
  7. modemer

    Question about f(MyClass *& mc) and f(new MyClass)

    Thanks oppcos, but I am looking for the answer about my "why" :)
  8. modemer

    How to paste code in "code" box?

    as subject
  9. modemer

    Question about f(MyClass *& mc) and f(new MyClass)

    compile following code is OK: <code> class MyClass { public: int i; }; void f(MyClass *& mc) {;} int main() { f(new MyClass); return 0; } </code> but the following is not OK, why? <code> class MyClass { public: int i; }; void f(MyClass *& mc) {;} int main() { MyClass m...
  10. modemer

    Where symbol .__vec__delete2 comes from?

    I don't know where symbol .__vec__delete2 comes from, when I link, linker complains this symbol can't be found. Which lib should be included?
  11. modemer

    What's the C++ STL library name on AIX

    Compiler is xlC
  12. modemer

    What's the C++ STL library name on AIX

    Sorry for unclear question. I think libstdc++ is what I want to know. If this is C++ library or package, where it's installed on AIX?
  13. modemer

    What's the C++ STL library name on AIX

    Question as subject, any help would be appreciated.
  14. modemer

    Problem to execute the AIX script

    change: /vg/backup.script # backup.script is the script name. to: exec /vg/backup.script # backup.script is the script name.
  15. modemer

    Substituting Shell Variable in XML

    xml file is just a flat text file. if likes your saying, Weblogic will use it, Weblogic should take the responsibility to expand $MY_LOGFILE_LOC in xml file. But, if you are looking for a method to substitute $MY_LOGFILE_LOC by its value in shell, you can write a tool to do that.
  16. modemer

    Highlight shell prompt

    khz, thanks for your example. It works perfectly with ksh. But my original question is for tcsh. Any example? I've tried similar with your example, but it doesn't work.
  17. modemer

    Highlight shell prompt

    Thanks khz, looks like it highlights everthing. But I just want to highlight "prompt" :-) Anyway, thanks for your answer.
  18. modemer

    Highlight shell prompt

    Ok, you are talking about tput, how does it work with shell prompt? could you give an example?
  19. modemer

    Highlight shell prompt

    What's rmso/smso please?
  20. modemer

    Highlight shell prompt

    Currently I am working on AIX/SUN/HP with tcsh, set prompt = "%{\033[7m>>\033[m%} " it will highlight the prompt, but there is a side effect on SUN, when I edit command line with cursor keys and backspace key, the command line is massed up. Anyone has a good solution? Thanks

Part and Inventory Search

Back
Top