Jump to content

Recommended Posts

Posted
i've been learning C++ in my spare time, but i've been thinking about learning C#. i've just now begun to learn OOP and later plan to learn windows programming. also i dabbled in assembly, but found out all i would do with it is reverse engineer something.. any thoughts or comments are welcome
  • Replies 23
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted
i've been learning C++ in my spare time, but i've been thinking about learning C#. i've just now begun to learn OOP and later plan to learn windows programming. also i dabbled in assembly, but found out all i would do with it is reverse engineer something.. any thoughts or comments are welcome
Posted
i've been learning C++ in my spare time, but i've been thinking about learning C#. i've just now begun to learn OOP and later plan to learn windows programming. also i dabbled in assembly, but found out all i would do with it is reverse engineer something.. any thoughts or comments are welcome
Guest Wolfeymole
Posted

I've no doubt Mike (Owner and Administrator) will offer his thoughts on this shortly Kype.

 

Stick around mate.

Guest Wolfeymole
Posted

I've no doubt Mike (Owner and Administrator) will offer his thoughts on this shortly Kype.

 

Stick around mate.

Guest Wolfeymole
Posted

I've no doubt Mike (Owner and Administrator) will offer his thoughts on this shortly Kype.

 

Stick around mate.

Posted

Hi Kypeswith,

 

Interesting topic you bring up...

 

I am no expert in C++ or C#, my forte is in Web Developing. Having said that, I have learnt a bit of Assembly and C++.

 

I'll start with Assembly, the lowest level of programming we can get - unless you want to program in 1's & 0's! :) - Knowing such a language is extremely useful for reverse engineering as you said. But also, it is taught in a lot of Universities because it helps Students understand how the CPU actually works with its registers, caches, memory location etc.

 

Your C++ and C# code in turn is compiled into Assembly language anyway, so "but found out all i would do with it is reverse engineer something" is simply not true :P

 

I have some good resources from my Uni on Assembly Language, but unfortunately i can not distribute them. Have a look at this website though, it appears to be pretty good.

 

Art of Assembly Language Programming and HLA by Randall Hyde

 

Secondly, C++ vs C#... There is much debate on which is better. I think it comes down to what you actually want to accomplish. C# was developed by Microsoft and has its roots based on C++ and Java. It is a OOP language and is part of the .Net framework so it would be a good choice to learn as your wanting to develop Windows Applications and it is easy to design interfaces due to the UI packages available in the .Net platform.

 

I’d suggest to learn the basics of C# and its syntax and then learn and understand OOP concepts and apply this to C#.

 

Hope this helps,

Mike

Need computer support? Then why not join Free PC Help. Register here

 

We are all members helping other members.

Please return here where you may be able to help someone else.

After all, no one knows everything and you may have the answer that someone needs.

Posted

Hi Kypeswith,

 

Interesting topic you bring up...

 

I am no expert in C++ or C#, my forte is in Web Developing. Having said that, I have learnt a bit of Assembly and C++.

 

I'll start with Assembly, the lowest level of programming we can get - unless you want to program in 1's & 0's! :) - Knowing such a language is extremely useful for reverse engineering as you said. But also, it is taught in a lot of Universities because it helps Students understand how the CPU actually works with its registers, caches, memory location etc.

 

Your C++ and C# code in turn is compiled into Assembly language anyway, so "but found out all i would do with it is reverse engineer something" is simply not true :P

 

I have some good resources from my Uni on Assembly Language, but unfortunately i can not distribute them. Have a look at this website though, it appears to be pretty good.

 

Art of Assembly Language Programming and HLA by Randall Hyde

 

Secondly, C++ vs C#... There is much debate on which is better. I think it comes down to what you actually want to accomplish. C# was developed by Microsoft and has its roots based on C++ and Java. It is a OOP language and is part of the .Net framework so it would be a good choice to learn as your wanting to develop Windows Applications and it is easy to design interfaces due to the UI packages available in the .Net platform.

 

I’d suggest to learn the basics of C# and its syntax and then learn and understand OOP concepts and apply this to C#.

 

Hope this helps,

Mike

Need computer support? Then why not join Free PC Help. Register here

 

We are all members helping other members.

Please return here where you may be able to help someone else.

After all, no one knows everything and you may have the answer that someone needs.

Posted

Hi Kypeswith,

 

Interesting topic you bring up...

 

I am no expert in C++ or C#, my forte is in Web Developing. Having said that, I have learnt a bit of Assembly and C++.

 

I'll start with Assembly, the lowest level of programming we can get - unless you want to program in 1's & 0's! :) - Knowing such a language is extremely useful for reverse engineering as you said. But also, it is taught in a lot of Universities because it helps Students understand how the CPU actually works with its registers, caches, memory location etc.

 

Your C++ and C# code in turn is compiled into Assembly language anyway, so "but found out all i would do with it is reverse engineer something" is simply not true :P

 

I have some good resources from my Uni on Assembly Language, but unfortunately i can not distribute them. Have a look at this website though, it appears to be pretty good.

 

Art of Assembly Language Programming and HLA by Randall Hyde

 

Secondly, C++ vs C#... There is much debate on which is better. I think it comes down to what you actually want to accomplish. C# was developed by Microsoft and has its roots based on C++ and Java. It is a OOP language and is part of the .Net framework so it would be a good choice to learn as your wanting to develop Windows Applications and it is easy to design interfaces due to the UI packages available in the .Net platform.

 

I’d suggest to learn the basics of C# and its syntax and then learn and understand OOP concepts and apply this to C#.

 

Hope this helps,

Mike

Need computer support? Then why not join Free PC Help. Register here

 

We are all members helping other members.

Please return here where you may be able to help someone else.

After all, no one knows everything and you may have the answer that someone needs.

Posted

Hi Kypeswith,

 

I would not think that Assembly could damage hardware. However it is very 'sensitive' language.

 

There are no rules / validation, it is up to you to ensure that your Data and Instructions do not combine. Also, it is very easy to merge two or more variables together by accident.

 

As such it is possible to access / change data that is not part of your program, thus crashing other programs.

 

If you use a Simulator to test your code, this should not be a problem as it should tell you. However, if you do not it will be very hard to debug your code and could cause problems for other programs.

Need computer support? Then why not join Free PC Help. Register here

 

We are all members helping other members.

Please return here where you may be able to help someone else.

After all, no one knows everything and you may have the answer that someone needs.

Posted

Hi Kypeswith,

 

I would not think that Assembly could damage hardware. However it is very 'sensitive' language.

 

There are no rules / validation, it is up to you to ensure that your Data and Instructions do not combine. Also, it is very easy to merge two or more variables together by accident.

 

As such it is possible to access / change data that is not part of your program, thus crashing other programs.

 

If you use a Simulator to test your code, this should not be a problem as it should tell you. However, if you do not it will be very hard to debug your code and could cause problems for other programs.

Need computer support? Then why not join Free PC Help. Register here

 

We are all members helping other members.

Please return here where you may be able to help someone else.

After all, no one knows everything and you may have the answer that someone needs.

Posted

Hi Kypeswith,

 

I would not think that Assembly could damage hardware. However it is very 'sensitive' language.

 

There are no rules / validation, it is up to you to ensure that your Data and Instructions do not combine. Also, it is very easy to merge two or more variables together by accident.

 

As such it is possible to access / change data that is not part of your program, thus crashing other programs.

 

If you use a Simulator to test your code, this should not be a problem as it should tell you. However, if you do not it will be very hard to debug your code and could cause problems for other programs.

Need computer support? Then why not join Free PC Help. Register here

 

We are all members helping other members.

Please return here where you may be able to help someone else.

After all, no one knows everything and you may have the answer that someone needs.

Posted
hey that website on assembly is great! any idea why my hello world program is 5kilobytes compared to 39kilobytes (39 in C++ and 5 in assembly)

 

My guess would be that because Assembly is a lower level programming language than C++, it will use up less space, as programs made in C++ must first be converted into "Machine code" which takes more steps to do to a C++ code than it does for Assembly :P

 

That is why an OS takes up so little room but is able to do so much when coded in Assembly.

Cooler Master HAF 932

Intel Core 2 Quad Q6600 @ 3.3GHz

Asus P5K Premium Black Pearl

2GB OCZ reaper 1066MHZ

ATI Radeon HD4850

Pictures!

 

Click Here To Register And Get Started In The World Of Free PC Help Forums!

 

If Free PC Help Has Helped You, Please Consider Leaving A Donation By Clicking Here!

We are all members helping other members.

Please return here where you may be able to help someone else.

After all, no one knows everything and you may have the answer that someone needs.

Posted
hey that website on assembly is great! any idea why my hello world program is 5kilobytes compared to 39kilobytes (39 in C++ and 5 in assembly)

 

My guess would be that because Assembly is a lower level programming language than C++, it will use up less space, as programs made in C++ must first be converted into "Machine code" which takes more steps to do to a C++ code than it does for Assembly :P

 

That is why an OS takes up so little room but is able to do so much when coded in Assembly.

Cooler Master HAF 932

Intel Core 2 Quad Q6600 @ 3.3GHz

Asus P5K Premium Black Pearl

2GB OCZ reaper 1066MHZ

ATI Radeon HD4850

Pictures!

 

Click Here To Register And Get Started In The World Of Free PC Help Forums!

 

If Free PC Help Has Helped You, Please Consider Leaving A Donation By Clicking Here!

We are all members helping other members.

Please return here where you may be able to help someone else.

After all, no one knows everything and you may have the answer that someone needs.

Posted
hey that website on assembly is great! any idea why my hello world program is 5kilobytes compared to 39kilobytes (39 in C++ and 5 in assembly)

 

My guess would be that because Assembly is a lower level programming language than C++, it will use up less space, as programs made in C++ must first be converted into "Machine code" which takes more steps to do to a C++ code than it does for Assembly :P

 

That is why an OS takes up so little room but is able to do so much when coded in Assembly.

Cooler Master HAF 932

Intel Core 2 Quad Q6600 @ 3.3GHz

Asus P5K Premium Black Pearl

2GB OCZ reaper 1066MHZ

ATI Radeon HD4850

Pictures!

 

Click Here To Register And Get Started In The World Of Free PC Help Forums!

 

If Free PC Help Has Helped You, Please Consider Leaving A Donation By Clicking Here!

We are all members helping other members.

Please return here where you may be able to help someone else.

After all, no one knows everything and you may have the answer that someone needs.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...