Click here to Skip to main content
15,906,081 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalexception error occurs in Navigate2 function Pin
nitin_pro19-Feb-08 19:10
nitin_pro19-Feb-08 19:10 
GeneralRe: exception error occurs in Navigate2 function Pin
_AnsHUMAN_ 19-Feb-08 19:48
_AnsHUMAN_ 19-Feb-08 19:48 
GeneralRe: exception error occurs in Navigate2 function Pin
nitin_pro19-Feb-08 22:33
nitin_pro19-Feb-08 22:33 
GeneralC++ code migration to Linux Pin
Member 386968219-Feb-08 19:02
Member 386968219-Feb-08 19:02 
GeneralRe: C++ code migration to Linux Pin
Nemanja Trifunovic20-Feb-08 5:59
Nemanja Trifunovic20-Feb-08 5:59 
GeneralDirectShow Pin
Chandrasekharan P19-Feb-08 18:18
Chandrasekharan P19-Feb-08 18:18 
AnswerRe: DirectShow Pin
Rajkumar R19-Feb-08 18:20
Rajkumar R19-Feb-08 18:20 
GeneralRe: DirectShow Pin
Chandrasekharan P19-Feb-08 18:27
Chandrasekharan P19-Feb-08 18:27 
AnswerRe: DirectShow Pin
Rajkumar R19-Feb-08 18:38
Rajkumar R19-Feb-08 18:38 
Generalgaussion function in c++ [modified] Pin
gentleguy19-Feb-08 16:15
gentleguy19-Feb-08 16:15 
GeneralRe: gaussion function in c++ Pin
CPallini19-Feb-08 22:54
mveCPallini19-Feb-08 22:54 
GeneralRe: gaussion function in c++ [modified] Pin
gentleguy20-Feb-08 0:31
gentleguy20-Feb-08 0:31 
QuestionRe: gaussion function in c++ Pin
CPallini20-Feb-08 4:26
mveCPallini20-Feb-08 4:26 
GeneralUI Thread question (noob) Pin
Maximilien19-Feb-08 13:47
Maximilien19-Feb-08 13:47 
GeneralRe: UI Thread question (noob) Pin
Mark Salsbery19-Feb-08 14:45
Mark Salsbery19-Feb-08 14:45 
GeneralRe: UI Thread question (noob) Pin
Maximilien19-Feb-08 15:11
Maximilien19-Feb-08 15:11 
QuestionHow to start ? built app to communication through USB port Pin
quangpk19-Feb-08 13:12
quangpk19-Feb-08 13:12 
AnswerRe: How to start ? built app to communication through USB port Pin
Maxwell Chen19-Feb-08 15:57
Maxwell Chen19-Feb-08 15:57 
QuestionAny buttons styles to get a CButton to look like a toolbar button? Pin
jeffb4219-Feb-08 11:19
jeffb4219-Feb-08 11:19 
GeneralRe: Any buttons styles to get a CButton to look like a toolbar button? Pin
Maxwell Chen19-Feb-08 16:50
Maxwell Chen19-Feb-08 16:50 
GeneralSingle Processor Multithreaded Application!!!!!!! Does it Help????????????????? [modified] Pin
swarup19-Feb-08 10:05
swarup19-Feb-08 10:05 
Hay hi Guys

i have a single processor in my system and in my application i create more then 1 thread, so does it enhance my application, as at a given point of time only instruction can be executed, how does it make difference, does it speed up my application,

for example
i am retrieving 500 web logs from a site,
so if i create 10 threads in one go and in each thread i retrieve 1 log
i have to make 50 calls at go which will fetch those 500 logs,
so will it speed up the downloading or fetching up the logs
or should i go with application thread which will fetch 1 by 1,

which method will be useful...........

or any idea or implimentaion idea..........

i am not concerned about the server bandwidth or speed of my processor, my Question is doing the repetitive work in one thread at a time with multiple time is faster or doing it in multiple threads is faster . P.S. not concerned about UI too

thread t{ print 1;} /1st time
..
thread t{ print 1;}/100th time

OR

thread {t0,t1,t2,t3,t4,t5,t6,t7,t8,t9}{print 1;}/1st 10 run
..
thread {t0,t1,t2,t3,t4,t5,t6,t7,t8,t9}{print 1;}/last 10run=100

which will complete faster

Thanks
Swarup

modified on Tuesday, February 19, 2008 5:12 PM

GeneralRe: Single Processor Multithreaded Application!!!!!!! Does it Help????????????????? Pin
Maximilien19-Feb-08 10:24
Maximilien19-Feb-08 10:24 
GeneralRe: Single Processor Multithreaded Application!!!!!!! Does it Help????????????????? Pin
swarup19-Feb-08 10:53
swarup19-Feb-08 10:53 
GeneralRe: Single Processor Multithreaded Application!!!!!!! Does it Help????????????????? Pin
Dave Kreskowiak21-Feb-08 9:35
mveDave Kreskowiak21-Feb-08 9:35 
GeneralRe: Single Processor Multithreaded Application!!!!!!! Does it Help????????????????? Pin
led mike19-Feb-08 10:54
led mike19-Feb-08 10:54 

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.