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

C / C++ / MFC

 
AnswerRe: use NTL package with vc++.net Pin
Garth J Lancaster11-May-08 0:53
professionalGarth J Lancaster11-May-08 0:53 
AnswerRe: use NTL package with vc++.net Pin
Hamid_RT11-May-08 4:27
Hamid_RT11-May-08 4:27 
QuestionReading .xls Pin
Star0910-May-08 9:00
Star0910-May-08 9:00 
AnswerRe: Reading .xls Pin
Joan M10-May-08 9:04
professionalJoan M10-May-08 9:04 
GeneralRe: Reading .xls Pin
Star0910-May-08 9:10
Star0910-May-08 9:10 
AnswerRe: Reading .xls Pin
David Crow10-May-08 17:07
David Crow10-May-08 17:07 
AnswerRe: Reading .xls Pin
Hamid_RT10-May-08 18:11
Hamid_RT10-May-08 18:11 
QuestionHow do I get the contents of the console window? [modified] Pin
H1He210-May-08 8:33
H1He210-May-08 8:33 
I'm writing a windows program which at one point needs to get information from the 'net user' command, however I don't want that ugly console window showing up!
Is there some way of getting the entire console buffer in one string, so that I can ofstream it to a file and then ifstream it into my windows program?
What I'm looking for might look something like this:

char *GetConsoleBufferString()<br />
{<br />
    char returnval[1000];<br />
    // Somehow gets the console buffer and sets returnval to it.<br />
    return returnval;<br />
}


Summery: I need some way of getting the entire console buffer in a string.

modified on Sunday, May 11, 2008 8:40 PM

QuestionRe: How do I get the contents of the console window? Pin
David Crow11-May-08 16:56
David Crow11-May-08 16:56 
Questionhow can I choose to build the GUI Pin
wendyyue10-May-08 5:13
wendyyue10-May-08 5:13 
AnswerRe: how can I choose to build the GUI Pin
Maximilien10-May-08 6:12
Maximilien10-May-08 6:12 
AnswerRe: how can I choose to build the GUI Pin
CPallini10-May-08 7:34
mveCPallini10-May-08 7:34 
QuestionOdd problem in writing and reading file-handles to Windows Clipboard Pin
Capitanevs10-May-08 5:06
Capitanevs10-May-08 5:06 
QuestionTimecode control Pin
tiresias210-May-08 0:00
tiresias210-May-08 0:00 
AnswerRe: Timecode control Pin
Rajkumar R10-May-08 0:05
Rajkumar R10-May-08 0:05 
AnswerRe: Timecode control Pin
Mark Salsbery10-May-08 12:52
Mark Salsbery10-May-08 12:52 
QuestionComparing two different date format Pin
manju#1239-May-08 23:12
manju#1239-May-08 23:12 
AnswerRe: Comparing two different date format Pin
Rajkumar R10-May-08 1:02
Rajkumar R10-May-08 1:02 
AnswerRe: Comparing two different date format Pin
Abhijit A10-May-08 1:07
Abhijit A10-May-08 1:07 
GeneralRe: Comparing two different date format Pin
CPallini10-May-08 7:36
mveCPallini10-May-08 7:36 
Questionexport Pin
viliam9-May-08 22:27
viliam9-May-08 22:27 
GeneralRe: export Pin
WindowsPistha10-May-08 2:59
WindowsPistha10-May-08 2:59 
AnswerRe: export Pin
Mark Salsbery10-May-08 13:00
Mark Salsbery10-May-08 13:00 
GeneralRe: export Pin
CPallini10-May-08 22:08
mveCPallini10-May-08 22:08 
GeneralRe: export Pin
Mark Salsbery11-May-08 10:46
Mark Salsbery11-May-08 10:46 

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.