No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
- Interests
- c/c++/pge lua/html programming, running cross country, playing basketball
- PC Specs
- vista
I need to somehow open and read a picture of a map (jpg/png/bmp) into a 2d array so I can use the array to determine what terrain type is at that element/position on the map. Looking for tut's on working with picture files (jpg/png/bmp) with c++ I have found none. … |
|
after i input the three letter, i cant get the number back.. [CODE]#include <iostream> using namespace std; class Month{ public: int month; Month(char& one, char& two, char& three); Month(int& numb); Month(); void input1(istream& input); void input2(istream& input); void output1(ostream& output); void output2(ostream& output); }; int main (){ char x,y,z; int … |
|
Hi everyone I am trying to write a program that will allow to people to play tic tac toe. My constraints are that this must be accomplished mainly through the use of functions and that the default cell field for the displayed game board must be stars. I am having … |
|
Hi there, Say I have created an ifstream object in main(): [CODE]ifstream [B]inData[/B]; // Create new input file stream object inData.open( "input.dat" );[/CODE] How could I then pass this object to a function, instead of having to recreate it there? I.e. what would the argument and parameter look like? Thanks … |
|
Hey guys, I just began this project a few weeks ago, just something I like to play around with in my spare time (my real passion is psp game programming :D). It is an interpreted programming language I like to call BIO (for basic input output). I feel that my … |
|
I have an assingment in which i have to right an algorithim to get through a maze. I dont know where to really start with it. I know in the instructions it said to write it as though we used our right hand as a guide. in other words we … |
|
I need to find out, because my program deals with numbers, how to block characters from being inputted. Such as, [code] int input; cout<<"Please type in a number."<<endl; cin>>input; //input should be a number. A letter? Oh no. [/code] if the input would have been a character, BOOM! Program == … |
|
[code] Apply all steps of conceptual and logical database design on the following requirements: The system should be able to store a customer’s name, address, and contact information and a book’s ISBN, publisher, authors, and title information. A customer should be able to purchase one or many books at a … |
|
I have a program in were you enter numbers. each different # set you enter goes into an array ( section[] ) but now what I'm trying to do is add 2 different sections together. [code]for(int x = 0; x < stoppoint; ++x) { track = track + 1; if(section[x] … |
|
PLEASE HELP!!! I dont know how to do this problem. Every time i try it keeps coming out wrong. PLEASE HELP. Thank you... An internet service provider has three different subscription package for its customer: Package A: For $9.95 per month 10 hours of access are provided. Additional hours are … |