Click here to Skip to main content
15,890,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Combo Box Pin
Padmanabha_M8-Jul-09 19:39
Padmanabha_M8-Jul-09 19:39 
Questionclipboard Pin
samira forooghi8-Jul-09 18:28
samira forooghi8-Jul-09 18:28 
AnswerRe: clipboard Pin
Adam Roderick J8-Jul-09 19:38
Adam Roderick J8-Jul-09 19:38 
GeneralRe: clipboard Pin
samira forooghi8-Jul-09 21:47
samira forooghi8-Jul-09 21:47 
QuestionStartProcess/Inject DLL or Detours Pin
Daedro8-Jul-09 12:16
Daedro8-Jul-09 12:16 
AnswerRe: StartProcess/Inject DLL or Detours Pin
Baltoro8-Jul-09 14:25
Baltoro8-Jul-09 14:25 
AnswerRe: StartProcess/Inject DLL or Detours Pin
Adam Roderick J8-Jul-09 18:59
Adam Roderick J8-Jul-09 18:59 
QuestionHow to retrieve Public IP Address Pin
gamefreak22918-Jul-09 8:53
gamefreak22918-Jul-09 8:53 
I'm currently working on a program that outputs the information given under ipconfig/all in DOS to a text file. Now even though this seems very simple do check normally, its for people who don't know dos commands and that sort of thing. However to make this program more effective I would like to have it output the Public IP address of a network, this can be done normally by visiting http://whatismyip.com

The code is currently:

#include <windows.h>
#include <winable.h>
#include <iostream>

int main()
{
    system("ipconfig/all >> \"C:\\Documents and Settings\\gamefreak\\desktop\\test.txt\"");
}


which is working, now I'm trying to output the information provided by http://www.whatismyip.com/automation/n09230945.asp

I suppose an answer on how to copy and paste all the information from a webpage in C++ would work the easiest.
QuestionRe: How to retrieve Public IP Address Pin
David Crow9-Jul-09 4:12
David Crow9-Jul-09 4:12 
AnswerRe: How to retrieve Public IP Address Pin
gamefreak22919-Jul-09 5:09
gamefreak22919-Jul-09 5:09 
Questioncant make it stop, problem with small c++ code Pin
rambache8-Jul-09 8:50
rambache8-Jul-09 8:50 
AnswerRe: cant make it stop, problem with small c++ code Pin
josda10008-Jul-09 9:01
josda10008-Jul-09 9:01 
AnswerRe: cant make it stop, problem with small c++ code Pin
gamefreak22918-Jul-09 9:03
gamefreak22918-Jul-09 9:03 
GeneralRe: cant make it stop, problem with small c++ code Pin
josda10008-Jul-09 9:04
josda10008-Jul-09 9:04 
GeneralRe: cant make it stop, problem with small c++ code Pin
josda10008-Jul-09 9:03
josda10008-Jul-09 9:03 
GeneralRe: cant make it stop, problem with small c++ code Pin
gamefreak22918-Jul-09 9:12
gamefreak22918-Jul-09 9:12 
QuestionUnderstanding SDI Document/View Linkage - #$@%$%%^$%^% Pin
CodeMacDaddy8-Jul-09 8:47
CodeMacDaddy8-Jul-09 8:47 
Questionlib file keeps fully recompiling even when no changes have been made Pin
KellyR8-Jul-09 7:32
KellyR8-Jul-09 7:32 
AnswerRe: lib file keeps fully recompiling even when no changes have been made Pin
Stuart Dootson8-Jul-09 9:40
professionalStuart Dootson8-Jul-09 9:40 
AnswerRe: lib file keeps fully recompiling even when no changes have been made Pin
KellyR9-Jul-09 3:14
KellyR9-Jul-09 3:14 
AnswerRe: lib file keeps fully recompiling even when no changes have been made Pin
Alan Balkany8-Jul-09 11:21
Alan Balkany8-Jul-09 11:21 
Question[Message Deleted] Pin
vidya5568-Jul-09 7:10
vidya5568-Jul-09 7:10 
AnswerRe: Memory Manager Pin
David Crow8-Jul-09 7:15
David Crow8-Jul-09 7:15 
AnswerRe: Memory Manager Pin
Stuart Dootson8-Jul-09 7:17
professionalStuart Dootson8-Jul-09 7:17 
AnswerRe: Memory Manager Pin
Michael Schubert8-Jul-09 7:22
Michael Schubert8-Jul-09 7:22 

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.