nevarez
asked on
C++? I am at a loss, I need to learn!
I cannot believe how difficult it is to try and understand the concept of modern programming when the only background I have is some BASIC programming back in jr high.
Here are my questions:
what do i have to have to start writing C++? can i just write it in a notepad?
That might have sounded like a stupid question, but it seems that everything I find concerning C++ talks about how to do everything, but It doesn't say what you need to write the program, and how to save it as a program, etc...
also, I cannot find any books that start at the beginning. All the books I find are for more advanced programmers that already have a background in C or other languages. I basically have none.
I have become VERY frustrated and am willing to learn if someone is willing to explain the basics (how it works, what i need, where i should start).
If someone knows where i could find an online manual covering basic stuff, or if they have one themselves, i'd greatly appreciate it. The more information i can get, the better.
I just don't want to go to the store, spend 50 bucks on a book, and find out that it is over my head or has nothing to do with basic C or C++
Here are my questions:
what do i have to have to start writing C++? can i just write it in a notepad?
That might have sounded like a stupid question, but it seems that everything I find concerning C++ talks about how to do everything, but It doesn't say what you need to write the program, and how to save it as a program, etc...
also, I cannot find any books that start at the beginning. All the books I find are for more advanced programmers that already have a background in C or other languages. I basically have none.
I have become VERY frustrated and am willing to learn if someone is willing to explain the basics (how it works, what i need, where i should start).
If someone knows where i could find an online manual covering basic stuff, or if they have one themselves, i'd greatly appreciate it. The more information i can get, the better.
I just don't want to go to the store, spend 50 bucks on a book, and find out that it is over my head or has nothing to do with basic C or C++
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
>> what do i have to have to start writing C++?
some sort of text editor for writting the C++ source code and a C++ compiler and linker (and associated files) for converting the source code into a program
>> can i just write it in a notepad?
C++ source code is ordinary text. You can write it in any text editor. You can write it in notepad--but that is a pretty crummy text editor.
>> but it seems that everything I find concerning C++ talks
>> about how to do everything,
the first chapter of my book addresses this specifically. I can't post it here though. but if you wanted, I could e-mail you a copy. But you'd have to agree to destroy the copy after you are done with it.
>> I cannot find any books that start at the beginning
Mine starts at the VERY beginning. What is a program, what is a source code file, etc. but that is not in print.
I would recommend Dietal and Dietal's "C++ How to Program" Its very introductory.
>> someone is willing to explain the basics
Ask any questions here!
some sort of text editor for writting the C++ source code and a C++ compiler and linker (and associated files) for converting the source code into a program
>> can i just write it in a notepad?
C++ source code is ordinary text. You can write it in any text editor. You can write it in notepad--but that is a pretty crummy text editor.
>> but it seems that everything I find concerning C++ talks
>> about how to do everything,
the first chapter of my book addresses this specifically. I can't post it here though. but if you wanted, I could e-mail you a copy. But you'd have to agree to destroy the copy after you are done with it.
>> I cannot find any books that start at the beginning
Mine starts at the VERY beginning. What is a program, what is a source code file, etc. but that is not in print.
I would recommend Dietal and Dietal's "C++ How to Program" Its very introductory.
>> someone is willing to explain the basics
Ask any questions here!
www.cprogramming.com has several basic tutorials and if you do a search
on your web browser type C++ or C Plus Plus and do a search you will find
several thousand web sites that will tell you the basics of C++ and show
you examples. cprogrammng has a free compiler as well.
Here is a link for some free EBooks
http://www.mindview.net/
http://www.mindview.net/Books/Books/TICPP/ThinkingInCPP2e.html#TheElectronicBook
You need a C++ compiler two run your code and learn how the C++ enviroment
works.
Here is a basic program
#include<iostream>//Header file for C++ streams
using namdspace std;
int main() //Main function of the program
{
int variable = 0; //Variable is a integer type variable. It is initialized
//to zero.
cout<<"Hello World"<<endl; //endl is to skip a line. cout outputs
//the statement Hello World.
return 0;//returns 0 back to main which is nothing, it just ends the
//program.
}
The two forward slashes "//"in front of the comments are neccessary so
the compiler ignores what is after them.
Hope this helps.
on your web browser type C++ or C Plus Plus and do a search you will find
several thousand web sites that will tell you the basics of C++ and show
you examples. cprogrammng has a free compiler as well.
Here is a link for some free EBooks
http://www.mindview.net/
http://www.mindview.net/Books/Books/TICPP/ThinkingInCPP2e.html#TheElectronicBook
You need a C++ compiler two run your code and learn how the C++ enviroment
works.
Here is a basic program
#include<iostream>//Header
using namdspace std;
int main() //Main function of the program
{
int variable = 0; //Variable is a integer type variable. It is initialized
//to zero.
cout<<"Hello World"<<endl; //endl is to skip a line. cout outputs
//the statement Hello World.
return 0;//returns 0 back to main which is nothing, it just ends the
//program.
}
The two forward slashes "//"in front of the comments are neccessary so
the compiler ignores what is after them.
Hope this helps.
I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. Unless there is objection or further activity, I will suggest to accept "Axter, nietod" comment(s) as an answer.
If you think your question was not answered at all, you can post a request in Community support (please include this link) to refund your points.
The link to the Community Support area is: https://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
If you think your question was not answered at all, you can post a request in Community support (please include this link) to refund your points.
The link to the Community Support area is: https://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
Per recommendation comment force/accepted by
Netminder
Community Support Moderator
Experts Exchange
nietod: points for you at https://www.experts-exchange.com/jsp/qShow.jsp?ta=cplusprog&qid=20278061
Netminder
Community Support Moderator
Experts Exchange
nietod: points for you at https://www.experts-exchange.com/jsp/qShow.jsp?ta=cplusprog&qid=20278061
http://www.borland.com/bcppbuilder/freecompiler/