- FOR LATEST MOVIE UPDATED LINKS
TOP DOT NET INTERVIEW QUESTIONS& STUDY MATERIAL
[link]
TOP DATING TIPS TO ENCOURAGE WOMEN FOR DATING
[link]
FOR LATEST MOVIE UPDATED LINKS
MR 7 MOVIE FILM GALLERY
Sat, 19 May 2012 07:15:58 UT
- Re: Using range-based for with alternative ranges
I'm not sure about reversing, but for ranges it
might make sense to use a range class that has
begin and end function members. The following
is from the C++ Middleware Writer.
void
bigtest::Marshal (::cmw::SendBufferCompressed& buf
, boost::sub_range<std::vector<i nt32_t> > const& az1
Sat, 19 May 2012 05:30:19 UT
- Re: Using printf in C++
I'm not sure what languages you're talking about, but if yo're taking
about Java, it's not true. Java didn't add any general-purpose string
formatting until Java 5. If you wanted textual I/O before then, you
converted everything to a string manually, including invoking the
formatters if necessary.
Sat, 19 May 2012 04:46:55 UT
- Re: Using printf in C++
So write them. This is one of the biggest advantages of iostreams
compared to printf and C FILE I/O. You can write as many manipulators
as you need.
Adam
Sat, 19 May 2012 04:29:01 UT
- Re: Using printf in C++
It's also not the least bit comparable to what your alternative code
is doing. To dismiss it based on this analysis alone is either
suggests that you don't know what iostreams does out of the box, nor
how to change the default behavior. Regardless, this comparsion
doesn't pass anything resembling intellectual honesty, nor can it
Sat, 19 May 2012 04:15:37 UT
- Re: fstream Buffers
You haven't provided enough information (anywhere in the thread) to get
a meaningful answer.
What is the code that runs so much faster?
Is the data format line or record based?
--
Ian Collins
Sat, 19 May 2012 04:14:47 UT
- Re: Using printf in C++
1) You should _never_ use sprintf. snprintf is preferred (but I understand microsoft doesn't have it).
2) 'strftime' is much better for formatting timestamps.
3) I tried the cout stuff that was posted:
if (p_num_breakpoints > 0) {
std::cout << "Breakpoint Address Core Enabled?\n"
Mon, 14 May 2012 22:28:29 UT
- Re: OT usenet netiquette Re: function to initialize vector from {1,2,3,4}
There are still a lot of people who use tin to read usenet. Usually after secure shell login to a
networked host somewhere. Sometimes even from a console screen with only 80 columns.
scott
Fri, 18 May 2012 23:29:39 UT
- Re: OT usenet netiquette Re: function to initialize vector from {1,2,3,4}
> snip
You snipped everything from RFC 1855 "Netiquette".
You added personal attacks on me.
Plonk.
Fri, 18 May 2012 22:59:18 UT
- Re: Using printf in C++
printf is a function, cout is an object. They are different mechanisms for
directing output. If printf works for you then why not use it, I guess it
depends on your project and how it all fits together. C++ is built on a C
foundation so there is no problem using C within C++.
--- Posted via news://freenews.netfront.net/ - Complaints to n...@netfront.net ---
Fri, 18 May 2012 21:59:49 UT
- Re: OT usenet netiquette Re: function to initialize vector from {1,2,3,4}
That would be a reasonable answer if and only if you were able to dictate how reality works. Were you
bestowed with that power?
Only if you don't know what the context is or what "valid" is supposed to mean, or if you wish to pretend that
your baseless assertions don't actually need to be based.
Fri, 18 May 2012 21:57:23 UT
- Re: Finding a Career in C++
If you're in the US, you might check if whatever newsgroups server you use
offers newsgroup misc.jobs.offered. It tends to list around 600 job offers a
day, although mostly not for C++. If your newsreader includes a search function, it may be able to search for only offers that mention C++. Few
Fri, 18 May 2012 19:55:48 UT
- Re: fstream Buffers
I'm not sure why you think that is remotely relevant here. The OP is
plainly not writing a part of, nor a replacement for, Oracle.
It hits the I/O limit on my systems with no problems. He's
manipulating text, so optimal performance in the I/O stack is very
likely to be pointless anyway. His largest source of overhead is
Fri, 18 May 2012 18:33:17 UT