Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Can we Set the ReadOnly attribute to a checkbox? Pin
Jim Chan1-Mar-04 1:10
Jim Chan1-Mar-04 1:10 
GeneralRe: Can we Set the ReadOnly attribute to a checkbox? Pin
Prakash Nadar1-Mar-04 1:13
Prakash Nadar1-Mar-04 1:13 
GeneralRe: Can we Set the ReadOnly attribute to a checkbox? Pin
Jim Chan1-Mar-04 1:34
Jim Chan1-Mar-04 1:34 
GeneralRe: Can we Set the ReadOnly attribute to a checkbox? Pin
Steve S1-Mar-04 1:58
Steve S1-Mar-04 1:58 
Generalconnect to a shared device before the user has logged on... Pin
Joan M29-Feb-04 21:04
professionalJoan M29-Feb-04 21:04 
Generalhex to decimal Pin
styve29-Feb-04 20:53
styve29-Feb-04 20:53 
GeneralRe: hex to decimal Pin
Prakash Nadar29-Feb-04 21:22
Prakash Nadar29-Feb-04 21:22 
Generalhex to decimal (code) Pin
styve29-Feb-04 22:19
styve29-Feb-04 22:19 
I'm using libpcap, and capturing the header of each packet.
While it is a udp header, I will get the source port, byte 1 and byte 2. I'm reading one byte at the time with get(), so I cat them into one string.
Probably I have put myself in a hard position to convert the string with hexadecimal numbers to decimal


code:

int main(){
...

while(!inFile.eof)
{
inFile.get(bin);
...

if(count == 35)
{
sprintf(port1, "02X", bin);
}

if(count == 36)
{
sprintf(port, "%s%02X", port1, bin);
}

}





GeneralRe: hex to decimal (code) Pin
Prakash Nadar29-Feb-04 23:19
Prakash Nadar29-Feb-04 23:19 
GeneralCall stack frame has no stack information for the application debugged Pin
SVPG29-Feb-04 20:32
SVPG29-Feb-04 20:32 
GeneralRe: Call stack frame has no stack information for the application debugged Pin
Neville Franks29-Feb-04 22:02
Neville Franks29-Feb-04 22:02 
GeneralFor The Gurus Pin
Pazzuzu29-Feb-04 20:31
Pazzuzu29-Feb-04 20:31 
GeneralProblem of default accelerator in MDI application Pin
gu mingqiu29-Feb-04 20:24
gu mingqiu29-Feb-04 20:24 
GeneralRe: Problem of default accelerator in MDI application Pin
Prakash Nadar29-Feb-04 20:39
Prakash Nadar29-Feb-04 20:39 
GeneralRe: Problem of default accelerator in MDI application Pin
gu mingqiu29-Feb-04 20:51
gu mingqiu29-Feb-04 20:51 
GeneralRe: Problem of default accelerator in MDI application Pin
Prakash Nadar29-Feb-04 21:31
Prakash Nadar29-Feb-04 21:31 
GeneralRe: Problem of default accelerator in MDI application Pin
gu mingqiu29-Feb-04 22:14
gu mingqiu29-Feb-04 22:14 
GeneralToolbars in MDI application Pin
gu mingqiu29-Feb-04 20:19
gu mingqiu29-Feb-04 20:19 
GeneralC++ Simple Class Window Pin
Drahcir29-Feb-04 18:18
Drahcir29-Feb-04 18:18 
GeneralRe: C++ Simple Class Window Pin
calebcohoon29-Feb-04 18:40
calebcohoon29-Feb-04 18:40 
Generalhelp! inline assemble Pin
jfk_lili29-Feb-04 16:53
jfk_lili29-Feb-04 16:53 
GeneralRe: help! inline assemble Pin
Prakash Nadar29-Feb-04 17:40
Prakash Nadar29-Feb-04 17:40 
GeneralRe: help! inline assemble Pin
jfk_lili29-Feb-04 19:36
jfk_lili29-Feb-04 19:36 
GeneralRe: help! inline assemble Pin
Prakash Nadar29-Feb-04 19:45
Prakash Nadar29-Feb-04 19:45 
GeneralRe: help! inline assemble Pin
jfk_lili29-Feb-04 20:05
jfk_lili29-Feb-04 20:05 

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.