This page is a NO-INDEX summary of comments posted in this blog.
Total 849 Comments (21/34 Pages) - Newer Comments - Older Comments
501. 2016-11-27 18:28:19 ACMer Comments on How to Link Static Library in C/C++ using GCC compiler?:
yes. as long as it is defined before using it.
502. 2016-11-27 18:13:01 Piotr Comments on How to Link Static Library in C/C++ using GCC compiler?:
Why not using header file to declare test1 and test2 functions? For library definition it is kind of reasonable step
503. 2016-11-24 21:06:33 ACMer Comments on The C++ Static Code Analyser by Visual Studio:
OK. thanks
504. 2016-11-24 20:58:27 Andrey Karpov Comments on The C++ Static Code Analyser by Visual Studio:
In this article I would like to set aside a special group of project checks that is related to Microsoft company. I believe that the Microsoft development process is of high level and their code has low density of errors. However, even highly qualified specialists are not immune from making mistakes. So I am really glad to show what PVS-Studio is capable of.
Our articles are sometimes viewed as indirect comparison with FxCop analyzer and the diagnostics built in Visual Studio. Since PVS-Studio finds bugs after the checks of these tools, it's worth embedding in your development process.
So, I suggest taking a look at the articles, showing the abilities of PVS-Studio by the examples of projects written in C++ and C#.
Link: http://www.viva64.com/en/b/0398/
505. 2016-11-24 18:53:05 ACMer Comments on C/C++ Coding Exercise - Convert a Number to Hexadecimal?:
yes. i think so.
506. 2016-11-24 18:52:03 mathchuong89 Comments on C/C++ Coding Exercise - Convert a Number to Hexadecimal?:
r.length() == 0 is the same as r.empty() ?
507. 2016-11-22 18:37:15 Paweł Comments on When x==x Evaluates to FALSE in C/C++?:
I believe you meant integer...
508. 2016-11-22 16:45:27 John Morrison Comments on When x==x Evaluates to FALSE in C/C++?:
short, int, char, long
509. 2016-11-22 13:37:47 Kamil Koczurek Comments on When x==x Evaluates to FALSE in C/C++?:
Well, comparations to -1, 0, 1 are always valid, so there is no actual reason to avoid that.
510. 2016-11-22 13:35:56 Kamil Koczurek Comments on When x==x Evaluates to FALSE in C/C++?:
There are more such cases, like class with overloaded operator ==. Eg.
bool operator==(const Class& obj) {
return this != &obj;
}
511. 2016-11-22 09:32:33 ACMer Comments on When x==x Evaluates to FALSE in C/C++?:
Integral types?
512. 2016-11-22 05:45:18 mathchuong89 Comments on When x==x Evaluates to FALSE in C/C++?:
If you have 2 different variables x and y, so you shouldn't compare them for equality.
But the main thing here is to compare x to itself.
513. 2016-11-22 01:27:19 John Morrison Comments on When x==x Evaluates to FALSE in C/C++?:
If you want an illustration, use integral types. This is a very amateurish error.
514. 2016-11-21 22:21:07 ACMer Comments on When x==x Evaluates to FALSE in C/C++?:
Hey! It is ok to compare float points using equal in tutorial, so you learn quicker
515. 2016-11-21 22:13:13 John Morrison Comments on When x==x Evaluates to FALSE in C/C++?:
Boys and girls, one of the first things we learn in a programming class is DO NOT COMPARE FLOATING POINT NUMBERS FOR EQUALITY. They are stored approximately, not exactly. This is a Programming 101 goof.
516. 2016-11-06 12:33:16 ganyk Comments on VPS Review - Vultr High Performance SSD Cloud:
can u tell me the link?
517. 2016-11-06 11:41:30 ACMer Comments on VPS Review - Vultr High Performance SSD Cloud:
speedtest
518. 2016-11-06 07:11:34 ganyk Comments on VPS Review - Vultr High Performance SSD Cloud:
hi, what was the website that u used to test the speed of your VPS
519. 2016-11-02 19:58:50 ACMer Comments on Webhosting Review: Management of VPS - The QuickHostUK Web Hosting:
$2.99 for dedicated server per month? Really? seems too good to be true
520. 2016-11-02 19:56:20 ACMer Comments on Webhosting Review: Management of VPS - The QuickHostUK Web Hosting:
Thanks Ajay. Nice to see you here!
https://helloacm.com/out/vultr2 is far better I think. They offer $5 VPS, which works just fine.
521. 2016-11-02 19:37:51 Ajay Soni Comments on Webhosting Review: Management of VPS - The QuickHostUK Web Hosting:
Hey there, have you tried https://www.scaleway.com/
Better value I think.
Hope you and the team are well.
Ajay
522. 2016-10-18 20:12:47 Luc Bloom Comments on C/C++ Coding Exercise - Convert a Number to Hexadecimal?:
No, but compilers can't optimize away a string class internal's copy. A const char* is understandable. Anyway, you're right, good example.
523. 2016-10-18 17:27:01 ACMer Comments on C/C++ Coding Exercise - Convert a Number to Hexadecimal?:
1. yes. I agree. You could replace == "0" with r.length() == 0.
2. This is supposed to be a algorithm tutorial, of course there are many code-level optimisations. but I guess the modern compilers are clever enough to figure out these easy stuffs. There is no point in bringing in static keyword which confuses some readers.
524. 2016-10-18 16:06:37 Luc Bloom Comments on C/C++ Coding Exercise - Convert a Number to Hexadecimal?:
And PLEASE learn people to use a (static) const char* for the table!!!
525. 2016-10-18 16:05:05 Luc Bloom Comments on C/C++ Coding Exercise - Convert a Number to Hexadecimal?:
string r = ""; is inefficient anyway. It invokes an empty string copy...!
Newer Comments - Older Comments
–EOF (The Ultimate Computing & Technology Blog) — 46 words