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. BatVanko

    escape sequence in C#

    ...Try with "\\'" or @"\'". Backslah is an escape character in C# strings and in your case you are escaping "'" and that's why result is same string ("\'" == "'"). If you want to insert backslah somwhere in string use "\\". Cheers, Batvanko ;-)
  2. BatVanko

    Get Current Logined user name

    Try something like that: class Class1 { [StructLayout(LayoutKind.Sequential, CharSet=CharSet.Unicode)] public struct WKSTA_USER_INFO_1 { public string wkui1_username; public string wkui1_logon_domain; public string wkui1_oth_domains; public string wkui1_logon_server...
  3. BatVanko

    Scope of local variables

    I think you may may want to allocate memmory to store temp variable... something like that: char *func() { string temp; char *returnptr; temp="Hello"; temp=temp+" World"; returnptr = new char[ temp.length() + 1]; strcpy( returnptr, temp.c_str() )...
  4. BatVanko

    linked list

    I think std::list<std::string> may be useful to you too. Refer to <list>. Cheers, BatVanko ;-)
  5. BatVanko

    Display as Hex

    Try this... #include <iostream.h> int main(int argc, char* argv[]) { int nDecNumber; cout << &quot;Please enter a value: &quot;; cin >> nDecNumber; cout << &quot;Hex value of &quot; << nDecNumber << &quot; is: &quot;; cout.setf( ios::hex ); cout << nDecNumber << endl; return 0; }...
  6. BatVanko

    How to write a program that modifies itself?

    ...Of course NOT. I want to write an application that don't need of any configuration files or registry entries.
  7. BatVanko

    How to write a program that modifies itself?

    I'm tring to write an aplication that could write in it's .exe file (i.e. some configuration data). Any sugestions? Regards
  8. BatVanko

    Problem with NIC.....

    .....that's why I'm asking, because all my tries to search the IBM's site resulted:<br>No hits were found for this query<br>or something like that :(<br>My version is 4.3.2 and there's no something like the package that smit asks for.<br><br>I'm looking for someone who has the same problem to...
  9. BatVanko

    Problem with NIC.....

    When I'm trying to install my LAN Adapter smit tells that i have to install devices.pci.ec103981 device package, but where can I get it? <br><br>There is no such package into distributions and APAR fixes....?!?!

Part and Inventory Search

Back
Top