473,405 Members | 2,210 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

are there more wrong things like void main()?

14
are there more wrong things like void main() , and <iostream.h> ?
Aug 14 '07 #1
11 1606
JosAH
11,448 Expert 8TB
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
Aug 14 '07 #2
sicarie
4,677 Expert Mod 4TB
Jos -

Mind posting the Google search string you used to find that?
Aug 14 '07 #3
dorkz
14
what do you mean google? google is a searching machine, what do you mean ?
Aug 14 '07 #4
sicarie
4,677 Expert Mod 4TB
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.
Aug 14 '07 #5
JosAH
11,448 Expert 8TB
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
Aug 14 '07 #6
dorkz
14
aaa, yes , actually if people search on google for faults been maked like void , its faster?
Aug 14 '07 #7
oler1s
671 Expert 512MB
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.
Aug 14 '07 #8
JosAH
11,448 Expert 8TB
aaa, yes , actually if people search on google for faults been maked like void , its faster?
yep it is
Aug 14 '07 #9
dorkz
14
someone knows very good C++ compilers?
Aug 14 '07 #10
oler1s
671 Expert 512MB
Google is your friend.
Aug 14 '07 #11
JosAH
11,448 Expert 8TB
Google is your friend.
:-)

kind regards,

Jos
Aug 14 '07 #12

Sign in to post your reply or Sign up for a free account.

Similar topics

303
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....
40
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...
14
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...
6
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),...
2
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>...
15
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...
17
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: ...
15
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,...
22
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...
0
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
0
BarryA
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...
0
marktang
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,...
0
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...
0
Oralloy
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,...
0
jinu1996
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...
0
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...
0
tracyyun
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...
0
agi2029
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,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.