Beginners - May 2010 (Page 16)

by Gio
Allegro Library Installation
 
Hi, I have a rather simple question: How do you install Allegro 4.4 after downloading it, as in setu...
[7 replies] Last: You're gonna need about 3 cups of coffee or maybe coke or something el... (by blackcoder41)
Cannot output the text file and print the student result
 
1. Add new member information 2. Print member list 3. Exit #include<iostream.h> #include<f...
[5 replies] Last: Actually, we never give full solutions around here. What the heck a... (by Albatross)
by wasing
Login Program
 
first off some introduction I have extremely basic c++ programming experience. I am currently tak...
[8 replies] Last: Ok, look, when you want to assign a value to a variable you must use t... (by m4ster r0shi)
I thought Inheritance does not inherit Constructor!?
 
class Employee { protected: char EmployeeID , Name , EmployeeType , Department ,TelephoneNumb...
[5 replies] Last: O okay ty (by DoomCarnage)
Conversion Master 3000x
 
I've literally just started learning C++ so i thought i share my first real-ish program to get some ...
[5 replies] Last: You might want to take a second look at the output of 5/9 and 5/9.0... (by moorecm)
Me vs Computer
 
I want to see who got the high number me or the computer but I don't know how to see who got the hig...
[17 replies] Last: Okay, now I'm done thank you. (by Callum5042)
If I input first name-last name how can I make the output last name-first name?
 
I want to change the input around, how can I pull off something like this? I really need help. Fo...
[4 replies] Last: This type of logic can work. #include <iostream> #include<ccty... (by rajroshi)
having trouble with the output of my function
 
this program is supposed to convert the weight in stones to lbs this is what i wrote: // conver...
[1 reply] : You're missing a newline in this line: cout << "CRacK Rock = " << sto... (by Albatross)
undeclared identifier
 
I'm getting this error message "error C2065: 'calaverage' : undeclared identifier' I can't figgure o...
[8 replies] Last: Hey guys thanks for your help, i finally got it to compile. (by econ330)
by tehjoe
crashing out?
 
I have a binary file that has 1000 null versions of a strct called customerInfo that looks like this...
[3 replies] Last: It uses c-string instead of std::string. (by blackcoder41)
Having trouble multiplying two variables
 
The program is supposed to take the users input in "furlongs" than convert that to yards. One furlon...
[3 replies] Last: Reinstall XCode. Your copy of GCC 4.2.1 is insane if that is really th... (by Albatross)
error C2065: '' : undeclared identifier
 
Hello All! I have spent all day trying to solve what i thought was going to be an easy problem. ...
[11 replies] Last: Use inclusion guards. #ifndef YOUR_HEADER_HERE_H #define YOUR_HEA... (by helios)
How would I change certain letters in a string to uppercase?
 
For example if I had the user input "whats on television" How would I make the output become What...
[4 replies] Last: An STL algorithm way: #include <algorithm> #include <cctype> #... (by Duthomhas)
by nammae
What is the different between string and char* in C++ (1,2)
 
Hi, everyone. I tried this following code and there is nothing appear: #include <iostream> #in...
[25 replies] Last: +1 helios & Disch - Disch's examples clarified this. Thanks - not sure... (by closed account Lv0f92yv)
console text-editor
 
I have just made a console type text editor but I can't figure out how to save the text file and if ...
[16 replies] Last: [quote=clover leaf]Guys keep it simple I'm only a beginner. What we sh... (by Duthomhas)
Stuck on this, see if you can see the problem
 
I am working on a project and I admit its an assingment but I have looked at it for a week and I am ...
[3 replies] Last: I know this is already solved, I just wanted to chime in with a style ... (by Disch)
by JoeyS
Use of string arrays in functions?
 
Hi, I have the following code which works, but can someone please help me with how I may instead put...
[1 reply] : One way to do it is this: #include <iostream> using namespace std... (by m4ster r0shi)
Wierd Array Behavior
 
I have been working with c++ for a little bit and have just noticed some interesting behavior with a...
[2 replies] Last: Thank you helios. I figured it was something along those lines but i w... (by squirtman59)
by Leydin
"chaffArray[1] = new (buffer + 50) chaff;" What exactly is this doing?
 
Hello. I'm working on an exercise problem from C++ Primer Plus. What I am supposed to do is place an...
[3 replies] Last: Well if you read the comments above the code you see that the exercise... (by Leydin)
by wtf
Would somebody please tell me how to use the codeblocks debugger
 
Like give me a walkthrough, a step by step guide, telling me everything I need to do to setup my pro...
[4 replies] Last: Well I've watched some videos on youtube, done exactly what they've to... (by wtf)
May 2010 Pages: 1... 1415161718... 33
  Archived months: [apr2010] [jun2010]

This is an archived page. To post a new message, go to the current page.