Click here to Skip to main content
15,921,841 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: NET SEND ~ HELP ME Pin
Ken Mazaika1-Jun-03 17:00
Ken Mazaika1-Jun-03 17:00 
GeneralRe: NET SEND ~ HELP ME Pin
Chris Richardson1-Jun-03 17:20
Chris Richardson1-Jun-03 17:20 
GeneralRe: NET SEND ~ HELP ME Pin
Abbas_Riazi1-Jun-03 19:34
professionalAbbas_Riazi1-Jun-03 19:34 
GeneralRe: NET SEND ~ HELP ME Pin
BoyceMan2-Jun-03 9:09
BoyceMan2-Jun-03 9:09 
GeneralRe: NET SEND ~ HELP ME Pin
Tom Wright2-Jun-03 11:49
Tom Wright2-Jun-03 11:49 
GeneralRe: NET SEND ~ HELP ME Pin
BoyceMan2-Jun-03 11:59
BoyceMan2-Jun-03 11:59 
GeneralRe: NET SEND ~ HELP ME Pin
Abbas_Riazi2-Jun-03 19:52
professionalAbbas_Riazi2-Jun-03 19:52 
GeneralRe: NET SEND ~ HELP ME Pin
Anonymous6-Jun-03 9:04
Anonymous6-Jun-03 9:04 
ok i added those libraries ... also i added "stdafx.h" but got this error when compiling...

--------------------Configuration: netsent - Win32 Debug--------------------
Compiling...
netsent.cpp
c:\documents and settings\carter\my documents\c++ files\netsent.cpp(1) : fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory
Error executing cl.exe.

netsent.exe - 1 error(s), 0 warning(s)



here is my source..



#include "stdafx.h"
#include <windows.h>
#include <iostream.h>
#include <conio.h>
#include <stdlib.h>

int main()
{
char user[20], message[1000];
char szFullMessage[256] = {0};

cout << "User/IP = ";
cin >> user;

cout << "Message = ";
cin >> message;
sprintf(szFullMessage, "net send %s %s", user, message );
system(szFullMessage);

return 0;
}
Generalrotate, mirror, drawn objects Pin
shanila1-Jun-03 16:33
shanila1-Jun-03 16:33 
QuestionHow to add bar containing icons in my CFileDialog? Pin
julych1-Jun-03 10:47
julych1-Jun-03 10:47 
AnswerRe: How to add bar containing icons in my CFileDialog? Pin
Mahesh Varma1-Jun-03 23:57
Mahesh Varma1-Jun-03 23:57 
AnswerRe: How to add bar containing icons in my CFileDialog? Pin
Anna-Jayne Metcalfe2-Jun-03 0:01
Anna-Jayne Metcalfe2-Jun-03 0:01 
Generaldouble to string Pin
IceMatrix1-Jun-03 10:09
IceMatrix1-Jun-03 10:09 
GeneralRe: double to string Pin
User 66581-Jun-03 11:13
User 66581-Jun-03 11:13 
GeneralRe: double to string Pin
melwyn2-Jun-03 4:57
melwyn2-Jun-03 4:57 
GeneralRe: double to string Pin
Anna-Jayne Metcalfe2-Jun-03 0:05
Anna-Jayne Metcalfe2-Jun-03 0:05 
GeneralRe: double to string Pin
Trollslayer2-Jun-03 1:07
mentorTrollslayer2-Jun-03 1:07 
GeneralRe: double to string Pin
Anna-Jayne Metcalfe2-Jun-03 1:17
Anna-Jayne Metcalfe2-Jun-03 1:17 
GeneralRe: double to string Pin
IceMatrix2-Jun-03 3:26
IceMatrix2-Jun-03 3:26 
GeneralRe: double to string Pin
Anna-Jayne Metcalfe2-Jun-03 3:39
Anna-Jayne Metcalfe2-Jun-03 3:39 
GeneralRe: double to string Pin
IceMatrix2-Jun-03 4:53
IceMatrix2-Jun-03 4:53 
GeneralUSB notification Pin
paul41-Jun-03 10:00
paul41-Jun-03 10:00 
GeneralRe: USB notification Pin
peterchen1-Jun-03 18:46
peterchen1-Jun-03 18:46 
QuestionCToolBar in a dialog? Pin
Steven M Hunt1-Jun-03 9:19
Steven M Hunt1-Jun-03 9:19 
AnswerRe: CToolBar in a dialog? Pin
W. Hammer -sledge-1-Jun-03 11:38
W. Hammer -sledge-1-Jun-03 11:38 

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.