LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-14-2004, 02:15 PM   #16
webwolf70
Member
 
Registered: Feb 2004
Distribution: Windows XP. I gave up with Linux & I left LQ.
Posts: 502

Original Poster
Rep: Reputation: 30

Quote:
Originally posted by linux_ub
just after your include all the needed files if u say
Code:
using namespace std;
u will not need to type std::cout every time

am not sure though
Yep. It worked. Thanks.


Webwolf
 
Old 09-15-2004, 10:52 AM   #17
gamehack
Member
 
Registered: Jun 2003
Location: Sevenoaks, UK
Distribution: Ubuntu
Posts: 183

Rep: Reputation: 30
Hey

I want to say that 2 years ago I tried to learn C++. I bought many books - Thinking in C++, Practical C++ and so on but neither taught me the real tricky things you have to know if you want to read and understand the things in the open-source world(because programmers are pretty good and are using all the tricky things) you have to own only one book - C++ Primer Plus Believe me, it's the best book on C++ and it tells you all these little things that matter. Without them you'll be stuck at reading and understanding some projects code. So, my advice is - if you can afford it, buy it. If not, than wait a while and save some money. Buy it then. This book is a MUST-HAVE for everyone who wants to be a C++ programmer - no matter beginner or advanced.

Cheers,
gamehack
 
Old 09-15-2004, 03:03 PM   #18
Chrax
Member
 
Registered: Apr 2004
Distribution: Dapper
Posts: 167

Rep: Reputation: 31
Try the glibc manual.

http://www.gnu.org/software/libc/manual/

Also,
#include <stdlib.h>
#include <stdio.h>

works fine for me, and I've never had to do std::cout

Last edited by Chrax; 09-15-2004 at 03:05 PM.
 
Old 09-15-2004, 03:23 PM   #19
f0ul_Oli
LQ Newbie
 
Registered: Sep 2004
Location: Cheshire, UK
Distribution: Mandrake
Posts: 17

Rep: Reputation: 0
I have been trying to learn both C and C++ for ages and to tell the truth, it doesn't matter which you choose, its the practice that counts.

Why do you want to learn them? Answer that, and the right language will become apparent.

C++ is very fashionable, but its based on C, so, if you understand the theory of programming, changing from one to another isn't too difficult.

Hope this helps a little.

Oli
 
Old 09-18-2004, 04:39 PM   #20
webwolf70
Member
 
Registered: Feb 2004
Distribution: Windows XP. I gave up with Linux & I left LQ.
Posts: 502

Original Poster
Rep: Reputation: 30
I sat here thinking about it and came up with the answer. I guess for me it is not wanting to find a job in this area, though making millions would be great lol. I just love computers. I also love puzzles(logic, etc,) and challanges like this just for the fun of it. I want to write my own programs instead of just relying on what others do. I guess being a Linux user now I am starting to like the do it yourself part a little more. And again, it is fun. I am still trying out really small programs. But I like it. The little bits and pieces I am getting from everyone is helping a lot. When I get to that part in my studies, I already know it and what it does. So I can focus on other areas. I will do this, no matter how long it takes. Why? Becuase it is fun, or did I say that already, lol.

Webwolf

Last edited by webwolf70; 09-18-2004 at 10:22 PM.
 
Old 09-18-2004, 06:04 PM   #21
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Two sites:

http://www.cprogramming.com/
http://www.cplusplus.com/

Books I read:

Sams Teach yourself C++ in 3 Weeks (good intro)
Thinking in C++
 
Old 09-18-2004, 10:37 PM   #22
webwolf70
Member
 
Registered: Feb 2004
Distribution: Windows XP. I gave up with Linux & I left LQ.
Posts: 502

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Megaman X
Two sites:

http://www.cprogramming.com/
http://www.cplusplus.com/

Books I read:

Sams Teach yourself C++ in 3 Weeks (good intro)
Thinking in C++


Thanks. These are excellent sites. I have backed up my bookmarks in a couple of different places plus I am keeping this thread written down(Yes on the old fashioned tree killing paper and a pen .) Just in case my computer crashes, though I don't see that happening with Linux like it did with MS. I have recieved some excellent website, book and e-book recommendations here. These plus this forum should help me considerably.



Webwolf

Last edited by webwolf70; 09-18-2004 at 10:38 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration