Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > C++ Programming
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
C++ Programming General discussions for the C++ language. For questions specific to Microsoft's Visual C++ variant, see the Visual C++ forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C++ Programming section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 15th, 2006, 06:46 AM
Authorized User
 
Join Date: Oct 2006
Location: , , .
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default software of c++ programming language

hi im new to c++
i want to learn about it but i dont have any software in c++...
 is anyone can help me:):)

.::jhanny::.




Reply With Quote
  #2 (permalink)  
Old December 15th, 2006, 08:56 AM
Friend of Wrox
 
Join Date: Jan 2006
Location: Fort Wayne, Indiana, USA.
Posts: 103
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Geo121
Default

hello

In order to program in C++ you do not need any software but there are some recomended features

First I will give you a link to the best C++ guide I have found for beginners

http://newdata.box.sk/bx/c/index.htm

This is an E-Book of Teach Yourself C++ in 21 days

each chapter is seperated into a day in which a beginner can work one day at a time easily

This book is extremely good about telling you principles and programming practices in C++

now this book only teaches primitive coding so once you are finished with this book

let me know so you can start programming windowed apps and graphic apps

but lets not get too far ahead of ourselves

considering you are a beginner I would say you should use the Borland compiler and type code in notepad

just google it and something should pop up

If you have problems figuring out how to use it just ask

Once you have become aquanted with the compiler you can start using an IDE

I would suggest Bloodshed's Dev-C++ IDE

It installs with everything you need to code, compile, execute and debug your code

heres the link for it :

http://www.bloodshed.net/devcpp.html

download version 5 beta

let me know if you have anymore questions or concerns

~ Sincerely

~ Geo

 ~ You are unique, just like everyone else
Reply With Quote
  #3 (permalink)  
Old December 16th, 2006, 07:28 AM
Authorized User
 
Join Date: Oct 2006
Location: , , .
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thnx a lot goe...

   anyway during my school days we took up about c++ but we ddn't foccus about c++ is just an brief history...for now i want to learn about c++...GOE thank you....i want to ask a favor from you if you dont mind..i need your help to guide me..

.::JHANNY::.

Reply With Quote
  #4 (permalink)  
Old December 16th, 2006, 07:40 AM
Authorized User
 
Join Date: Oct 2006
Location: , , .
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi i wrote this code:
 #include <iostream.h>

 int main()
 {
   cout << "Hello World!\n";
        return 0;
 }



but i got the error it says that

error: source file not compiled.....

how to run? as what ive notice just click only the debug option right?
is thier anything ive missed during installment...?

.::JHANNY::.


Reply With Quote
  #5 (permalink)  
Old December 16th, 2006, 07:56 AM
Authorized User
 
Join Date: Oct 2006
Location: , , .
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi fixed the problem i know how to run and compile...

.::JHANNY::.

Reply With Quote
  #6 (permalink)  
Old December 16th, 2006, 08:06 AM
Authorized User
 
Join Date: Oct 2006
Location: , , .
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default

32:2 C:\Dev-Cpp\include\c++\3.4.2\backward\backward_warning.h #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated. <<<<-------------what was this mean?


any body can explain?

.::JHANNY::.

Reply With Quote
  #7 (permalink)  
Old December 16th, 2006, 01:30 PM
Authorized User
 
Join Date: Oct 2006
Location: New York, US
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to mastrgamr
Default

how did u fix the problem... b cuz i write "using namespace std;" after the include file line? but how'd u do it.

Reply With Quote
  #8 (permalink)  
Old December 17th, 2006, 06:08 AM
Authorized User
 
Join Date: Oct 2006
Location: , , .
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default

in my first problem which i have solved already was i ddnt compile first before debugging....now ive encountered another error
:
32:2 C:\Dev-Cpp\include\c++\3.4.2\backward\backward_warning.h #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated. <<<<-------------what was this mean?


.::JHANNY::.


Reply With Quote
  #9 (permalink)  
Old December 17th, 2006, 06:30 AM
Authorized User
 
Join Date: Oct 2006
Location: , , .
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi mastrgramr,
  thank you i fixed my problem by using spacename std;

by the way i dnt know what is the function of that code?

what is the different between this?

#include <iostream.h>


 int main();
 {
 cout <<"Hello World!\n";
     return 0;
 }

where in i got an error with this which is this code i only copied from the book...

not like this code using namespace std;

#include <iostream>

using namespace std;
 int main()
 {
    cout << "Hello World!\n";
    cin.get();
        return 0;
        }

anyone can explain im very much appriciated thank you;))

.::JHANNY::.


Reply With Quote
  #10 (permalink)  
Old December 18th, 2006, 08:17 AM
Friend of Wrox
 
Join Date: Jan 2006
Location: Fort Wayne, Indiana, USA.
Posts: 103
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Geo121
Default

The reason one compiled differently is because different compilers have different standards

now if you look at where you got the error message it actually is not an error message at all

all it is is a warning that states you have a header declared in a non-standard way

your code will still compile and it will still run perfectly fine

however the using namespace std allows for the newer compilers to read

code in basic terms the same as an older compiler

because if you wanted to get incredibly technical if you didn't use the using namespace std

everywhere you typed cout you would have to type std::cout

but not only for cout but everything that the iostream library pulls

so in the end its just helping you out by saving you a little bit of typing

but remember to read the "ERROR MESSAGES" a little first because they aren't always errors

sometimes they are just warnings

if you have anymore questions about this or there is something I didnt cover or you want more info on

just ask

~ Geo

~ Don't take life too seriously, you'll never get out alive!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
combining a software and a programming code poja Pro Visual Basic 2005 5 November 9th, 2006 11:21 AM
combining a software and a programming code poja Visual Studio 2005 0 October 16th, 2006 04:17 AM
Programming Language holi4him Intro Programming 2 July 25th, 2006 07:42 AM
Change Programming Language ritag ADO.NET 6 June 16th, 2004 04:06 AM
Need some help in Aseembly Language programming GTguy C# 2 March 25th, 2004 07:46 AM



All times are GMT -4. The time now is 07:32 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.