are there more wrong things like void main() , and <iostream.h> ?
11 1606
are there more wrong things like void main() , and <iostream.h> ?
You could've googled for that; it would've been faster.
kind regards,
Jos
Jos -
Mind posting the Google search string you used to find that?
what do you mean google? google is a searching machine, what do you mean ?
what do you mean google? google is a searching machine, what do you mean ?
Jos is verbing words again, but his point is very valid - most questions on here could be answered faster and more accurately via a Google search than by posting and waiting for a Mod/Expert/Member to answer.
I even made that 'googled' a link to the right place; what more could I've done to
answer the question? All you need to do is click that link; hint: 'googled' is rendered
in blue.
kind regards,
Jos
aaa, yes , actually if people search on google for faults been maked like void , its faster?
Trying to talk about what is wrong is hard. Breaking from the standard is wrong would be an excellent catch-all. That's what void main and <iostream.h> do, they break from the standard, either relying on something that is wrong or obsolete.
EDIT:
Yes, Google searching is faster. You aren't the first one to be asking these questions. They have been talked about in articles, written up in resources like Wikipedia, and generally answered in forum posts.
aaa, yes , actually if people search on google for faults been maked like void , its faster?
yep it is
someone knows very good C++ compilers?
Google is your friend.
:-)
kind regards,
Jos
Sign in to post your reply or Sign up for a free account.
Similar topics
by: mike420 |
last post by:
In the context of LATEX, some Pythonista asked what the big
successes of Lisp were. I think there were at least three *big*
successes.
a. orbitz.com web site uses Lisp for algorithms, etc.
b....
|
by: Neo The One |
last post by:
I think C# is forcing us to write more code by enforcing a rule that can be
summarized as 'A local variable must be assgined *explicitly* before reading
its value.'
If you are interested in what...
|
by: OpticTygre |
last post by:
I know that in C#, the -- and ++ operators can act as prefix and postfix
operators. With that in mind, what differences would appear between the
following two sections of code when translating...
|
by: ma740988 |
last post by:
I was trying to garner a feel for typeid and it's use with polymorphic
types
#include <iostream>
template <class T>
bool is_polymorphic() {
bool result(false);
typeid( (result=true),...
|
by: ma740988 |
last post by:
I might be a little off topic but the experience level here is enough
to give me solid guidance.
So here's the code:
#ifndef FOO_TEST_H
#define FOO_TEST_H
#include <string>
#include <deque>...
|
by: sparks |
last post by:
We get more and more data done in excel and then they want it imported
into access.
The data is just stupid....values of 1 to 5 we get a lot of 0's ok
that alright but 1-jan ?
we get colums...
|
by: Chen Shusheng |
last post by:
Hi all,
In fact, I want to let my memory run out. And see what will happen. My
system is windowsXp. Memory is 256M.I think my cdes will apply more memory
than I have. Codes are below:
...
|
by: robert maas, see http://tinyurl.com/uh3t |
last post by:
Here's the source:
#include <stdio.h>
#include <errno.h>
main () {
char* str = "9999999999";
long long int llin; char* endptr; /* Set by strtoll */
int nch;
errno = 0;
llin = strtoll(str,...
|
by: davy.zou |
last post by:
I found the code for a program that is suppose to be able to work out
the sumation of i from 1 to a certain integer n.
however, when I implemented to code into Visual C++, it doesn't work.
The...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |