Click here to Skip to main content
15,891,184 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralStupid newbies need help. Pin
cue_ball14-Aug-05 22:03
cue_ball14-Aug-05 22:03 
GeneralRe: Stupid newbies need help. Pin
HumanOsc14-Aug-05 23:15
HumanOsc14-Aug-05 23:15 
GeneralRe: Stupid newbies need help. Pin
u6ik15-Aug-05 0:03
u6ik15-Aug-05 0:03 
GeneralRe: Stupid newbies need help. Pin
HumanOsc15-Aug-05 0:10
HumanOsc15-Aug-05 0:10 
GeneralC++ and Python Questions... Pin
Raistlfiren14-Aug-05 18:46
Raistlfiren14-Aug-05 18:46 
GeneralRe: C++ and Python Questions... Pin
code-frog14-Aug-05 19:00
professionalcode-frog14-Aug-05 19:00 
GeneralRe: C++ and Python Questions... Pin
Raistlfiren14-Aug-05 19:16
Raistlfiren14-Aug-05 19:16 
GeneralRe: C++ and Python Questions... Pin
code-frog14-Aug-05 19:35
professionalcode-frog14-Aug-05 19:35 
If you are using Visual C++ go to C:\Program Files\Microsoft Visual Studio\ and somewhere in there is C++ directory and in there is an includes directory that has bajillions of include files. Don't mess with them at all but you can at least see them.

#include in the most simple form is just a way of telling the compiler that "IN ADDITION" to the code in these project files you are going to need to include these other files to run correctly. The includes themselves give you access to functions that are contained in the included libraries.

It sounds to me like you are in the *very* early stages of learning to cut code and I think taking on C++ is the BEST way to go. The confusion you describe is very common and happened to all of us at one point in time or another. Just remind yourself that they do call it Computer Science, it *is* an engineering discipline and many people go to school for 4+ years to learn it. You are taking it on all by yourself and it's going to be tough at first to figure out.

I won't bother you with the details but main() can be overloaded what this means is that one function name can have many arguments and the arguments determine which function gets called not the name itself. This is so far over your head right now though (and that's perfectly okay) that I wouldn't try to understand it. It's part of 3 main ideas though called Object Oriented. Those 3 ideas are Polymorphism, Inheritance and Encapsulation.

Let me see if someone here has written a decent article that can unwrap this nastiness for you. Gimme a few minutes and I'll see what I can find.

I cannot say this enough though. What you are feeling is totally normal for a lot of people. BEWILDERMENT is okay. Just don't give up. It might take several months but *SUDDENLY* you will get it and I'm not kidding. It will just flip one day in your head and you'll think SWEET!!! I finally get it. It takes time and it this is normal.

- Rex


My name is Maximus Decimus Meridius, commander of the Armies of the North, General of the Felix Legions, loyal servant to the true emperor, Marcus Aurelius. Father to a murdered son, husband to a murdered wife. And I will finish this project, in this life or the next. Slightly modified " from Gladiator.

Code-frog System Architects, Inc.

GeneralRe: C++ and Python Questions... Pin
Raistlfiren14-Aug-05 19:55
Raistlfiren14-Aug-05 19:55 
GeneralRe: C++ and Python Questions... Pin
code-frog14-Aug-05 21:26
professionalcode-frog14-Aug-05 21:26 
GeneralRe: C++ and Python Questions... Pin
Raistlfiren15-Aug-05 10:46
Raistlfiren15-Aug-05 10:46 
GeneralRe: C++ and Python Questions... Pin
code-frog14-Aug-05 19:52
professionalcode-frog14-Aug-05 19:52 
GeneralRe: C++ and Python Questions... Pin
S. Senthil Kumar14-Aug-05 19:12
S. Senthil Kumar14-Aug-05 19:12 
GeneralRe: C++ and Python Questions... Pin
Raistlfiren14-Aug-05 19:24
Raistlfiren14-Aug-05 19:24 
GeneralRe: C++ and Python Questions... Pin
Christian Graus14-Aug-05 19:35
protectorChristian Graus14-Aug-05 19:35 
GeneralRe: C++ and Python Questions... Pin
Christian Graus14-Aug-05 19:43
protectorChristian Graus14-Aug-05 19:43 
GeneralRe: C++ and Python Questions... Pin
Raistlfiren14-Aug-05 20:28
Raistlfiren14-Aug-05 20:28 
GeneralRe: C++ and Python Questions... Pin
Kevin McFarlane15-Aug-05 0:00
Kevin McFarlane15-Aug-05 0:00 
GeneralRe: C++ and Python Questions... Pin
markkuk15-Aug-05 1:52
markkuk15-Aug-05 1:52 
GeneralRe: C++ and Python Questions... Pin
Raistlfiren15-Aug-05 10:37
Raistlfiren15-Aug-05 10:37 
GeneralRe: C++ and Python Questions... Pin
Christian Graus15-Aug-05 13:12
protectorChristian Graus15-Aug-05 13:12 
GeneralRe: C++ and Python Questions... Pin
Raistlfiren15-Aug-05 16:11
Raistlfiren15-Aug-05 16:11 
GeneralRe: C++ and Python Questions... Pin
Christian Graus15-Aug-05 16:15
protectorChristian Graus15-Aug-05 16:15 
GeneralRe: C++ and Python Questions... Pin
vincent.reynolds15-Aug-05 7:03
vincent.reynolds15-Aug-05 7:03 
GeneralRe: C++ and Python Questions... Pin
Raistlfiren15-Aug-05 10:42
Raistlfiren15-Aug-05 10:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.