Beginners - April 2008 (Page 17)

images
 
i was wondering if there is any way to incorporate images in to a C++ program, and if there is, how would i go about putting them in to my program?
[no replies]
C++ Project I've been stuck on for weeks...
 
I have been constantly trying to figure out how to make this code work. Well here is what I'm supposed to do. Write a function named isPrime which accep...
[1 reply] : #include <iostream.h> #include <cmath> void findPrime(int, int)... (by psault)
by bettie
trouble using loops
 
Hello guys, I need some help with this program i created.
[9 replies] Last: Thankyou (by bettie)
by antoin
Sorting
 
Can someone please help with this, it even confused my tutor. Although he is not great. My header File #include <iostream> using namespace std; class thr...
[3 replies] Last: Okay gzero, thanks mate got it working now with no errors (by antoin)
by nizbit
Code wont compile
 
I'm getting an error: error: declaration of âtestsâ as multidimensional array must have bounds for all dimensions except the first I dont see how th...
[3 replies] Last: Try the C++ Documentation and look at the Arrays page. http://www.c... (by xabnu)
integers and loops
 
Hi would you kindly help me to wright the following Program. The program must calculate, for every integer that is being input, a code in the following way...
[2 replies] Last: excellent it works, thanks (by velaphi)
logical error
 
hi this program compile and run correctly but it gives wrong out put, please help.. // calculate the number of days with temp greater than 20 degrees. #inc...
[2 replies] Last: Thank you very much, i've been trying to solve this problem for the pa... (by velaphi)
Looping and managed strings
 
I have a Visual C++ Windowed project that I do some mysql queries with and then loop through the results to put into a textBox. It goes something like this. ...
[no replies]
halvnumber() c++ code
 
need c++ code for halvnumber() which recieves an int passed into it, divided by 2 which can be a double. Can anyone help me?
[9 replies] Last: Thank you so very much (by firebird)
writing to file
 
I am very new and just need code to prompt the user for information and to write that information to a file such as file.doc.
[2 replies] Last: For a simple text file: #include <iostream.h> #include <strin... (by psault)
by mikeym
Return a pointer by reference
 
Hi, I'm trying to create a class that handles an array of pointers to the class Vertex, and I'm wanting to return one of the pointers by reference when the o...
[1 reply] : Anyone? Is this question to hard for the beginners section or somet... (by mikeym)
C++ Compiler
 
Hey Everyone I've been having some trouble with my version of Visual Studio C++ 2008 Express edition. I know its not the best, but its what i've been learni...
[1 reply] : Try Bloodshed software's Dev-C++ (by psault)
Compile Error When Using List of Pointers
 
hey people, returning after a long time to C++ and I'm having trouble compiling this code. #include <iostream> #include <list> using namespace std; ...
[5 replies] Last: I have never seen how to use the list class; in particular, the line ... (by psault)
Case Switch used within nesting
 
How do I put a a case switch within nesting? I need 4 flavors of cake I need 4 kinds of pie I need to put them into a nested case switch, that will ask i...
[1 reply] : #include <iostream> using namespace std; int main() { int fl... (by psault)
do..while function
 
please help me!! :( how to do this?? C++ program (using do..while) to simulate a hand-held electronic calculator by displaying a menu as below ELECTRONIC ...
[1 reply] : This might not be perfect, but it's something like what you asked abou... (by psault)
by osprey
looping in a phone dir
 
I need to write a program that requests a first and last name, lower case only. then compares the name to a file the contains multiple entries of: lastname, f...
[1 reply] : getName(firstName, lastName); input.open("phoneDir"); while (... (by psault)
BUBBLE SORT PLEASE HELP
 
Im trying to use a bubble sort with a 2-d array my code reads the array but im getting a error at the bottom invalid conversion from int to int...i have no cl...
[1 reply] : try changing temp = A[j+1]; to temp = *A[j+1]; and then *A ... (by psault)
by skev
help with loops
 
hey everyone. I need to run a loop program that has 5 numbers input into it one at a time. it then needs to add any of the numbers that are multiples of three a...
[3 replies] Last: Just move your output line outside of the while loop. In this case, m... (by psault)
number guessing game
 
ive just started programming today, and i am working on making a simple number guessing game where you have 10 tries to guess a number and it gives a response b...
[6 replies] Last: ok, thank you again, that will help a lot ^_^ (by mxjabber)
schedual meeting
 
hello can any body solve this question. Question is as follow Write a program to find the possible meeting times for four people. Each person should i...
[no replies]
April 2008 Pages: 1... 15161718
  Archived months: [mar2008] [may2008]

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