General C++ Programming - November 2022 (Page 2)

typeid pointer recursion
 
Hello all, ive created a function named typeof that either takes any object and shows the typeid().name() result on operator<< or takes a pointer and prints th...
[8 replies] Last: Okay, cool. Thanks a lot :) Learned something new again. have a nice d... (by LukeProducts)
by t im
strcpy doesnot work
 
Just check the code below: char* s1 = "hello"; char* s2 = "world"; cout<<s2<<endl; // world strcpy(s2, s1); cout<<s2<<endl; // world Why does s2 rem...
[3 replies] Last: Get it. Thanks for your help. (by t im)
Is it possible to remake stdin (or cin) and stdout (or cout) in a library?
 
Basically, I am coding for an unusual device, with the compiler I've got, cout is working fine but cin does not work, the device doesn't even have a keyboard (a...
[7 replies] Last: If the initialization procedure might be called from multiple threads ... (by mbozzi)
how otimize code?
 
it's 'easy' create a function. but what make think is: what is the best for otimize the code? how we can win more CPU speed? how we can test the speed? the same...
[14 replies] Last: Furthermore, parallel computation requires that you have multiple thin... (by keskiverto)
November 2022 Pages: 12
  Archived months: [oct2022] [dec2022]

This is an archived page. To post a new message, go to the current page.