Twokinds ARCHIVE Forums

This forum is for the preservation of old threads from before the forum pruning.
It is currently Tue Apr 15, 2025 4:44 pm

All times are UTC - 5 hours




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 22 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: C++ ((w00t! 1st thread!))
PostPosted: Tue Oct 04, 2005 7:02 am 
Offline
Master

Joined: Mon Sep 26, 2005 9:10 pm
Posts: 341
I guess this could be a C++ discussion thread... Anyone taking/know so that I can ask questions. O.o


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 04, 2005 10:51 pm 
Offline
Templar Inner Circle
User avatar

Joined: Wed Mar 09, 2005 1:55 am
Posts: 2885
Location: Somewhere in my pants.
I guess this should be the Official C++ topics, so a bunch of others don't get made.

*Stickied*


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 09, 2005 9:36 am 
Offline
Citizen
User avatar

Joined: Mon Nov 07, 2005 12:02 pm
Posts: 64
What, no replies on the modest c++ thread? Well were just going to have to change that.

Yah, I know a good bit about C++ and VC++, but i'm not an "expert" as it will.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 09, 2005 10:41 am 
Offline
Grand Templar
User avatar

Joined: Sat Oct 22, 2005 7:18 am
Posts: 1310
Location: Singapore
what's C++?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 09, 2005 11:44 am 
@_@ C++ is a programming language. @_@


Top
  
 
 Post subject:
PostPosted: Wed Nov 09, 2005 12:31 pm 
Offline
Grand Templar
User avatar

Joined: Mon Jul 04, 2005 2:24 am
Posts: 1135
Location: In a tea shop, arguing about politics
A litle more description would help, I would also like to know what it is


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 09, 2005 5:44 pm 
Offline
Templar Inner Circle
User avatar

Joined: Wed Mar 09, 2005 1:55 am
Posts: 2885
Location: Somewhere in my pants.
It's a language derived from C. It adds object oriented functionality to C.

Here are some links:
A tutorial:
http://www.cplusplus.com/doc/tutorial/
A compiler:
http://www.mingw.org/


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 22, 2005 5:43 am 
Offline
traveler
User avatar

Joined: Mon Nov 21, 2005 5:54 pm
Posts: 19
#include <iostream.h>
int main
{
cout << "Hello World" << endl;
return 0;
}
.. :lol: brings back memories


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 03, 2005 10:03 pm 
Offline
Merchant
User avatar

Joined: Fri Dec 02, 2005 4:12 pm
Posts: 195
Location: Binghamton, NY
Ah, the glory days of Console C++...

Actually, I use PHP now, which is very similar to console C++, only it outputs HTML, and instead of COUT there's echo(str text); CIN there are variables automatically send to the page to the page... and all the functions have different names...

... Ok, I guess it's not that similar. :lol:


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 04, 2005 11:19 am 
Offline
Apprentice
User avatar

Joined: Tue Oct 11, 2005 8:15 am
Posts: 139
Location: The prospering land of peace.... and lonelyness
Personally I prefer plain C to C++, I find the resulting code is much cleaner. This is completely my opinion, but I presonally find C++ to be an ugly hack ontop of C. However there are some cases where OOP is useful, and for that I like to use python, or it's extremely text processing oriented, in which case I will use perl.

Kyle: PHP can be ran as a console interperater though, not outputting HTML, if you want :wink:


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 05, 2005 7:47 pm 
Offline
New Citizen
User avatar

Joined: Mon Dec 05, 2005 9:13 am
Posts: 32
Location: Moscow, Russia
Gihyou Oumono wrote:
#include <iostream.h>
int main
{
cout << "Hello World" << endl;
return 0;
}
.. :lol: brings back memories


Try to use:
Code:
#include<stdio.h>
int main()
{
prinf("Hello, world\n");
return 0;
}


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 05, 2005 8:14 pm 
Offline
Grand Templar
User avatar

Joined: Sat Oct 22, 2005 7:18 am
Posts: 1310
Location: Singapore
#include<stdio.h>
int main()
{
prinf("Hello, world\n");
return 0;
}

hey, nothing happened!!!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 05, 2005 8:57 pm 
Offline
Templar Inner Circle
User avatar

Joined: Wed Mar 09, 2005 1:55 am
Posts: 2885
Location: Somewhere in my pants.
Kyle T wrote:
Ah, the glory days of Console C++...

Actually, I use PHP now, which is very similar to console C++, only it outputs HTML, and instead of COUT there's echo(str text); CIN there are variables automatically send to the page to the page... and all the functions have different names...

... Ok, I guess it's not that similar. :lol:
Albeit the syntax is similar, they are not very much alike. =P PHP is a serverside scripting language for websites whereas C++ is a fully functional programming language. =D


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 05, 2005 9:23 pm 
Offline
New Citizen
User avatar

Joined: Mon Dec 05, 2005 9:13 am
Posts: 32
Location: Moscow, Russia
2 Shoyru
Of corse! The program was succesfully finished.
Code:
#include<stdio.h>
#include<conio.h>
int main()
{
prinf("Hello, world\n");
getch();
return 0;
}


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 06, 2005 12:00 am 
Offline
Grand Templar
User avatar

Joined: Sat Oct 22, 2005 7:18 am
Posts: 1310
Location: Singapore
#include<stdio.h>
#include<conio.h>
int main()
{
prinf("Hello, world\n");
getch();
return 0;
}

still....nothing happened.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 22 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group