9 Archived Topics

Remove Filter
Member Avatar for WolfPack

Hi, How do you delete a newline character that is inside a VB string? Apparently Trim removes only spaces. Thanks in Advance.

Member Avatar for hcassper
0
13K
Member Avatar for WolfPack

Is it possible to read data from a binary file to a C++ class using [inlineCODE]istream::read[/inlineCODE]? I know it can be done for structures, but I couldnt do it for a class. [Edit] Want code? [CODE]#include <iostream> #include <fstream> class BITMAPFILEHEADER { private: char type[ 2 ]; // Magic identifier …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for WolfPack

[COLOR=Red][B]This blog entry is regarding a registry hack for Windows XP. Be advised that twiddling with the registry requires care, and use the information here at your own risk. [URL="http://support.microsoft.com/default.aspx?scid=kb;en-us;322756"]Backing up[/URL] the registry before proceeding is adviced. [/B][/COLOR] This is a based on the [URL="http://www.petri.co.il/add_command_prompt_here_shortcut_to_windows_explorer.htm"]Add Command Prompt Here[/URL] tweak that …

0
344
Member Avatar for WolfPack

I am working on Solaris 9 and using the emacs editor version 21.4. The problem is that when I use the [inlinecode]emacs -nw[/inlinecode] command and turn the font-lock-mode on, I don't get the syntax highlighting by color like in the XWindow mode. The syntax highlighting is only done by bolding …

Member Avatar for WolfPack
0
989
Member Avatar for WolfPack

Does any of you know how to get the pathname of the perl script that is being executed? Say it is located in [inlinecode]/home/wolfpack/perl/[/inlinecode] I run it from [inlinecode]/home/wolfpack[/inlinecode] by giving the absolute path name like, [inlinecode]/home/wolfpack/perl/scriptname [arguments][/inlinecode] I want to get the path [inlinecode]/home/wolfpack/perl[/inlinecode] so that I can use …

Member Avatar for WolfPack
0
174
Member Avatar for WolfPack

I have an options file of the following format [code] option1 = value1 option2 = value2 ..... ; variable number of options ..... page_size= pagesize1 ;Note there is no space between page_size and = page_size= pagesize2 page_size= pagesize3 [/code] During a regression test I want to extract the values for …

Member Avatar for jim mcnamara
0
174
Member Avatar for WolfPack

This is a modification of the [URL="http://www.petri.co.il/add_command_prompt_here_shortcut_to_windows_explorer.htm"]Add Command Prompt Here[/URL] tweak that is fairly common in the internet. What the original tweak basically did was, create a shortcut in the Directory/Drive Context Menu of Windows Explorer when clicked executes a command prompt with the clicked directory as current directory. This …

Member Avatar for WolfPack
0
183
Member Avatar for WolfPack

Can anybody please tell me what is wrong with this piece of code? [code] std::string query; std::cout << "Enter the Query String :";// Type something with spaces here. e.g ( "financial instruments being traded on the American stock exchange" ); while (std::cin >> query ) { std::cout << query <<std::endl; …

Member Avatar for WolfPack
0
364
Member Avatar for WolfPack

Hello, I am developing an application in Win32, ( No MFC at all ). It is an MDI application, and I am using Keyboard accelerators. The Keys that I have assigned for accelerators are working properly, but when I press something that is not an accelerator, such as Ctrl + …

Member Avatar for WolfPack
0
272

The End.