Click here to Skip to main content
15,914,221 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to convert std::wstring to VARIANT? Pin
followait28-Oct-08 19:17
followait28-Oct-08 19:17 
AnswerRe: How to convert std::wstring to VARIANT? Pin
Michael Dunn28-Oct-08 20:30
sitebuilderMichael Dunn28-Oct-08 20:30 
AnswerRe: How to convert std::wstring to VARIANT? Pin
Hamid_RT28-Oct-08 21:11
Hamid_RT28-Oct-08 21:11 
QuestionNot able to create bluetooth socket on wince device - HP iPAQ Pin
yudhisthira28-Oct-08 18:54
yudhisthira28-Oct-08 18:54 
QuestionWill VARIANT array clear psa automatically? Pin
followait28-Oct-08 17:40
followait28-Oct-08 17:40 
AnswerRe: Will VARIANT array clear psa automatically? Pin
Lim Bio Liong28-Oct-08 19:27
Lim Bio Liong28-Oct-08 19:27 
AnswerRe: Will VARIANT array clear psa automatically? Pin
David Crow29-Oct-08 3:16
David Crow29-Oct-08 3:16 
QuestionFile stream filtering and formatting Pin
Michael Randolph28-Oct-08 16:01
Michael Randolph28-Oct-08 16:01 
I have a project here at my work due Monday and it involves 23,000+
records to be manually typed into a database requiring the fields LEN:, DN:, and the NCOS: on the same line. I just know that there is an easier way of doing it. I have been working with the sed utility in Linux to help me but now I would like to know how to write an Win32 executable that can ask for the file name and filter these values for me and insert them into a text file. I have a fair amount of C++ programming experience but I do not know how to using file streams. Any help would be greatly appreciated by myself and my coworkers. A sample of a record I have is:
MADN SPECIFIED. LEN OUTPUT IS FOR PRIMARY.
-------------------------------------------------
LEN:    HOST 02 0 02 11
TYPE: MULTIPLE APPEARANCE DIRECTORY NUMBER
SNPA: 315
DIRECTORY NUMBER:    6344010    (NON-UNIQUE)
LINE CLASS CODE: IBN
CUSTGRP:            KAFB SUBGRP: 0    NCOS: 52




Here is a link to a thread where I was using sed:
http://www.linuxquestions.org/questions/linux-software-2/using-sed-to-extract-a-pattern-plus-a-number-of-positions-after-679435/
QuestionRe: File stream filtering and formatting Pin
David Crow29-Oct-08 4:04
David Crow29-Oct-08 4:04 
AnswerRe: File stream filtering and formatting Pin
Michael Randolph29-Oct-08 14:23
Michael Randolph29-Oct-08 14:23 
QuestionRe: File stream filtering and formatting Pin
David Crow30-Oct-08 3:03
David Crow30-Oct-08 3:03 
QuestionPDF Output Pin
BobInNJ28-Oct-08 14:22
BobInNJ28-Oct-08 14:22 
AnswerRe: PDF Output Pin
enhzflep28-Oct-08 14:55
enhzflep28-Oct-08 14:55 
GeneralRe: PDF Output Pin
BobInNJ28-Oct-08 16:37
BobInNJ28-Oct-08 16:37 
GeneralRe: PDF Output Pin
enhzflep28-Oct-08 17:06
enhzflep28-Oct-08 17:06 
GeneralRe: PDF Output Pin
BobInNJ29-Oct-08 11:02
BobInNJ29-Oct-08 11:02 
GeneralRe: PDF Output Pin
Member 419459329-Oct-08 15:01
Member 419459329-Oct-08 15:01 
AnswerRe: PDF Output Pin
Hamid_RT28-Oct-08 19:20
Hamid_RT28-Oct-08 19:20 
GeneralRe: PDF Output Pin
BobInNJ29-Oct-08 11:03
BobInNJ29-Oct-08 11:03 
GeneralRe: PDF Output Pin
Hamid_RT30-Oct-08 1:24
Hamid_RT30-Oct-08 1:24 
QuestionHow to get String Buffers from a dll within C++ and C# Pin
MarcoNedwig28-Oct-08 12:08
MarcoNedwig28-Oct-08 12:08 
AnswerRe: How to get String Buffers from a dll within C++ and C# Pin
Mark Salsbery28-Oct-08 14:26
Mark Salsbery28-Oct-08 14:26 
GeneralRe: How to get String Buffers from a dll within C++ and C# Pin
MarcoNedwig29-Oct-08 6:46
MarcoNedwig29-Oct-08 6:46 
AnswerRe: How to get String Buffers from a dll within C++ and C# Pin
sashoalm29-Oct-08 5:34
sashoalm29-Oct-08 5:34 
Questionhow can i overwrite IDocHostUIHandler::ShowContextMenu() Pin
only_jack28-Oct-08 8:19
only_jack28-Oct-08 8:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.