This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-11-08 02:55:14

helltank
Scratcher
Registered: 2010-05-21
Posts: 1000+

I'm learning C++!

To prevent the mods from closing this as spam, I would like to start a discussion on C++.

Personally, I think it's a little complex but well worth it. At the very least, it's better than most other 3rdGen languages.


Error:Signature could not load. Please wait for an indefinite amount of time, until you realize you're gullible and go off to look for another potentially interesting signature to stare at.

Offline

 

#2 2010-11-08 07:26:12

Scratchthatguys
Scratcher
Registered: 2010-07-16
Posts: 1000+

Re: I'm learning C++!

Yeah, I've read up on it.

I can't understand const_iterators, const iterators, iterators, and destructor iterators

Offline

 

#3 2010-11-08 07:26:51

Albertt911
Scratcher
Registered: 2010-09-28
Posts: 1000+

Re: I'm learning C++!

That's two people i know that has learned/learnt C++  big_smile  :coo: :3

Last edited by Albertt911 (2010-11-08 07:28:34)


'The only problem with the world is that fools and fanatics are so certain of themselves, and the wise so full of doubt.'
http://dragcave.net/image/hutmJ.gifhttp://dragcave.net/image/5eYiP.gifhttp://dragcave.net/image/AqXnJ.gif

Offline

 

#4 2010-11-08 07:28:55

The_Dancing_Donut
Scratcher
Registered: 2010-08-03
Posts: 1000+

Re: I'm learning C++!

Albertt911 wrote:

That's to people i know that has learned/learnt C++  big_smile  :coo: :3

Typing fail. XD


Offending strangers since 2010.

Offline

 

#5 2010-11-08 07:35:07

Albertt911
Scratcher
Registered: 2010-09-28
Posts: 1000+

Re: I'm learning C++!

The_Dancing_Donut wrote:

Albertt911 wrote:

That's to people i know that has learned/learnt C++  big_smile  :coo: :3

Typing fail. XD

[Removed by mod] :L  lol

Actually, no i meant that, i put :coo: 'cus ... ima pigeon :3  big_smile

[Please don't use profanity, however mild, in the forums. This site is used by kids as young as five and we have to cater to all ages]

Last edited by fullmoon (2010-11-08 08:24:34)


'The only problem with the world is that fools and fanatics are so certain of themselves, and the wise so full of doubt.'
http://dragcave.net/image/hutmJ.gifhttp://dragcave.net/image/5eYiP.gifhttp://dragcave.net/image/AqXnJ.gif

Offline

 

#6 2010-11-08 07:40:13

The_Dancing_Donut
Scratcher
Registered: 2010-08-03
Posts: 1000+

Re: I'm learning C++!

Albertt911 wrote:

The_Dancing_Donut wrote:

Albertt911 wrote:

That's to people i know that has learned/learnt C++  big_smile  :coo: :3

Typing fail. XD

[removed by moderator]! :L  lol

Actually, no i meant that, i put :coo: 'cus ... ima pigeon :3  big_smile

Lol!  wink  Of course.

Last edited by cheddargirl (2010-11-08 21:07:52)


Offending strangers since 2010.

Offline

 

#7 2010-11-08 07:51:48

helltank
Scratcher
Registered: 2010-05-21
Posts: 1000+

Re: I'm learning C++!

Can we get this back on topic?


Error:Signature could not load. Please wait for an indefinite amount of time, until you realize you're gullible and go off to look for another potentially interesting signature to stare at.

Offline

 

#8 2010-11-08 08:03:54

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: I'm learning C++!

I'm learning C++!

Offline

 

#9 2010-11-08 08:07:00

steppenwulf
Scratcher
Registered: 2009-07-23
Posts: 1000+

Re: I'm learning C++!

Albertt911 wrote:

The_Dancing_Donut wrote:

Albertt911 wrote:

That's to people i know that has learned/learnt C++  big_smile  :coo: :3

Typing fail. XD

[removed]! :L  lol

Actually, no i meant that, i put :coo: 'cus ... ima pigeon :3  big_smile

PROFANITY ALERT CALLING THE DEMOSMEISTER D:<


I'm graduating HS this April and going to college in the Fall.

Offline

 

#10 2010-11-08 12:22:44

FlexiStudio
Scratcher
Registered: 2010-02-28
Posts: 1000+

Re: I'm learning C++!

I started to read it up and learn a while bakc, maybe 5 months. Got the hand of it and got bored of Booleans making my head throb  lol


Hey I'm back!-
FlexiStudio

Offline

 

#11 2010-11-08 13:46:31

jackrulez
Scratcher
Registered: 2009-08-01
Posts: 1000+

Re: I'm learning C++!

I might learn it soon... Is the syntax similar to Python?


Yawn, another boring text signature. I should really make something better.

Offline

 

#12 2010-11-08 13:47:33

MasterOfDeception
Scratcher
Registered: 2009-12-29
Posts: 100+

Re: I'm learning C++!

I'm learning python, then probably C, C++, or Visual Basic.


"My Language Arts teacher beat Chuck Norris up." -12three

Offline

 

#13 2010-11-08 17:01:55

johndo77
Scratcher
Registered: 2010-07-30
Posts: 1000+

Re: I'm learning C++!

#include <iostream>
#using namespace std;

int main ()
{
     int C++funnessoutof10=10;
     cout << "I just had to be the nerd to do this." << endl;
}

Last edited by johndo77 (2010-11-08 17:02:20)


Crizapples

Offline

 

#14 2010-11-08 19:50:16

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: I'm learning C++!

ed source code:

Code:

#include <iostream>
#include <string>

void main()
{
    string t1;
    std::cin >> t1;
    std::cout << "?\n";
    main();
}

You wouldn't get the joke unless you typed ed and pressed enter in a command prompt in a Linux distribution that has the program (Arch Linux does).
ed is terrible.

Last edited by ThePCKid (2010-11-09 17:37:12)

Offline

 

#15 2010-11-08 19:54:02

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: I'm learning C++!

Not really. Python has pretty easy to understand syntax. C++ isn't bad, but it can be a bit more cryptic. I'm torn between learning Python, Java, and C++.


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://i.imgur.com/OZn2RD3.png&amp;link2=http://i.imgur.com/duzaGTB.png&amp;link3=http://i.imgur.com/CrDGvvZ.png&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#16 2010-11-08 20:07:13

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: I'm learning C++!

johndo77 wrote:

Code:

#include <iostream>
using namespace std;

void main() 
{
     int Cppfunnessoutof10=10;
     cout << "I just had to be the nerd to do this.\n";
}

Your code is now valid and a bit shorter  big_smile

Last edited by ThePCKid (2010-11-08 20:07:25)

Offline

 

#17 2010-11-08 21:09:39

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: I'm learning C++!

Harakou wrote:

Not really. Python has pretty easy to understand syntax. C++ isn't bad, but it can be a bit more cryptic. I'm torn between learning Python, Java, and C++.

I'd suggest learning Java or C++, as many industries are more likely to use one of those two as opposed to Python.  smile


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

#18 2010-11-08 21:15:35

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: I'm learning C++!

cheddargirl wrote:

Harakou wrote:

Not really. Python has pretty easy to understand syntax. C++ isn't bad, but it can be a bit more cryptic. I'm torn between learning Python, Java, and C++.

I'd suggest learning Java or C++, as many industries are more likely to use one of those two as opposed to Python.  smile

That's what I was thinking. There's plenty of tutorials out there; I just need to motivate myself and stop being so lazy.  tongue


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://i.imgur.com/OZn2RD3.png&amp;link2=http://i.imgur.com/duzaGTB.png&amp;link3=http://i.imgur.com/CrDGvvZ.png&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#19 2010-11-08 21:19:26

johndo77
Scratcher
Registered: 2010-07-30
Posts: 1000+

Re: I'm learning C++!

ThePCKid wrote:

johndo77 wrote:

Code:

#include <iostream>
using namespace std;

void main() 
{
     int Cppfunnessoutof10=10;
     cout << "I just had to be the nerd to do this.\n";
}

Your code is now valid and a bit shorter  big_smile

Actually, it doesn't work anymore.


Crizapples

Offline

 

#20 2010-11-08 21:46:25

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: I'm learning C++!

johndo77 wrote:

ThePCKid wrote:

johndo77 wrote:

Code:

#include <iostream>
using namespace std;

void main() 
{
     int Cppfunnessoutof10=10;
     cout << "I just had to be the nerd to do this.\n";
}

Your code is now valid and a bit shorter  big_smile

Actually, it doesn't work anymore.

The version I made works for me...

Last edited by ThePCKid (2010-11-08 21:46:41)

Offline

 

#21 2010-11-09 02:48:43

helltank
Scratcher
Registered: 2010-05-21
Posts: 1000+

Re: I'm learning C++!

FlexiStudio wrote:

I started to read it up and learn a while bakc, maybe 5 months. Got the hand of it and got bored of Booleans making my head throb  lol

I haven't got up to Booleans yet, but aren't they essentially variables which can only have a value of True or False?


Error:Signature could not load. Please wait for an indefinite amount of time, until you realize you're gullible and go off to look for another potentially interesting signature to stare at.

Offline

 

#22 2010-11-09 02:57:25

maail
Scratcher
Registered: 2009-04-02
Posts: 1000+

Re: I'm learning C++!

Cool, oddly day after tomorrow when I am in Thailand with my dad after 8 months I will be learning C++/C with him  big_smile


http://i.imgur.com/uH8sS.png

Offline

 

#23 2010-11-09 07:27:16

johndo77
Scratcher
Registered: 2010-07-30
Posts: 1000+

Re: I'm learning C++!

ThePCKid wrote:

johndo77 wrote:

ThePCKid wrote:


Your code is now valid and a bit shorter  big_smile

Actually, it doesn't work anymore.

The version I made works for me...

1. it's "int main" not "void main"
2. You didn't put endl
3. Other than that you fixed it.


Crizapples

Offline

 

#24 2010-11-09 10:36:15

MasterOfDeception
Scratcher
Registered: 2009-12-29
Posts: 100+

Re: I'm learning C++!

I am programming Deal or no Deal in python now. XD!


"My Language Arts teacher beat Chuck Norris up." -12three

Offline

 

#25 2010-11-09 11:57:35

PoDo
Scratcher
Registered: 2009-02-23
Posts: 500+

Re: I'm learning C++!

i doont know what you are talking about. watt is c++

[Unnecessary image removed by Moderator - please don't post unneeded images, it clutters up the discussion]

Last edited by Paddle2See (2010-11-09 13:55:31)


http://i1214.photobucket.com/albums/cc498/Rubber_Dawg/Stop%20SOPA%20and%20PIPA/SOPAPIPA2.jpg

Offline

 

Board footer