Go Back   vb.org Archive > Community Central > Community Lounge
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-07-2005, 02:17 PM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default I'm learning C++

I've always heard people say that C++ and PHP are a very similar language. So, today I took my first lesson in C++.

Code:
#include <iostream.h>

int main ()
{
        cout << "Hello World!";
        return 0;
}
That does what this does in php
PHP Code:
<?php
echo "Hello World!";
?>

I'm a genius!

Anyone else here program? I'm downloading Microsoft Visual C++ from Microsoft.com and with a 4.0mbps connection, its taking for ever. It's only a 32mb file, but Bill Gates has a crappy server.

Just thought I would share
Reply With Quote
  #2  
Old 08-07-2005, 02:20 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Live Wire
I've always heard people say that C++ and PHP are a very similar language. So, today I took my first lesson in C++.

Code:
#include <iostream.h>
 
int main ()
{
cout << "Hello World!";
return 0;
}
That does what this does in php
PHP Code:
<?php
echo "Hello World!";
?>

I'm a genius!

Anyone else here program? I'm downloading Microsoft Visual C++ from Microsoft.com and with a 4.0mbps connection, its taking for ever. It's only a 32mb file, but Bill Gates has a crappy server.

Just thought I would share
I used to program in Turbo Pascal in the old BBS days.
Reply With Quote
  #3  
Old 08-07-2005, 02:23 PM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want to be able to create my own text editor, so I thought C++ would be the way to go. I'm now determine to create such a software, so I'm doing a lot of reading, and waiting for some advice from a friend that I just emailed.
Reply With Quote
  #4  
Old 08-07-2005, 02:29 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Live Wire
I want to be able to create my own text editor, so I thought C++ would be the way to go. I'm now determine to create such a software, so I'm doing a lot of reading, and waiting for some advice from a friend that I just emailed.
C++ is very good from what I have heard. It's been a while for me but Turbo Pascal was the big programming language back then. C++ came along and was what everyone went to after that. Good luck with it.
Reply With Quote
  #5  
Old 08-07-2005, 02:31 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did Visual Basic in college and some turbo pascal in school. In all honesty I can't remember a single line of code... I was never that great at it anyway... I was always modifying my BB in lessons heh. C++ is the one I'd like to know though, have always fancied dabbling in game mods and it's the way to go. Isn't there a new language available now though? C#?
Reply With Quote
  #6  
Old 08-07-2005, 02:37 PM
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Location: KierDarby.php
Posts: 1,009
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know a LITTLE c++ but one of my moderators on my site actually built my site a program just for my site..almost fully integrated..called KeySafe?, its great..you can store all your serial keys, ect..in there.

~Curt

PM ME, if you would like to see it .
Reply With Quote
  #7  
Old 08-07-2005, 02:40 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I used to do some Macintosh Programming, and was one of the many programmers that helped develop Hotline, but that didn't use C it used another language that the developer wrote. I have played a bit with C++ but not too much lately. Once you get the basic commands down it is pretty intuitive as I remember. Of course nothing beats BASIC:

100 PRINT "HELLO WORLD!"
110 END

Reply With Quote
  #8  
Old 08-07-2005, 03:45 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yoyoyoyo
I used to do some Macintosh Programming, and was one of the many programmers that helped develop Hotline, but that didn't use C it used another language that the developer wrote. I have played a bit with C++ but not too much lately. Once you get the basic commands down it is pretty intuitive as I remember. Of course nothing beats BASIC:

100 PRINT "HELLO WORLD!"
110 END

Basic rules - I remember as a project at school for Computer Maths we had to build a game of Pong in Basic

It ruled

Satan
Reply With Quote
  #9  
Old 08-07-2005, 04:16 PM
twoseven twoseven is offline
 
Join Date: Jan 2004
Location: in floris' pants
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i used to do c++ quite a bit. it is very easy. c# is a crap language because it cant be compiled on all os'. through college i did programming on a linux system because i wasnt going to pay the outrageous prices for the software. there are also /t/n chars in c++.

you can also run a void main function as well so there is no return.
void main (){cout << "Hello World!";}

and on newer compilers there is a difference between the .h files and
Code:
 using namespace std;
there is even more that i forget right now but it will come back to me sometime. hope this didnt throw too much info at you so far
Reply With Quote
  #10  
Old 08-07-2005, 05:08 PM
Fallback Fallback is offline
 
Join Date: May 2005
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^ yeah but you can make top dollar if you know c#, theres a lot of companies that are hiring C# programmers for the .net platform even more than that are hiring php programmers. Plus c# is very similar to php and flash actionscript so if you have those backgrounds you can pick it up fast.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:36 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04406 seconds
  • Memory Usage 2,260KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete