473,320 Members | 1,921 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Projects With Explanations

I was wondering if anyone is aware of any websites or books that cover
the stated goals and display the completed code for various programs,
and also includes in detail the explanations for what each and every
character and line does.(I'm most interested in Assembly and C++).

Thanks a lot.

Darren Harris
Staten Island, New York.

Jul 23 '05 #1
3 1309

<Se*******@mail.con2.com> wrote in message
news:11*********************@g43g2000cwa.googlegro ups.com...
I was wondering if anyone is aware of any websites or books that cover
the stated goals and display the completed code for various programs,
and also includes in detail the explanations for what each and every
character and line does.(I'm most interested in Assembly and C++).

Thanks a lot.

Darren Harris
Staten Island, New York.


Search Google for C++ and ASM tutorials like:
http://cplus.about.com/od/beginnerct.../aa020502a.htm

Reading a book is an absolute must:
Accelerated C++ by Koenig and Moo
ISBN 0-201-70353-X

Jul 23 '05 #2
I think, Deitel C++ How to program will serve you well.

Annajiat

Jul 23 '05 #3
> From: Se*******@mail.con2.com
I was wondering if anyone is aware of any websites or books that
cover the stated goals and display the completed code for various
programs, and also includes in detail the explanations for what each
and every character and line does.(I'm most interested in Assembly
and C++).


That's an awful lot of pre-computed and stored verbage for any medium
sized program, bloating it by an order of magnitude. Wouldn't you
prefer something dynamic, where you give the emulator *any* program
source, and you tell it which lines of code you don't understand, and
it generates for you for those particular lines the verbose explanation
but doesn't bother generating all that verbage for the lines you
already understand just fine without its help? For example, you specify
this line of code:
y = x + 1;
and it tells you:
Evaluate x: x is a variable, whose most recent assigned value was 5.
Evaluate 1: 1 is a literal constant, whose value is itself, i.e. 1.
Apply + to values 5 and 1, result is 6.
Assign that value, i.e. 6, to the variable y.
addh r2,(r3)++
Current value in register r3 is 0A793C88, which is used as halfword address.
Location 0A793C88 halfword contains 7FF5, which is data used.
Register r2 contains 00358A22.
Halfword 7FF5 is expanded to full word 00007FF5 and added to 00358A22,
yielding result 00360A17.
00360A17 is stored into register r2.
Register r3 is incremented by halfword i.e. 2, yielding 0A793C8A.
(Sorry, I don't know x86 asm, so I made up a pseudo-PDP-11 example.)

Jul 27 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Brett C. | last post by:
For my thesis (once the bloody thing stops throwing bugs at me) I am going to need to collect stats on the frequency that atomic types in local variables are applied to various opcodes and methods....
1
by: Adriaan Renting | last post by:
I think the point you want to make is that Python needs vastly less lines of code as a similar application written in C++. I think Python might on average be 50-60% of comparable C++ code, but not...
14
by: Zac Hester | last post by:
I figured since a lot of us around here design sites for "customers" a lot, I'd ask a general question that might help a lot of us in the future. When dealing with clients asking for...
5
by: Tinius | last post by:
I have created a class which I wish to reuse amongst several projects. But each time I Add the class to a new project, it creates a copy of that class in the folder of the new project. This means...
16
by: Robert W. | last post by:
I'm building a solution that has 1 component for the Desktop and 1 component for the Pocket PC. (Though this isn't a mobile question). I have a data library that will be shared on both platforms....
0
by: AC [MVP MCMS] | last post by:
I have a full blown VS.NET 2003 solution with a handful of library assemblies, two web projects, and a few web service projects. The entire solution is in VSS. Recently our build server went...
5
by: xian_hong2046 | last post by:
Hi, Is there any book that one can improve C++ skills by doing some exercises or small-to-medium scaled projects? The prefered books should also have solutions and some explanations. Thanks...
4
by: Daniele Baroncelli | last post by:
I wrote a post few days ago, but I didn't get replies. I am looking for a PHP open source application to compose and send newsletters. Can anyone suggest me one? Daniele
3
by: Glenn | last post by:
My current classic-ASP site has users, projects, roles and the 2.0 membership looks like a perfect fit, but I'm having trouble finding examples of how to have users that belong to different...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.