Using C++

This is a discussion on "Using C++" within the Other Programming Languages section. This forum, and the thread "Using C++ are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > Other Programming Languages

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jun 16th, 2006, 21:48
Up'n'Coming Member
Join Date: May 2006
Location: Kentucky
Age: 19
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Coty Skaj Send a message via Yahoo to Coty Skaj
Using C++

What type of programs can you build using C++. My friend built a program for teachers to calculate grades and put files and other stuff on record and makes about 3,000 every other week or so but I'm not sure what he used to build the program. I just need help getting started. I have all the basic knowledge of HTML & CSS but I was wanting to further my cpu skills by learning how to make programs and stuff so my ? is where should I start?

Where should I start learning programming material?
Reply With Quote

  #2 (permalink)  
Old Jun 17th, 2006, 01:04
Junior Member
Join Date: May 2006
Location: USA
Age: 23
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Using C++

Yay, a question that I can fully answer ...

First of all, there is no end to the possibilities of C++, you can do everything from program basic programs to advanced Programs like Photoshop. You can even make games for Computers, and if your really talented you can program a game for game consoles.

C++ is a great language to learn because it is so powerful and very usefull. If you would like to learn I would highly recoommend Sam's Teach Yourself C++ in 21 days, gonna cost you about $23, not bad at all. This is the best book by far to learn C++ and comes highly recommended by several forumz.

This book is really informative and will walk you from basics to the end. I'd suggest that you take 3 days a week instead of the 7. It'll keep ya learning and let ya have time to review your material. Also if you get stuck when trying to learn I have that book and would be more than happy to help you out.
Reply With Quote
  #3 (permalink)  
Old Jun 17th, 2006, 01:41
Up'n'Coming Member
Join Date: May 2006
Location: Kentucky
Age: 19
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Coty Skaj Send a message via Yahoo to Coty Skaj
Re: Using C++

Well, I have been studying on C++ programming and practicing. Though I don't see how you could get from the codes that I'm typing to a video game. You would need other files that contain the graphics and such things. So really what your saying is that with C++ for example let me use the script to the play. You can write the script and that is how everything will work, but you still need the actors and setting to make it full active. Same way with advance programs like photoshop and video games. YOu can write the source code but you will still need templates for the program and graphics also.

Am I right? I do need other things?
Reply With Quote
  #4 (permalink)  
Old Jun 17th, 2006, 03:44
Junior Member
Join Date: May 2006
Location: USA
Age: 23
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Using C++

Well thats the beuaty with C++. You don't need anything else to do these things, well except of course to create the graphics. But besides that, C++ can handle everything else. Now C++ is not like any other language, it has Library packs you will be using, (basically pre-written C++ code that you will call in a program to run a specific function) and this will help you do almost everything.

You won't be introduced into graphics until the very back of the tutorial books, its one of the last things you learn. For graphics, you can use DirectX for 3d, or for 2d. These are basically pre-written C++ programs that work as a graphics Engine, and they work so well, that most software companies use these.

Here's a great reference link that will explain these things better, becuase the questions you are asking deserve a good answer, and you can find them here. http://www.gamedev.net/reference/ . (Even if you aren't creating games, you can still learn a lot from this reference listing)
Reply With Quote
  #5 (permalink)  
Old Jun 18th, 2006, 05:35
Up'n'Coming Member
Join Date: May 2006
Location: Kentucky
Age: 19
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Coty Skaj Send a message via Yahoo to Coty Skaj
Re: Using C++

Thanks man, so far I have been practicing the very first basic stuff. I'm working on a making a small test that gives results. For just beginning this stuff today I learn quickly. Here is what I made so far, although its not much at all but an example that I know what I'm doing so far.

Code: Select all
#include <iostream>
using namespace std;

int main()
{
    cout<<"   This is a short test that I put \n";
    cout<<"   together for practice on making\n";
    cout<<"   programs using variables.\n";
    cout<<"\n";
    int qa;
    cout<<"7x8= ";
    cin>> qa;
    cin.ignore();
    
    int qb;
    cout<<"2x3= ";
    cin>> qb;
    cin.ignore();
    if ( qa == 56 && qb == 6 ) {
    cout<<"You got a 100% \n";
}

    else if ( qa == 56 && qb != 6 || qa != 56 && qb == 6 ) {
    cout<<"You got 50% \n";
}    
    int ans = qa * qb  ;
    {
        cout<<"This is your 2 answers multiplied, "<< ans<<".\n";
        }
        cout<<"\n";
        cout<<"If your two answers multiplied equal\n";
        cout<<"336 then you got a 100% on your test.\n";
        cout<<"\n";
    int ansb = ans * 100 ;    
        {
             cout<<"This is your answer if you mulitply\n";
        cout<<"your 2 answers and multiply the answer \n";
        cout<<"from that by 100, "<< ansb<<".\n";
}
        cout<<"\n";
        cout<<"         Made by: Coty Skaj\n";
        
    cin.get();
    return 1;
}
Please tell me anything that I may need to change, or ways that would make this better.

Right now I'm stuck on how I can add more questions and get a percentage for all of it as the grade for the test at the end. Any help would be appreciated. Thanks !!!!!!
Reply With Quote
Reply

Tags
using

Thread Tools

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


All times are GMT. The time now is 22:22.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43