Computing.Net > Forums > Programming > C++ Reading

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

C++ Reading

Reply to Message Icon

Name: gimmpy224
Date: September 23, 2004 at 20:05:28 Pacific
OS: windows XP pro
CPU/Ram: athlon XP 512 mb
Comment:

Hey, Ive read a few C++ books, but ive stoped reading many of them because i dont understand what i first start reading.
Like in the first chapter im way in the dark....

Should I continue on in the book because its suppose to do that to me?
Or should i go back and restudy my C++ and try to figure out where i need to go from my current posistion?

GIMPS



Sponsored Link
Ads by Google

Response Number 1
Name: Dr. Nick
Date: September 24, 2004 at 01:12:54 Pacific
Reply:

I'd suggest that if a the beginning of a beginner's C++ book is putting you in the dark perhaps you aren't suited to programming (some people just aren't).

Out of curiosity, could you give an example of something that don't understand? Maybe we can help you.


0

Response Number 2
Name: Tugg
Date: September 24, 2004 at 04:15:54 Pacific
Reply:

Another reason might be that you just need some time to work yourself into the API

When i first started about 3 years ago I had a similar problem. I understood the books well enough but when it came to coding something myself, my mind always blanked out and i came up with the weirdest code that would never work because i couldnt piece the basic coding elements together.

I'd suggest coding lots and lots of simple programs like asking a person to enter their name and age and than display it on the screen. Than make it a little more complex for instance using an array and input buffers etc.

It helps to lay a good foundation and understanding for any programming language

Just my two cents :)

~Tugg~


0

Response Number 3
Name: Infinite Recursion
Date: September 24, 2004 at 06:12:12 Pacific
Reply:

In my opinion, just because the book is difficult does mean you can't learn how to code. If the book is too difficult to follow, grab another one. If you run into problems... you can always ask us here.


0

Response Number 4
Name: BlueRaja
Date: September 24, 2004 at 15:31:52 Pacific
Reply:

A lot of books spend up to half the book describing how to use the compiler (specifically, the VC++ books) - you can skim these, just be sure that, at first, you know how to create a new file and compile it.

Otherwise, if you have any specific questions, there's no better place to ask ^_^

AKhalifman@hotmail.com


0

Response Number 5
Name: gimmpy224
Date: September 24, 2004 at 16:09:46 Pacific
Reply:

Well right now im reading Programming Windows with MFC 2nd Addition, and the first chapter i understand to an extent, like how the basic window is setup and stuff, but itll describe some things like, do i need to start memorizing all this mfc stuff like


#include <afxwin.h>
#include "Hello.h"

CMyApp myApp;

/////////////////////////////////////////////////////////////////////////
// CMyApp member functions

BOOL CMyApp::InitInstance ()
{
m_pMainWnd = new CMainWindow;

m_pMainWnd->ShowWindow (m_nCmdShow);
m_pMainWnd->UpdateWindow ();
return TRUE;
}

/////////////////////////////////////////////////////////////////////////
// CMainWindow message map and member functions

BEGIN_MESSAGE_MAP (CMainWindow, CFrameWnd)
ON_WM_PAINT ()
END_MESSAGE_MAP ()

CMainWindow::CMainWindow ()
{
Create (NULL, _T ("The Hello Application"));
}

void CMainWindow::OnPaint ()
{
CPaintDC dc (this);

CRect rect;
GetClientRect (&rect);

dc.DrawText (_T ("Hello, MFC"), -1, &rect,
DT_SINGLELINE ¦ DT_CENTER ¦ DT_VCENTER);
}


at the very beggining and figure out what ever little bit of it means?

Because when i read my primer it took me through every little aspect of what i was coding and every character i typed had some sort of job to do and it was thuroughly explained....

Am i getting into way more than i can handle?
If so im just gonna stop trying to learn programming all together.

GIMPS


0

Related Posts

See More



Response Number 6
Name: BlueRaja
Date: September 24, 2004 at 22:46:21 Pacific
Reply:

It's good to know what everything does, and how it works, so that you can later look at the code and change it (or understand others' code). However, you shouldn't have to memorize the exact format for everything - things like flag names and function variables are can be set from the MFC wizard. However, if you want to start some *real* programming (as I've mentioned before, I'm not one for MFC..), you should look into just hardcore Windows API programming (the programs are usually less complex, although it usually requires more work on your part).

AKhalifman@hotmail.com


0

Response Number 7
Name: gimmpy224
Date: September 25, 2004 at 12:07:20 Pacific
Reply:

Yea i was looking for something that i could create my own windows from scratch and all that good stuff so i could know how everything works inside and out.
I guess MFC isnt the thing im looking for huh?

GIMPS


0

Response Number 8
Name: BlueRaja
Date: September 25, 2004 at 12:49:17 Pacific
Reply:

Didn't you say you had "Tips and Tricks of the Windows Game Programming Gurus"?
That gives a good introduction of Windows API.

AKhalifman@hotmail.com


0

Response Number 9
Name: Infinite Recursion
Date: September 26, 2004 at 20:21:29 Pacific
Reply:

"If so, im just gonna stop trying to learn programming all together"

Never give up. The field, the languages change all the time... be flexible, willing to learn and roll with the flow. Anyone can code, if they have the dedication and motivation that it takes.


0

Sponsored Link
Ads by Google
Reply to Message Icon

speed searching in local ... How do I work on outlook ...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: C++ Reading

C++: reading space delimited data www.computing.net/answers/programming/c-reading-space-delimited-data/8586.html

C : read/write bit by bit a binary www.computing.net/answers/programming/c-readwrite-bit-by-bit-a-binary/10592.html

INI Files in C. Read and Write www.computing.net/answers/programming/ini-files-in-c-read-and-write/19339.html