Since 4/16/2012 10:22:25 AM, nntp24 has written 6 articles and participated in 1548 conversations. nntp24 signature: nntp24
nntp24's articles:
Items(6) /1
Indentation styles for namespaces?438 (11/13/2011 9:29:58 PM) comp.lang.c++ I hope this doesn't turn into an argument. I had these header files at work, where I had most of the contents in a namespace: /* foo.h */ namespace foo { stuff; pages_of_stuff; ... } Quite a few pag... Jorgen
Clean ways to count remove_if() removals?4242 (6/23/2009 2:38:19 PM) comp.lang.c++ I'm looking at std::remove_if(Iter, Iter, Pred) and std::list::remove_if(Pred). I'd like to use it to remove elements from a std::list *and* find out how many elements were removed. Is there a clean way? At f... Jorgen
Pruning a std::map efficiently?1443 (4/1/2009 8:04:54 AM) comp.lang.c++ Around here, March--April is apple tree pruning time. I have a slighly different problem: I have a std::map where I want to move all T (or pair) which match some predicate Pred to some other container. The ma... Jorgen
Lifetime of temporaries?339 (3/24/2009 2:26:01 PM) comp.lang.c++ I should know this, but ... Is this code safe? std::string foo(); std::printf("%s", foo().c_str()); Or is my temporary std::string destroyed before printf() is done with it? Background: I'm sitting wit... Jorgen
Simple and clear ways of creating distinct types1344 (1/12/2009 11:26:00 AM) comp.lang.c++ I have recently realized that I want more distinct types in the code I work with, to get better help from the compiler. The code I work with now is like much real-life code: dozens of logically different kinds... Jorgen
standard input, for s in f, and buffering418 (3/30/2008 9:02:44 PM) comp.lang.python One thing that has annoyed me for quite some time. I apologize if it has been discussed recently. If I run this program on Unix (Python 2.4.4, on Debian Linux) import sys for s in sys.stdin: p... Jorgen
Advice on an approach to a problem102 (5/16/2013 11:36:43 AM) comp.lang.c++ I make great use of a 'C' program written by someone else. It works
invisibly but creates files named by itself. I would like to grant the user
the option to create their own filenames and the paths for th... pinnerite(19)
Parsing response coming from server122 (5/18/2013 4:30:00 PM) comp.lang.c++ I am getting below response from server -
Main stream options:
EncType1=H.264
Resolution1=704*576
KeyInterval1=50
FrameRate1=25
BitflowType1=VBR
NormalBitrate1=2048
Now I need to parse the parameter... sumit369(1)
C programming problem111 (5/16/2013 8:50:22 PM) comp.lang.c Hello all,
Can anyone give me some insights on this programming problem for a project?
Have a program prompt the user for a filename to open. Change every alphabetic character in the file to a capital let... ericswalz(1)
reference type for C742 (5/16/2013 2:08:43 PM) comp.lang.c I like the reference type that has been introduced with C++
I wondered why isn't that feature retrofitted in C.
Is there something hindering it?
thx - roar -
... roland.arthaud(5)
C++14: Papers18516 (4/5/2013 8:40:31 PM) comp.lang.c++ Here are three links which showcase which features are being proposed for
C++14:
http://www.meetingcpp.com/index.php/br/items/a-look-at-cpp14-papers-
part-1.html
http://www.meetingcpp.com/index.php/br/it... rui.maciel(1745)
To go with Go or C/C++?1906 (5/1/2013 2:05:35 PM) comp.lang.c++ Don't worry, this is not about some religious language war. I'm just lookin=
g for some advice from some C/C++ people who can judge better than me since=
my experience in C/C++ is very limited. I have been d... jeti789(31)
Embarcadero C/C++ Compiler available245 (5/3/2013 4:40:35 PM) comp.lang.c Hi:
If you would like to test/try out the new 'Borland' C/C++ Compiler
(from Embarcadero) BCC 6.6.0, there is a link below.
This console-only compiler was extracted from the C++ Builder package... med_cutout_syntel(718)
Diacretical incensitive search52 (5/17/2013 6:57:04 AM) comp.lang.python One feature that seems to be missing in the re module (or any tools that I =
know for searching text) is "diacretical incensitive search". I would like =
to have a match for something like this:
re.match("... diolu.remove_this_part(8)
SCTP multi-homed retransmissions11 (5/14/2013 5:05:52 AM) comp.os.linux.networking Firstly, if this is not the correct group, I apologize it seemed the closes=
t match. My question involves a SCTP multi-homed scenario. It seems a colle=
ague and I are at a little bit of disagreement.
The... bjeremy321(1)