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

#1 2010-03-15 18:47:42

midnightleopard
Scratcher
Registered: 2007-09-13
Posts: 1000+

C++

I am considering learning C++ but here are my questions:

1. Can it be used to create an operating system?

2. Can it be used to create a game?

3. Can it be used to make an animation?

4. Which is better, C++ or C?

5. What other languages can be used to write OSes?

Thank you!


http://pwp.wizards.com/5103673563/Scorecards/Landscape.png

Offline

 

#2 2010-03-15 19:09:43

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

Re: C++

1. Yes, Windows is made in C++ and C
2. Yes
3. I think so
4. IDK, Microsoft's version of C++ is easy
5. C# is the only one I know

Offline

 

#3 2010-03-15 19:17:47

soupoftomato
Scratcher
Registered: 2009-07-18
Posts: 1000+

Re: C++

ThePCKid wrote:

1. Yes, Windows is made in C++ and C
2. Yes
3. I think so
4. IDK, Microsoft's version of C++ is easy
5. C# is the only one I know

I don't think he means actual OS . . .

Any program could make a fake one, more or less.


I'm glad to think that the community will always be kind and helpful, the language will always be a fun and easy way to be introduced into programming, the motto will always be: Imagine, Program, Share - Nomolos

Offline

 

#4 2010-03-15 19:21:00

BWOG
Scratcher
Registered: 2008-09-19
Posts: 1000+

Re: C++

soupoftomato wrote:

Any program could make a fake one, more or less.

So... Word can make an OS? Or Windows Media Player? Open Office?

Offline

 

#5 2010-03-15 19:40:24

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: C++

midnightleopard wrote:

I am considering learning C++ but here are my questions:

1. Can it be used to create an operating system?

2. Can it be used to create a game?

3. Can it be used to make an animation?

4. Which is better, C++ or C?

5. What other languages can be used to write OSes?

Thank you!

I think you are getting ahead of yourself. You probably won't be able to make a simple visual program within the first year of learning unless you go fast. C++ can be used for all of those things but it is not easy like scratch or actionscript. You will probably spend the first year making simple calculators or other programs that don't have a full GUI.

A1. Operating systems are made using several languages including c++,c and' assembly. This is probably one of the most difficult things you could try to make. Making a fake OS is much easier but you will still have to have about 1 year's experience before you can make this kind of visual program.

A2. Yes, but you have to get good first.

A3. I guess you are assuming that C/C++ is like scratch which is incorrect. The best you can do is make a tool to animate and then use it. Its not at all like flash or scratch.

A4. This is hard to say because they both have their purposes. For beginners, I would recommend c.

A5. For fake OS's any language is probably fine. It seems to be popular to make fake OSs with flash because of how easy it is to share .swf files.

If you want to get into it, here is a good place to start
http://www.reddit.com/r/carlhprogramming/comments/9o3km/lesson_1_some_thoughts_about_programming_language/


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#6 2010-03-16 04:53:33

fanofcena
Scratcher
Registered: 2008-07-03
Posts: 1000+

Re: C++

midnightleopard wrote:

I am considering learning C++ but here are my questions:

1. Can it be used to create an operating system?

2. Can it be used to create a game?

3. Can it be used to make an animation?

4. Which is better, C++ or C?

5. What other languages can be used to write OSes?

Thank you!

1. With C++ u can make Ur own OS bro but C++ is gazillion times tougher then Scratch
2. 70% games are written on C or C++
3. Yeah C++ can b used to to cr8 any thing
4. C++ is b8r for learning u can say c++ = C + 1
5. Other languages that could be used to write oses are JAVA,BASIC and the Mighty Assembly,
If u want to build a fake os then Actionscript (Flash) is the bst option other then scratch  smile

Last edited by fanofcena (2010-03-16 04:56:34)


http://i53.tinypic.com/2vxr2c0.png Click whats above u might make a cute planet happy ^_^

Offline

 

#7 2010-03-16 12:19:39

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: C++

Just my thoughts on the matter-
OS's are not the kind of quick-and-easy project that you make when you're learning c++. They take thousands of lines of code, huge coding libraries, and a great deal of time and motivation. When you're learning c++, the first few things you make should probably just be text-based and run in a console window. I'm not saying you CAN'T make an OS as a hobby, it IS possible to do so (early Linux is a great example), but again, it takes a LOT of time and motivation.

Last edited by nXIII (2010-03-16 12:20:29)


nXIII

Offline

 

#8 2010-03-16 13:43:49

Musicstar888
Scratcher
Registered: 2009-12-31
Posts: 1000+

Re: C++

Doesn't this belong in Advanced topics?


Goodbye, Misc. Until we meet again.
You're not alone.

Offline

 

#9 2010-03-16 13:45:45

Musicstar888
Scratcher
Registered: 2009-12-31
Posts: 1000+

Re: C++

Oh, yeah. I have no idea as to what C++ IS anyway, so I can't answer your questions.One thing I do know, though is, that C++ is probably better then C because it has 2 plusses at the end!  smile  Not very sure though.


Goodbye, Misc. Until we meet again.
You're not alone.

Offline

 

Board footer