Bunker Gaming Community: What is different between c & c++? - Bunker Gaming Community

Jump to content

Page 1 of 1

What is different between c & c++?

#1 User is offline   lanejared Icon

  • Schutze
  • Icon
  • Group: Members
  • Posts: 3
  • Joined: 13-January 10
  • Server:Bunker #2

Posted 08 February 2010 - 06:20 AM

Hello..
1)I also know that in c we use printf function for input & scanf function for output,
while c++ we use cin>> for input & cout<< for output function.
2)In c we use #include<stdio.h> as iclusion file,while in c++
we use #include<iostreame> as inclusion file.
0

#2 User is offline   Belzebub Icon

  • Boardmaster
  • Icon
  • Group: Administrators
  • Posts: 759
  • Joined: 14-July 04
  • Gender:Male
  • Location:Germany
  • Server:Bunker #2

Posted 08 February 2010 - 07:14 AM

thats just "cosmetic"

one real difference is the use of objects in c++ which require EXTREMELY carefull programming and thats the point where most programmers fail ....
the result is software using a lot of ressources...RAM etc
(same problem as JAVA shit where a "hello world" programm might use 500MB RAM....)

so if you're smart : lern C
emot_smile.gif
Someday, someone may kill you with your own gun,
but they should have to beat you to death with it
BECAUSE IT IS EMPTY!
Posted Image
0

#3 User is offline   KLAUS Icon

  • Boardmaster
  • Icon
  • Group: Bunker Admins
  • Posts: 852
  • Joined: 18-June 07
  • Gender:Male
  • Location:Wuppertal,Germany
  • Server:Bunker #2

Posted 08 February 2010 - 10:28 AM

QUOTE(lanejared @ Feb 8 2010, 07:20 AM) View Post
Hello..
1)I also know that in c we use printf function for input & scanf function for output,
while c++ we use cin>> for input & cout<< for output function.
2)In c we use #include<stdio.h> as iclusion file,while in c++
we use #include<iostreame> as inclusion file.


c++ is just c+1

imo c++ is easier to understand but for that understanding u should learn geek.gif C,before geek.gif
http://www.cprogramm...l/c-vs-c++.html
Bunker Awards 2010
Gold Medals:Funniest Person;Best Field Ops
Silver Medals:Coolest Person;Best Bunker #8 Low Admin
Bronze Medals:Best Bunker Low Admin;Best Bunker Member;Biggest Bunker XP-Wh0re;Best Soldier
Posted Image

Posted Image
0

#4 User is offline   Belzebub Icon

  • Boardmaster
  • Icon
  • Group: Administrators
  • Posts: 759
  • Joined: 14-July 04
  • Gender:Male
  • Location:Germany
  • Server:Bunker #2

Posted 08 February 2010 - 01:05 PM

a good reading :
http://www.fefe.de/c++/
Someday, someone may kill you with your own gun,
but they should have to beat you to death with it
BECAUSE IT IS EMPTY!
Posted Image
0

#5 User is offline   Mystic Icon

  • INCUBUS
  • Icon
  • Group: Bunker Members
  • Posts: 3,564
  • Joined: 23-November 04
  • Gender:Male
  • Location:Somewhere in a Galaxie far, far away...
  • Server:Bunker #2

Posted 08 February 2010 - 08:41 PM

I'll just stick to advanced PHP/AJAX for now until I've mastered that fully : ]

some day I'll advance..
<div align="left"><!--coloro:blue--><span style="color:blue"><!--/coloro--><img src="http://img144.exs.cx/img144/4522/mysticsig9mc.gif" border="0" class="linked-image" /><!--colorc--></span><!--/colorc-->
</div>
0

#6 User is offline   Hawk109 Icon

  • INCUBUS
  • Icon
  • Group: Bunker Admins
  • Posts: 2,272
  • Joined: 30-October 04
  • Gender:Male
  • Location:Sweden
  • Server:Unselected

Posted 08 February 2010 - 09:24 PM

arnt we beyond c and c++ today?
Posted Image
Posted Image
0

#7 User is offline   Belzebub Icon

  • Boardmaster
  • Icon
  • Group: Administrators
  • Posts: 759
  • Joined: 14-July 04
  • Gender:Male
  • Location:Germany
  • Server:Bunker #2

Posted 09 February 2010 - 06:27 AM

no!

you can NOT write anything fast/performant in C++/C#/JAVA!!!
NEVER!

everything else (python, ruby etc) is just good for small stuff emot_smile.gif
Someday, someone may kill you with your own gun,
but they should have to beat you to death with it
BECAUSE IT IS EMPTY!
Posted Image
0

#8 User is offline   Nevermore Icon

  • INCUBUS
  • Icon
  • Group: Old retired farts
  • Posts: 2,694
  • Joined: 09-August 05
  • Gender:Male
  • Location:Colorado
  • Server:Bunker #1

Posted 09 February 2010 - 06:52 AM

Real programmers don't need garbage collection.
0

#9 User is offline   Belzebub Icon

  • Boardmaster
  • Icon
  • Group: Administrators
  • Posts: 759
  • Joined: 14-July 04
  • Gender:Male
  • Location:Germany
  • Server:Bunker #2

Posted 09 February 2010 - 09:24 AM

exactly! emot_smile.gif
Someday, someone may kill you with your own gun,
but they should have to beat you to death with it
BECAUSE IT IS EMPTY!
Posted Image
0

#10 User is offline   UndeadWarrior Icon

  • INCUBUS
  • Icon
  • Group: Bunker Members
  • Posts: 1,987
  • Joined: 20-February 06
  • Gender:Male
  • Location:Belgium - Beringen
  • Server:Bunker #2

Posted 09 February 2010 - 09:36 AM

im learning C++ in school now :p

i think it is rather easy to work with xD emot_bigsmile.gif
but then again
it is newbies lvl emot_bigsmile.gif
|>B<|UndeadWarrior + |>B<|TheSaint = |>B<|UndeadSaint

Vi Veri Veniversum Vivus Vici
By the power of truth, I, while living, have conquered the universe.

Posted Image
Made by Belzebub

Posted ImagePosted Image


|>B<| member since 18may 2007
0

#11 User is offline   PROWND Icon

  • Boardmaster
  • Icon
  • Group: Bunker Members
  • Posts: 646
  • Joined: 10-October 07
  • Gender:Male
  • Location:Ground Level
  • Server:Bunker #1

Posted 09 February 2010 - 02:16 PM

I am learning php/mysql, javascript


maybe someday to learn C, C++

Id also like to learn how to make simple Iphone apps


Move this thread to Hardware & Software?
0

#12 User is offline   peyote Icon

  • Cactus
  • Icon
  • Group: Administrators
  • Posts: 4,898
  • Joined: 12-August 04
  • Gender:Male
  • Location:riding an electron
  • Server:Bunker #1

Posted 09 February 2010 - 02:17 PM

good that a spam bot can do good
/moved
Posted Image
"The time you enjoy wasting is not wasted time."
Bertrand Russell (1872 - 1970)
0

#13 User is offline   UndeadWarrior Icon

  • INCUBUS
  • Icon
  • Group: Bunker Members
  • Posts: 1,987
  • Joined: 20-February 06
  • Gender:Male
  • Location:Belgium - Beringen
  • Server:Bunker #2

Posted 09 February 2010 - 03:55 PM

lol first time i heard about such a bot pey xD

quite funny when you think about it emot_bigsmile.gif
we were all talking against a pc emot_bigsmile.gif lol


GEEEKS :p
|>B<|UndeadWarrior + |>B<|TheSaint = |>B<|UndeadSaint

Vi Veri Veniversum Vivus Vici
By the power of truth, I, while living, have conquered the universe.

Posted Image
Made by Belzebub

Posted ImagePosted Image


|>B<| member since 18may 2007
0

#14 User is offline   SickOne Icon

  • INCUBUS
  • Icon
  • Group: Bunker Admins
  • Posts: 5,368
  • Joined: 04-May 05
  • Gender:Male
  • Location:Hannover/GERMANY
  • Server:Unselected

Posted 09 February 2010 - 03:56 PM

we do that on b5 all the time , guess on b10 and b6 also emot_bigsmile.gif
Posted Image


Posted Image

"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around darkened rooms, munching magic pills and listening to repetitive electronic music."

Kristian Wilson, Nintendo Inc. 1989
0

#15 User is offline   UndeadWarrior Icon

  • INCUBUS
  • Icon
  • Group: Bunker Members
  • Posts: 1,987
  • Joined: 20-February 06
  • Gender:Male
  • Location:Belgium - Beringen
  • Server:Bunker #2

Posted 13 February 2010 - 04:00 PM

QUOTE(SickOne @ Feb 9 2010, 04:56 PM) View Post
we do that on b5 all the time , guess on b10 and b6 also emot_bigsmile.gif


do i need to reply on this whistling.gif
|>B<|UndeadWarrior + |>B<|TheSaint = |>B<|UndeadSaint

Vi Veri Veniversum Vivus Vici
By the power of truth, I, while living, have conquered the universe.

Posted Image
Made by Belzebub

Posted ImagePosted Image


|>B<| member since 18may 2007
0

#16 User is offline   SickOne Icon

  • INCUBUS
  • Icon
  • Group: Bunker Admins
  • Posts: 5,368
  • Joined: 04-May 05
  • Gender:Male
  • Location:Hannover/GERMANY
  • Server:Unselected

Posted 13 February 2010 - 04:10 PM

QUOTE(UndeadWarrior @ Feb 13 2010, 05:00 PM) View Post
QUOTE(SickOne @ Feb 9 2010, 04:56 PM) View Post
we do that on b5 all the time , guess on b10 and b6 also emot_bigsmile.gif


do i need to reply on this whistling.gif


/bind mouse1 \!gib undead

emot_bigsmile.gif
Posted Image


Posted Image

"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around darkened rooms, munching magic pills and listening to repetitive electronic music."

Kristian Wilson, Nintendo Inc. 1989
0

Page 1 of 1


Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users