| View previous topic :: View next topic |
| Author |
Message |
dEEznutz Grandmaster Cheater
Reputation: 0
Joined: 29 Nov 2007 Posts: 514
|
Posted: Fri Sep 19, 2008 8:49 pm Post subject: Motivation |
|
|
I'm trying to learn C++ right now and I think I'm losing motivation to learn. When I look up tutorials there's always something that just makes me angry because it seems too complicated. Also, when I just try to run the sources it just gives me some kind of error. For example, today it gave me a error saying it cannot find the selected file, while all I was trying to do was debug the source and I know for sure that I saved it. So how did you guys get motivated to the current level you're at? I hope I can even get to intermediate at C++.
_________________
Learning C++ |
|
| Back to top |
|
 |
Frostbyt3 Master Cheater
Reputation: 0
Joined: 07 Jan 2008 Posts: 323 Location: Australia
|
Posted: Fri Sep 19, 2008 8:52 pm Post subject: |
|
|
Remember, you can make games. That is all that got me through,
remembering one day I can make games. Infact, I started
when I was barely intermediate at C++, jumped onto the c#
bandwagon, and found XNA.
|
|
| Back to top |
|
 |
dEEznutz Grandmaster Cheater
Reputation: 0
Joined: 29 Nov 2007 Posts: 514
|
Posted: Fri Sep 19, 2008 8:54 pm Post subject: |
|
|
| Frostbyt3 wrote: | Remember, you can make games. That is all that got me through,
remembering one day I can make games. Infact, I started
when I was barely intermediate at C++, jumped onto the c#
bandwagon, and found XNA. |
Yeah but, everything I try to learn just seems so complicated and I keep putting myself down.
_________________
Learning C++ |
|
| Back to top |
|
 |
Frostbyt3 Master Cheater
Reputation: 0
Joined: 07 Jan 2008 Posts: 323 Location: Australia
|
Posted: Fri Sep 19, 2008 8:57 pm Post subject: |
|
|
Did you learn any languages before that?
I started with VB, so I could grasp c++, and then I just kept going. Never stop.
If you are intimidated, take a break. Do one thing everyday, or just go
back to your old programs, and make it better. You don't need to go
to stuff you don't know to learn.
I myself am still rediscovering stuff in VB and c#.
|
|
| Back to top |
|
 |
dEEznutz Grandmaster Cheater
Reputation: 0
Joined: 29 Nov 2007 Posts: 514
|
Posted: Fri Sep 19, 2008 8:58 pm Post subject: |
|
|
| Frostbyt3 wrote: | Did you learn any languages before that?
I started with VB, so I could grasp c++, and then I just kept going. Never stop.
If you are intimidated, take a break. Do one thing everyday, or just go
back to your old programs, and make it better. You don't need to go
to stuff you don't know to learn.
I myself am still rediscovering stuff in VB and c#. |
Yeah a little bit of Delphi, seemed easier but can't really make an accurate comparison when I barely know C++. Oh yeah, gave up on Delphi too.
_________________
Learning C++ |
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Fri Sep 19, 2008 9:07 pm Post subject: |
|
|
Well, tell us what you're trying to do and post the source.
When in doubt, ask for help.
|
|
| Back to top |
|
 |
sloppy Expert Cheater
Reputation: 0
Joined: 17 Aug 2008 Posts: 123
|
Posted: Sat Sep 20, 2008 4:09 am Post subject: |
|
|
Don't force yourself to learn, just do what you want to do and you will stay motivated. Pick a language and stick with it, start with what you know then google the rest.
One of my first programs was an alias finder for a punkbuster game, I got frustrated and even dropped it for a few weeks on occasions, but I kept coming back and improving it because this was something of use to me.
As slovach said, if you need any help just ask.
|
|
| Back to top |
|
 |
dEEznutz Grandmaster Cheater
Reputation: 0
Joined: 29 Nov 2007 Posts: 514
|
Posted: Sat Sep 20, 2008 10:42 am Post subject: |
|
|
| sloppy wrote: | Don't force yourself to learn, just do what you want to do and you will stay motivated. Pick a language and stick with it, start with what you know then google the rest.
One of my first programs was an alias finder for a punkbuster game, I got frustrated and even dropped it for a few weeks on occasions, but I kept coming back and improving it because this was something of use to me.
As slovach said, if you need any help just ask. |
Thanks for the support. These posts are really contributing. This is probably the stupidest question ever but how can you guys memorize everything you learn? I mean like when you're creating a program, any program, how do you know what you're supposed to write? Sorry for the stupid question, laugh if you like.
Edit - I'm trying to run this basic hello world program but I'm getting an error and on the tutorial it does not state how to solve it. Here's the link for the website http://cplus.about.com/od/learning1/ss/clessonone.htm, and here's the source.
| Code: |
// Beginning.cpp : Defines the entry point for the console application.
//
#include <iostream>
#include "stdafx.h"
using namespace std;
int main (void)
{
cout << "Hello World";
return 0;
}
|
I'm just following the tutorial and this happens. Also, it's a Win32 application, but you guys can probably figure that out.
The errors "error C2871: 'std' : a namespace with this name does not exist," and "error C2065: 'cout' : undeclared identifier."
_________________
Learning C++ |
|
| Back to top |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Sat Sep 20, 2008 12:08 pm Post subject: |
|
|
Either try putting the "stdafx.h" line before the <iostream> line, or download the C++ redistributable package from Microsoft.
_________________
|
|
| Back to top |
|
 |
dEEznutz Grandmaster Cheater
Reputation: 0
Joined: 29 Nov 2007 Posts: 514
|
Posted: Sat Sep 20, 2008 5:30 pm Post subject: |
|
|
| samuri25404 wrote: | | Either try putting the "stdafx.h" line before the <iostream> line, or download the C++ redistributable package from Microsoft. |
Sweet, putting "stdafx.h" before iostream worked. Thanks!
_________________
Learning C++ |
|
| Back to top |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Sun Sep 21, 2008 5:25 am Post subject: |
|
|
| dEEznutz wrote: | | samuri25404 wrote: | | Either try putting the "stdafx.h" line before the <iostream> line, or download the C++ redistributable package from Microsoft. |
Sweet, putting "stdafx.h" before iostream worked. Thanks! |
Turn off pre-compiled headers in options. They are thoroughly useless.
|
|
| Back to top |
|
 |
|