User Profile

Collapse

Profile Sidebar

Collapse
BrucePerry
BrucePerry
Last Activity: Jan 14 '12, 01:02 AM
Joined: Dec 13 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • BrucePerry
    started a topic How do you install the mouse with allegro?
    in C

    How do you install the mouse with allegro?

    How do you install the mouse with allegro...?
    See more | Go to post

  • I haven't posted the code because it has quite a few classes and I can bet that the problem isn't in the one that it says its in.
    Edit: I fixed it by putting "class Collision" at the top of my code!
    See more | Go to post

    Leave a comment:


  • BrucePerry
    replied to c++
    in C
    This is a in-built library which are already coded to make our lives easier when doing programming.
    For exmaple <iostream> needs to be included so we can use "cin" & "cout"
    Each library has a specific set of functions that we use. Another example is <sstream>, it provides us with templates and types that enable interoperation between stream buffers and string objects.
    See more | Go to post

    Leave a comment:


  • BrucePerry
    started a topic How to read a text file - C++
    in C

    How to read a text file - C++

    This article is the second part of the article I made earlier on how to create a text file.

    In this article you will be learning how to read the text file that we created, I will be teaching you how to put this code with the code we made but if you want to put it into a different project or source file and compile it separately that will work also.

    Now lets start the code:
    You should already have this in your...
    See more | Go to post
    Last edited by weaknessforcats; Dec 14 '11, 06:19 AM. Reason: Remove email address

  • I did post a link but edited it out because it is broken.
    See more | Go to post
    Last edited by BrucePerry; Dec 14 '11, 01:49 AM. Reason: Broken link.

    Leave a comment:


  • BrucePerry
    started a topic How to write a text file - C++
    in C

    How to write a text file - C++

    In this artile you will learn how to write a text file using c++.

    First, create a new project (I recommend Console App)
    Delete everything that's there and we will start from scratch; This will help you learn.

    Start your code by putting this on the first three lines:
    Code:
    #include <iostream>
    #include <fstream>
    using namespace std;

    Now lets start the code:...
    See more | Go to post
    Last edited by Niheel; Dec 16 '11, 10:44 PM. Reason: email

  • iso c++ forbids declaration of 'Collision' with no type

    I get that error above on a few line in my code.
    Code:
    #include "Collision.h"
    
    Collision::Collsion()
    {           //this line
    
    }
    Collision::~Collision()
    {
                           
    }
    void Collision::Init()
    {
         loadCounterX = loadCounterY = 0;
         Collision::LoadCollisionMap("colmap1.txt");
    {
    
    void Collision::Update()
    ...
    See more | Go to post
No activity results to display
Show More
Working...