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

#26 2010-05-19 14:44:51

Sperry
Scratcher
Registered: 2010-03-09
Posts: 500+

Re: C++ Any tips/pointers?

cds56 wrote:

markyparky56 wrote:

YES!!!! It works!!!

And i've also found out how to add new files, so simple!
*does happy dance*

YAY!

now It'll be easy to share the files and build them because \

WE ALL CAN USE THE SAME IDE!

Not quite, I'm still using VS2008. I'll get code::blocks though I suppose.


http://img709.imageshack.us/img709/3252/gobanim2.gifhttp://ls.gd/bo

Offline

 

#27 2010-05-19 14:45:13

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: C++ Any tips/pointers?

cds56 wrote:

markyparky56 wrote:

YES!!!! It works!!!

And i've also found out how to add new files, so simple!
*does happy dance*

YAY!

now It'll be easy to share the files and build them because \

WE ALL CAN USE THE SAME IDE!

YEAH!!!! Shall we get to work or just keep working on the tutorials?


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#28 2010-05-19 14:46:54

Sperry
Scratcher
Registered: 2010-03-09
Posts: 500+

Re: C++ Any tips/pointers?

markyparky56 wrote:

cds56 wrote:

markyparky56 wrote:

YES!!!! It works!!!

And i've also found out how to add new files, so simple!
*does happy dance*

YAY!

now It'll be easy to share the files and build them because \

WE ALL CAN USE THE SAME IDE!

YEAH!!!! Shall we get to work or just keep working on the tutorials?

Get to work and learn as we go along. How about zat?


http://img709.imageshack.us/img709/3252/gobanim2.gifhttp://ls.gd/bo

Offline

 

#29 2010-05-19 14:57:22

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: C++ Any tips/pointers?

Sperry wrote:

markyparky56 wrote:

cds56 wrote:


YAY!

now It'll be easy to share the files and build them because \

WE ALL CAN USE THE SAME IDE!

YEAH!!!! Shall we get to work or just keep working on the tutorials?

Get to work and learn as we go along. How about zat?

Makes sense.
Ill post what we'll do on the other thread.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#30 2010-05-19 17:52:17

cds56
Scratcher
Registered: 2008-05-02
Posts: 500+

Re: C++ Any tips/pointers?

markyparky56 wrote:

Sperry wrote:

markyparky56 wrote:


YEAH!!!! Shall we get to work or just keep working on the tutorials?

Get to work and learn as we go along. How about zat?

Makes sense.
Ill post what we'll do on the other thread.

K!

I'm trudging happily through the tutorials.

and experimenting


http://img192.imageshack.us/img192/909/meowdevlogo.pnghttp://i32.tinypic.com/pucti.png

Offline

 

#31 2010-05-20 10:56:41

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: C++ Any tips/pointers?

Cool. Kinda confusing, but there helpful.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#32 2012-02-13 16:22:20

C0d3r
New Scratcher
Registered: 2012-02-13
Posts: 3

Re: C++ Any tips/pointers?

Well, I have many pointers, but here is only one:
ALWAYS put a semi-colon after the ending curly bracket when you are making a class!

Offline

 

#33 2012-02-14 09:15:47

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: C++ Any tips/pointers?

C0d3r wrote:

Well, I have many pointers, but here is only one:
ALWAYS put a semi-colon after the ending curly bracket when you are making a class!

I forget I even posted this thread. But yeah, I'll try to remember this.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#34 2012-02-14 10:44:35

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: C++ Any tips/pointers?

A few pointers, you say?


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#35 2012-02-15 06:32:48

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: C++ Any tips/pointers?

blob8108 wrote:

A few pointers, you say?

Har har. Need to learn how to use them though...


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#36 2012-02-15 10:21:25

Sperry
Scratcher
Registered: 2010-03-09
Posts: 500+

Re: C++ Any tips/pointers?

markyparky56 wrote:

blob8108 wrote:

A few pointers, you say?

Har har. Need to learn how to use them though...

They can be very useful! Maybe this will help?


http://img709.imageshack.us/img709/3252/gobanim2.gifhttp://ls.gd/bo

Offline

 

#37 2012-02-17 17:21:01

maxskywalker
Scratcher
Registered: 2008-01-27
Posts: 1000+

Re: C++ Any tips/pointers?

Wow old topic.  LOL ironic.  The NewDawn engine was the whole reason I learned C++ (not to be confused with my only use for it).

Offline

 

#38 2012-02-18 11:14:55

adityasm9
Scratcher
Registered: 2008-03-12
Posts: 100+

Re: C++ Any tips/pointers?

I did a bit of SDL using lazyfoo tuts with code::blocks a few months back . It was nice fun. I didn't read through the whole thread, so are you people doing a collab for a game or something?

Offline

 

#39 2012-02-18 11:25:35

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

Re: C++ Any tips/pointers?

markyparky56 wrote:

Yeah, im trying to learn C++, mainly so I can make a game engine, so far im only learning the basics but I will get better, of course.

Any websites or things I should know while learning? Any tutorials I should follow?

Join Stackoverflow.com and ask the same question there :-) , you will get really higher amount of answers and really helpful answers by industry settled programmers .. also if you run in a bug / hole they will help you out :-)


And tips with C++

   1. Use pen and paper for atleast 8 hours before deciding to write the code
   2. Start with simple steps
   3. Keep a track of pointers
   4. Use Classes and Inheritance / OOP as much as possible
   5. The less you write the better you code . But the program should furnish its aims.
   6. Be creative
   7. Open your mind .
   8. Take walks when you are frustrated if C++ is not working for thing A / B
   9. Debugger is your best friend but your brain and visualisation of C++ code and how it will work will act like a nice elder brother :-)

Hope they help  big_smile

Happy Coding  smile


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

Offline

 

#40 2012-02-19 17:31:57

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: C++ Any tips/pointers?

fanofcena wrote:

Join Stackoverflow.com and ask the same question there :-) , you will get really higher amount of answers and really helpful answers by industry settled programmers .. also if you run in a bug / hole they will help you out :-)

And tips with C++

   1. Use pen and paper for atleast 8 hours before deciding to write the code
   2. Start with simple steps
   3. Keep a track of pointers
   4. Use Classes and Inheritance / OOP as much as possible
   5. The less you write the better you code . But the program should furnish its aims.
   6. Be creative
   7. Open your mind .
   8. Take walks when you are frustrated if C++ is not working for thing A / B
   9. Debugger is your best friend but your brain and visualisation of C++ code and how it will work will act like a nice elder brother :-)

This is very good coding advice, particularly about Stack Overflow.

A whole 8 hours planning might be a little extreme, though  tongue


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#41 2012-02-20 02:30:38

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

Re: C++ Any tips/pointers?

blob8108 wrote:

fanofcena wrote:

Join Stackoverflow.com and ask the same question there :-) , you will get really higher amount of answers and really helpful answers by industry settled programmers .. also if you run in a bug / hole they will help you out :-)

And tips with C++

   1. Use pen and paper for atleast 8 hours before deciding to write the code
   2. Start with simple steps
   3. Keep a track of pointers
   4. Use Classes and Inheritance / OOP as much as possible
   5. The less you write the better you code . But the program should furnish its aims.
   6. Be creative
   7. Open your mind .
   8. Take walks when you are frustrated if C++ is not working for thing A / B
   9. Debugger is your best friend but your brain and visualisation of C++ code and how it will work will act like a nice elder brother :-)

This is very good coding advice, particularly about Stack Overflow.

A whole 8 hours planning might be a little extreme, though  tongue

Nope ... C++ is not scratch you can hardly ever generate the code on the fly when you are a beginner on C++ .. so its a good approach to think exhaustively how things are going to happen make your concepts clear and then start to codify your imagination in other case if yu dont know what you want to do in C++ you will just get confused and in lockholes


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

Offline

 

Board footer