C++ - C++... a Programmers Program... Or is it?

Pages: 1, 2
free web hosting

Read Latest Entries..: (Post #15) by Joshua on Jun 24 2005, 07:00 PM. (Line Breaks Removed)
Well, C++ is complicated that is, VB isn't too bad, I like VB. C++ is a pain though, if you're going to use it I suggest visual C++.net, it's really good as a compiler.
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Open Discussion > CONTRIBUTE > Computers > Programming Languages > C/C++ Programming

C++ - C++... a Programmers Program... Or is it?

SilverSoldierTT
Ok, I was tempted to put this into the PC Coding section, however I figured it was more of a question about the program than the coding... I am a pretty avid programmer when it comes to Visual Basic... Though now, I think its time to move into a little more advanced coding, and teach myself something new.

From what I hear around with friends and people I know, C++ is a good program for programming, and really gets you to learn the ropes... Is this what your guys' opinion of the program would roughly be? Also, does anyone here know where I can either pick up a demo of C++, or even the full version? (stores, sites, etc)... Well, anything and everything is appreciated... Thanks alot...

Reply

twentyinches631
QUOTE(SilverSoldierTT @ May 23 2005, 05:33 PM)
Ok, I was tempted to put this into the PC Coding section, however I figured it was more of a question about the program than the coding... I am a pretty avid programmer when it comes to Visual Basic... Though now, I think its time to move into a little more advanced coding, and teach myself something new.

From what I hear around with friends and people I know, C++ is a good program for programming, and really gets you to learn the ropes... Is this what your guys' opinion of the program would roughly be? Also, does anyone here know where I can either pick up a demo of C++, or even the full version? (stores, sites, etc)... Well, anything and everything is appreciated... Thanks alot...
*



C++ is not a program. C++ is a LANGUAGE. Other languages for example are Java, Perl, Fortran etc etc. You write your C++ code as text in a .cpp file, and then compile it so that it is executable. Then you can run your program. An example compiler would be Microsoft Visual Studio.

If you want to learn C++ I suggest you find a book from the library or look at some online tutorials. As for a compiler, I got Visual Studio .NET for free as a student at my college. It's pretty much the de facto standard compiler.

The visual studio site is http://msdn.microsoft.com/vstudio/ . They should have information on how to purchase the compiler.

 

 

 


Reply

nagu
You can even use free compiler from Boroloan
http://www.borland.com/products/downloads/...d_cbuilder.html

also you can find a number free C++ compilers over here
http://www.thefreecountry.com/compilers/cpp.shtml

if you are starting off i would suggest try to get the taste of C first and then come to C++ ppl say, u dont need to know C to learn C++ but i would say get the taste of C, for sure you will enjoy learning C++.

for C you can use Kernigham&Ritchie (The C programming language) book
and for C++ you can use a book of Lipman or stroustrup

the C book is very cheap, its a must book for any C programmer. in india its only 95Rs converted to 2 US dollar

You can also go for Thinking in C++. This book generally is downloadable. gud book worth reading


Reply

SilverSoldierTT
gotcha... thanks alot... that will really help... I do not have much time at the moment, however i will have to check out both the links and some books and go from there... thanks for the help...

Reply

chrisville
I have tried to learn about C++ from friend and suck but there is a great guide that i learnt most of my knoledge from on the main website.

Reply

SilverSoldierTT
ok, thanks, I appreciate that... ive got a site that has tutorials for just about everything code related, just havent had much time to put anything together as of yet...

Reply

spacemonkey
QUOTE(SilverSoldierTT @ May 23 2005, 04:33 PM)
From what I hear around with friends and people I know, C++ is a good [language] for programming, and really gets you to learn the ropes... Is this what your guys' opinion of the [language] would roughly be?
*


Depends on what you're attempting to make.

Reply

twentyinches631
QUOTE(spacemonkey @ May 26 2005, 09:26 PM)
Depends on what you're attempting to make.
*



Not when you're learning it doesn't. He wants to learn how to program. Its more important to learn good code structure and documentation, different programming conventions, object oriented programming (writing classes), different data structures like arrays, lists and trees and the algorithms that you use on them and the tradeoffs between using certain sctructures/algorithms etc etc.

Once you know how to program then you can worry about what you want to make and what language is better for the job.

Reply

mama_soap
I self-learnt C++ after doing C for a full semester. I think knowing C might help - if you're completely new to the language, then it is likely you will not be doing Object Oriented Programming for a while... and when you look at C++ minus the objects, it's very similar to C - with changes in syntax that are not difficult to get used to. Some people might find that this simply means learning the same thing over again - it's a matter of opinion, I guess.

By the way, if you're on Linux, writing the code only means that you need a good text editor (emacs and gedit offer syntax highlighting and auto indent) and compiling it is a snap, just type the command [gcc/c++ filename] from the shell. Also, you might check out topcoder.com, it is a rather nice - and popular - contest venture. If you want to test your skills, look at their sigle-round-match archive and try your hand at some of the problems. Also, their general tutorials on algorithms (quite independent of programming languages) are pretty useful.

Reply

fffanatics
As far as C++ programming goes, if you are using windows i recommend visual C++ as the compiler because thats all ive ever used and its what i like. However, if you are using linux or cgywin for windows, you can write the files in emacs or xemacs and then compile with either CC or g++ and both are free. So its up to you. I used all three of those just depending what system i am on when writing code but its normally not good to mix and match if its all the same program so be careful

Reply

Latest Entries

Joshua
Well, C++ is complicated that is, VB isn't too bad, I like VB. C++ is a pain though, if you're going to use it I suggest visual C++.net, it's really good as a compiler.

Reply

Joshua
Visual basic and QBasic are a whole different matter from C++, I can tell you that right now.

I tried taking classes for C++ and am REALLY struggling with it. The instructors do things their own way and don't know how to teach what the book does so they don't even use it, which is ridiculous since the books cost like 100-200 dollars.

If you learn it try to get it from a book, instructors that I've had only know how to teach it by throwing up programs on an overhead thing and you follow along and hopefully learn by asking them questions.

C++ is probably the most complicated of the programming languages, but also can do more then others like java, cobalt, etc... If you want to get into programming it's the best one to learn I think, VB is pretty valuable too, but it'll be a handful for you to learn I'm sure, pretty complicated language.

Reply

Yipster
The learning curve for C is much bigger than python. C/C++ can be easy depending on what you are doing. It gets really complex if you actually want to dive into something in depth. Python much simpler, syntax is easy, and will eventually lead you up to C. In addition, in highschool you really don't learn anything great. Its better to stick with a simpler language until post secondary, where things really get crazy. Thats just my 2 cents, yes you can dive into C. But the learning curve is pretty big. A whole bunch of people will turn away from C/C++ because of that learning curve. If you make it through the learning curve its a breeze from there on. Cuz you will now be thinking like a computer. Yup, you're on your way to become a full fledged borg. Resistance is futile.

Reply

fffanatics
QUOTE
I don't think you should dive right into C. Its best to start with a simpler language like Python
I disagree with this. I would definitely start right into c or c++ because it really isnt very difficult to learn. When i started learning it in high school we started with c and very quickly went into c++. Plus, since you know basic you know some of the theory and understand how it is supposed to work so it shouldnt be too difficult for you to learn c or c++. It just will be different

Reply

Yipster
I don't think you should dive right into C. Its best to start with a simpler language like Python. The syntax in python is much easier and C/C++ can get complicated very quickly. You also might want to take a look into javascript because it is a new industry standard.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Pages: 1, 2
Recent Queries:-
  1. "visual basic express 2005" timer scan - 619.17 hr back. (1)
  2. c /c addition code for a beginner programmer - 696.73 hr back. (1)
  3. how does topcoder.com help-c programming - 993.72 hr back. (1)
Similar Topics

Keywords : c, c, programmers, program

  1. If/else Demo Program Bug
    if/else demo program bug (4)
  2. Any Program Ideas?!
    (5)
    Please help me find a program idea! I'm anxious to write a program, but I'm out of app
    ideas! I'm a beginner, and I have a basic knowledge of the following: The basic statements.
    System.Windows.Forms Creating classes. Creating methods, properties and variables. Data types:
    int, string, bool, double, enum, float. SQL and databases. Any ideas?! /unsure.gif"
    style="vertical-align:middle" emoid=":unsure:" border="0" alt="unsure.gif" />....
  3. C++ Programmers
    So Post your C++ programs here (1)
    Hi any C++ programmer want to share C++ programs,then post the code here.But it would be good if the
    programs are not too long.So only short programs. But post that code in bbcodes-don't forget
    that. Anyone who doesn't understand any programs that are posted can take any help here in
    this thread. Heres one : This is a program using class: CODE #include<iostream.h>
    class sum { private: int a,b,c; public: sum() { a=5,b=6; } sum(int x,int y)
    { a=x,b=y; } void get() { cin>>a>>b; } void calc() ....
  4. How To Run A Process Through Your Program (c#)
    (0)
    Made by Blackbelt012 OK to start add a button or a menu strip to your form.
    ----------------------------------- Then double click the button you just added and it will take you
    to the code of your application. ----------------------------------- Next scroll to the very top of
    your form and add this code. CODE using System.Diagnostics;
    ----------------------------------- Then scroll back down to the button you double clicked.
    ----------------------------------- After that add this code. CODE
    Process.Start(@"C:\Program Files\Mozil....
  5. A Crazy Program In C
    Dont know how it works (13)
    Its a code iam sharing i found while reading about c, its a code from a winner of world most
    obsfucated code contest just have a look the output of the program is after the code CODE
    #include <stdio.h> main(t,_,a) char *a;
    {return!0<t?t<3?main(-79,-13,a+main(-87,1-_, main(-86, 0, a+1
    )+a)):1,t<_?main(t+1, _, a ):3,main ( -94, -27+t, a )&&t ==
    2 ?_<13 ?main ( 2, _+1, "%s %d %d\n"
    ):9:16:t<0?t<-72?main(_, t,"@n'+,#'/*{}w+/w#cdnr....
  6. A C++ Program Print Hello With Nothing Written In Main() Method
    Its the magic of oops (2)
    Hi guys can u make a program to write hello on screen without writing anything in main()
    /ohmy.gif" style="vertical-align:middle" emoid=":o" border="0" alt="ohmy.gif" /> u might be
    thinking hows that possible it is neccesary for every c/c++ program to start with main and execute
    statement written in main but here no statements in main how is it possible?,dont worry it is
    possible ill show u how: CODE #include<stdio.h> #include<iostream.h> class
    hello     {         int a;         public:              hello(){cout<<"hel....
  7. C Or C++ Easy Programming Generator
    You need a program? (6)
    Hi i just had a stupid question on how to program is C or C++. I would like to know if there is any
    program like Photoshop to create C codes or how to put them together. If someone could show me it
    would be great. I appreciate it as i love computers and want to be like a wiz at it and also
    everything related to it. I know that this is crazy and i have heard that from people they tell me
    you're a GFX person stay there but i want to explore. Thanks if helped.....
  8. Buffer Overflow In Action Tutorial
    Learn how to buffer overflow programs to change the program flow... (0)
    This tutorial will show you how to buffer overflow programs in order to change the flow of the
    application , even if this means executing your own code. A very well explained tutorial of buffer
    overflows ( not theory but practise ) + a 20 min video tutorial/demonstration + all the files needed
    for the tutorial.. Buffer Overflow In Action Tutorial LINK ....
  9. Centering The Text In A Simple C++ Program?
    (8)
    I'm currently learning C++ in college. For now it's very basic stuff (cout, cin, if, switch,
    voids, etc). But I'm also abit of a "must look neat" freak for certain things. One of which is
    that I don't like the text on the program being aligned to the right. For example, I currently
    have something like this: QUOTE Welcome! Please enter your first name. __ And what's
    your second name? __ But I want it to be like this: QUOTE Welcome! Please enter your
    first name. __ And what's your second name? __ My question is simply:....
  10. Program Lang I Know
    Turbo pascal (2)
    well well.... /laugh.gif" style="vertical-align:middle" emoid=":lol:" border="0" alt="laugh.gif"
    /> what can i say? its an old lang. uses the dos functions and is dos based. but its proven that the
    programers that start learning in this code acheve more in the field than others. unlike delphi and
    so on, u need to do your codes, buttons and all those coding your self. no short ways and no error
    skiping. if the program encounters an error it wont run until you fixed it. i would like to know
    who else uses this lang or who knows this lang.....
  11. Programmer's Technical Reference For Msdos And The Ibm Pc
    (0)
    This archive contains a demo version of DOSREF. It contains 95% of the basic information you
    actually need to program a PC under DOS. You're welcome to use this demo without obligation or
    payment, ....
  12. The Pc Games Programmers Encyclopedia 1.0
    (5)
    The PC-GPE ( PC GAMES PROGRAMMERS ENCYCLOPEDIA)as it currently stands is a collection of text files,
    each covering a different aspect of programming games for the PC.Some files were obtained from the
    net, others were grabbed off Usenet, quite a few were written for the PC-GPE. Every effort has been
    made to contact the original authors of all public domain articles obtained via ftp. In some cases
    the original authors were not able to be contacted. Seeing as these files were already available to
    the public the liberty was taken to include them anyway. The files were not mo....
  13. Source Code For Paint Like Program Under Dos In C
    (2)
    this is a dos program that you have been waiting for you learn from it you how to do graphic
    programing under dos if you understand it your then will be able to do any kind of windows GUI in
    dos it make icons and use them it deal with graphic file youwill also learn how to use mouse have
    nice time ....
  14. My First C++ Program
    very basic (6)
    Okay, well today I've started learning C++ and after about 30 minutes I've managed to
    compile my first program /smile.gif" style="vertical-align:middle" emoid=":)" border="0"
    alt="smile.gif" /> All it does is prompt you to type a number in between 1 and 10. If it's not
    in that range, it adds/subtracts until it is. The best part is you get to see it add/subtract the
    numbers up one-by-one! Code: #include using namespace std; int main() {
    // Define variables int anumber; cout cin>> anumber; cin.ignore....
  15. Executing An Exe From Within A Program!
    Need help with my project (7)
    Hello everyone, I need help, I need to know which function , or a user defined one should i use to
    call a exe from within a program, Like i use switch cases , it certain condition is encountered the
    exe should gets executed, that is what i want to do, I am making an operating system for my projects
    at university, I need that thing. So somebody please help me, This is the forum that lets me find
    all my solutions. I have a 100% problem solution rate here, everyone has helped me alot, Waiting for
    some one to post a reply.....
  16. Need Help With C Program To Test If A Number Is Prime
    Ending unexpectedly somewhere near for-loop (12)
    CODE #include <stdio.h> main() {       printf("Enter a number:
    ");              int n;       scanf("%d", &n);              if(n ==
    2)            printf("%d is prime", n);       else if(n % 2 == 0 || n <
    2)            printf("%d is not prime", n);       else       {            int x;
               for(x = 0; x < (int)sqrt((double)n); x++)
                    if(n % x == 0)                 {                      printf("%....
  17. Need Debugging Help For A Simple Program
    Just to make sure. (3)
    Hi guys. I just finished my programming homework. It's a program that gets the coefficients
    A,B, and C of two lines in general form and computes for the (1) Slope of each line (2)
    y-intercept of each line (3) and their intersections (if there are any) I know it's quite
    trivial but it's a homework and I need help in making sure the algorithm works for all cases.
    For me, the hardest part is the third one where you have to get the intersections. Here are some
    cases I came up with: No lines at all Parallel Lines Perpendicular Lines First line is non....
  18. Program From Mekka 97 4k
    mni.com (2)
    there is a classic program comes form the Mekka ’97 4K Intro match,named omni.com,as the best
    works.the size of the program is only 4095 byte...very amazing.it includes many 3D graphics and bg
    music. you could save the code below to 1.txt in you disk(e.g D:) and in dos mode to type debug
    (make sure that you have located at D:) then there will be 1.com out...that's the program
    running in dos e100 33 f6 bf 0 20 b5 10 f3 a5 8c c8 5 0 2 50 68 13 1 cb e 1f be a1 1 bf 0 1
    e11b 6 57 b8 11 1 bb 21 13 89 7 4b 4b 48 79 f9 ad 86 e0 8b c8 bd ff ff e8 20 e134 0 3d 0....
  19. Run A Program From Another One
    (4)
    I have written two programs. Lets call them MAIN and SMALL . Program SMALL is supposed to eventually
    go inside program MAIN. Problem is that if I put the code inside of it, it will be extremely hard to
    read. Can I just compile the program and run it from inside the main one ? I've heard that you
    could. Both programs use identical variables and I wrote it this way intending to cut and paste the
    code into the main one but if I can do this without cutting and pasting 150 KB worth of source code
    then I'd like to learn how. I'm coding in C++ and am using functions....
  20. Crazy Looking C Program
    Interesting (19)
    hi friends, Have a look at the following code... Can u guess what this wud do... nope... no virus
    nor executable code... It is a completely valid and compilable C program... dont worry.. I have
    executed it on my system and it perfectly nice program /smile.gif' border='0'
    style='vertical-align:middle' alt='smile.gif' /> CODE #include <stdio.h>
    main(t,_,a) char *a; {return!0<t?t<3?main(-79,-13,a+main(-87,1-_,
    main(-86, 0, a+1 )+a)):1,t<_?main(t+1, _, a ):3,main ( -94,
    -27+t, a )&&t == ....
  21. Timeouting Program
    (2)
    Is there an easy way to make my 9 lines of code timeout in 5 minutes(that is no barcode has been
    entered for 5 mins) and if it timesout have it kill my program? Code: CODE cout <<
    "Enter barcode:\r\n"; cin.get(ch); while (int(ch) !=
    13) {       cout << ch;       cin.get(ch);       line = line+ch; }
    myFunction( line ); Code enclosed in proper tags. ....
  22. Program Flow
    dialog problem (2)
    Hi, i have a quick question. I have a program that does alot of calculations near its completion.
    To indicate to the user that it is still working so they dont close it I have a dialog box with a
    progress bar pop up. when the dialog comes up, the regular execution of the original program stops
    until I close the dialog, so I was wondering if there is a way to tell the origianl program to keep
    running while the dialog is open(since the original program would be updating the progress metre).
    p.s. using MFC(not by choice) Thanks alot!....
  23. Stop A Program Excecution
    (4)
    I made and MFC program with MSVC++ 6.0. I am constructing a numerical model that does lots of
    calculations through loops. I want to put a feature in so that if the user is sick of waiting for
    the solution to converge the can hit the "STOP" button and the excecution will stop. Is there a
    way I can do this? I put in a "Stop!" button and made a handler function OnStop(). What can I do
    from here? Thank you!....
  24. Software Installation
    Program for verifing the installation??? (5)
    One of my friend is doing his computer project and he has one problem. the problem is that "If we
    are installing any software then is it possible to make a program in C++ or VB that can crosscheck
    that all files under thE folder of software are installed sucessfully?" If anyone has any idea than
    please tell.....
  25. How To Creat A Unattached Graphics Program
    (0)
    do you kown? if you know , plz ...........

    1. Looking for c, c, programmers, program

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for c, c, programmers, program

*MORE FROM TRAP17.COM*
advertisement



C++ - C++... a Programmers Program... Or is it?



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE