Discuss a n00b in the C Programming forum on Dev Shed. a n00b C programming forum discussing all C derivatives, including C#, C++, Object-C, and even plain old vanilla C. These languages are low level languages, and used on projects such as device drivers, compilers, and even whole computer operating systems.
Posts: 19
Time spent in forums: < 1 sec
Reputation Power: 0
a n00b
where would a biggenner go to to learn the basics of c, c++, obj-c, or c#? where do you start? If someone could link me to some good tutorials I would appreciate it! ^_^
Posts: 5,163
Time spent in forums: 6 Days 1 h 34 m 20 sec
Reputation Power: 791
For truely good habits, you should never use void main().
The point of using int main() is to return a success/failure code back to the operating system upon exit of the program. If you use void main() (which some compilers will complain if you do) then you are passing nothing back to the os.
Posts: 5,163
Time spent in forums: 6 Days 1 h 34 m 20 sec
Reputation Power: 791
What kind of applications do you write with void main in windows?
Granted, the microsoft compiler will not complain about you using the void main contruct, but if it is a windows program (at least with MFC) then you are using the CApp class for C++ and int WinMain() for C.