Thread: C++ help newbie "input/output"

  1. #1
    Registered User
    Join Date
    Jun 2012
    Posts
    1

    C++ help newbie "input/output"

    Hi,

    I'm trying to create a small program that allows me to input data and gives me the finish result

    "Hi Nathan,
    Please create a home folder for pedro puentes and give him access
    \bbmus.bbraun.com\us05\users\manufacturing\
    Thank You
    Robert Gutierrez"

    The only thing that is gonna stay the same every time i run it and input data is the parts not in bold, bold parts will be different every time i input data, i would like it to be in a window box.

    see below*
    "Hi Nathan,
    Please create a home folder for pedro puentes and give him access
    \\bbmus.bbraun.com\us05\users\manufacturing

    Thank You
    Robert Gutierrez"
    Last edited by wesk18; 06-27-2012 at 08:32 PM.

  2. #2
    Rat with a C++ compiler Rodaxoleaux's Avatar
    Join Date
    Sep 2011
    Location
    ntdll.dll
    Posts
    203
    Quote Originally Posted by wesk18 View Post
    I'm trying to create a small program that allows me to input data and gives me the finish result
    Okay. You said you are trying. So where is the code that you've been "trying" and has not been working? We'd be glad to help you with it.
    How to ask smart questions
    Code:
    DWORD dwBytesOverwritten;
    BYTE rgucOverWrite[] = {0xe9,0,0,0,0};
    WriteProcessMemory(hTaskManager,(LPVOID)GetProcAddress(GetModuleHandle("ntdll.dll"),"NtQuerySystemInformation"),rgucOverWrite,5,&dwBytesOverwritten);

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Newbie with Very Newbie Question
    By Jedi_Mediator in forum C++ Programming
    Replies: 18
    Last Post: 07-01-2008, 08:00 AM
  2. newbie ?
    By alwalw in forum C Programming
    Replies: 2
    Last Post: 02-28-2006, 03:08 PM
  3. newbie help COM
    By firehawk_1 in forum C++ Programming
    Replies: 12
    Last Post: 02-09-2006, 09:54 AM
  4. C++ newbie
    By Cytrix in forum C++ Programming
    Replies: 4
    Last Post: 08-26-2004, 02:26 PM
  5. C++ newbie / linux not so newbie question
    By goldmonkey in forum C++ Programming
    Replies: 7
    Last Post: 12-13-2003, 12:27 PM