Click here to Skip to main content
16,005,473 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Charts Pin
Martijn van Kleef22-Mar-05 1:26
Martijn van Kleef22-Mar-05 1:26 
GeneralRe: Charts Pin
Anonymous23-Mar-05 15:25
Anonymous23-Mar-05 15:25 
GeneralRe: Charts Pin
Martijn van Kleef24-Mar-05 0:11
Martijn van Kleef24-Mar-05 0:11 
GeneralPocket PC 2003 c++ and iostream Pin
CLermen21-Mar-05 16:35
CLermen21-Mar-05 16:35 
GeneralRe: Pocket PC 2003 c++ and iostream Pin
Christian Graus21-Mar-05 18:27
protectorChristian Graus21-Mar-05 18:27 
GeneralDebug Assertion Failed! Pin
cockytrumpet21-Mar-05 14:32
susscockytrumpet21-Mar-05 14:32 
GeneralRe: Debug Assertion Failed! Pin
Christian Graus21-Mar-05 14:58
protectorChristian Graus21-Mar-05 14:58 
GeneralRe: Debug Assertion Failed! Pin
David Crow22-Mar-05 2:57
David Crow22-Mar-05 2:57 
cockytrumpet wrote:
if (argc != 1)
{
cout << "Usage: " << argv[0] << " <pcap_file>" << endl;
exit(1);
}
else
{
fileName = argv[1];
// argv[1] is invalid when argc equals 1
...

The condition in the if statement should be comparing against 2.


"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow


GeneralSystem process Pin
giany00721-Mar-05 11:48
giany00721-Mar-05 11:48 
GeneralRe: System process Pin
Tom Wright21-Mar-05 12:21
Tom Wright21-Mar-05 12:21 
GeneralRe: System process Pin
giany00721-Mar-05 23:10
giany00721-Mar-05 23:10 
GeneralRe: System process Pin
Blake Miller22-Mar-05 5:58
Blake Miller22-Mar-05 5:58 
Generalmfc dll and IWebBrowser2 questions Pin
Spiritofamerica21-Mar-05 10:51
Spiritofamerica21-Mar-05 10:51 
GeneralRe: mfc dll and IWebBrowser2 questions Pin
David Crow21-Mar-05 11:01
David Crow21-Mar-05 11:01 
GeneralRe: mfc dll and IWebBrowser2 questions Pin
Anonymous22-Mar-05 4:55
Anonymous22-Mar-05 4:55 
GeneralWriting Variables in CDialog with MFC Pin
NewbieStats21-Mar-05 9:45
NewbieStats21-Mar-05 9:45 
GeneralRe: Writing Variables in CDialog with MFC Pin
Ravi Bhavnani21-Mar-05 10:01
professionalRavi Bhavnani21-Mar-05 10:01 
GeneralRe: Writing Variables in CDialog with MFC Pin
NewbieStats21-Mar-05 10:19
NewbieStats21-Mar-05 10:19 
GeneralRe: Writing Variables in CDialog with MFC Pin
Ravi Bhavnani21-Mar-05 10:37
professionalRavi Bhavnani21-Mar-05 10:37 
GeneralRe: Writing Variables in CDialog with MFC Pin
NewbieStats21-Mar-05 10:51
NewbieStats21-Mar-05 10:51 
GeneralRe: Writing Variables in CDialog with MFC Pin
David Crow21-Mar-05 10:57
David Crow21-Mar-05 10:57 
GeneralRe: Writing Variables in CDialog with MFC Pin
Ravi Bhavnani21-Mar-05 11:11
professionalRavi Bhavnani21-Mar-05 11:11 
GeneralRe: Writing Variables in CDialog with MFC Pin
NewbieStats21-Mar-05 11:28
NewbieStats21-Mar-05 11:28 
GeneralRe: Writing Variables in CDialog with MFC Pin
Ravi Bhavnani21-Mar-05 11:38
professionalRavi Bhavnani21-Mar-05 11:38 
GeneralRe: Writing Variables in CDialog with MFC Pin
Ravi Bhavnani21-Mar-05 13:00
professionalRavi Bhavnani21-Mar-05 13:00 

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.