Site Information
Site Title: c++ suicide
Site Domain: textreaderdepressionaots.ytmnd.com
Created by:  
luck17
Created on: 2006-02-08 12:45:28
Image Origin: made it
Sound Origin: at&t demo
Preview:
textreaderdepressionaots

Description: depressed...
Keywords:
Site Stats:
Rating:
(3.56)
Total Votes: 62
Site Views
Views TodayViews YesterdayViews Last WeekViews Last MonthViews All Time
00142,918
Your rating: Log in to vote  (no users have this site on their favorites list!)
    Report this site
Site Sponsorship:  Sponsor this site! (Click here for more info)
  No donations for this site.
Add a comment:
 
  
Comments:
2006-02-08 12:47:32
 
using namespace std;
2006-02-08 13:14:16
 
No, you don't need the "using namespace ...", but C++ doesn't support default int so it should be int main(), void main() or something similar.
2006-02-08 13:18:09
 
I do think (well, at least Visual C++ does) that the C++ standard accepts functions or variables without variable type prefix in their definition as integers.
2006-02-08 13:19:42
 
And yes you'll have to use using namespace std; Otherwise you'll need std::cout. At least that's been my experience.
2006-02-08 13:22:45
 
for loop is irrelevant, main function needs type... but meh.
2006-02-08 13:26:16
 
infinite while loop surely?!
2006-02-28 19:42:06
 
like the music
2006-03-26 13:42:52
 
OMG C++ NERDS :)
2006-05-03 16:26:13
 
*snicker* C- FTW
2006-06-04 15:42:53
 
1) You should define main() as type void if not returning anything. 2) You only need to use std::cout if including , but not if including .
2006-06-04 15:44:11
 
Oops, meant "including iostream, but not if including iostream.h."
2006-07-23 20:51:19
 
no
2006-07-23 20:51:23
 
That was interesting.
2006-09-16 08:34:48
 
Macs > PC's