Beginners - October 2011 (Page 16)

Can some one help me?
 
Here is my new code: #include <iostream> #include <fstream> #include <string> using namespace std; int ms (int minutes) { int sec; sec = (minutes * 60...
[4 replies] Last: ... (by IWishIKnew)
by Toote
Help with array user input mode
 
Hi, help me with array, how I can create array with user input mode with keyboard. I understand with random, but don't understand user input mode. :( please he...
[2 replies] Last: Thanks! Its work! :) Now I understand system. (by Toote)
Strings and Spaces.
 
When doing an extremely simple code such as this: cout << "Enter a string:\n"; cin >> a; cout << a << "\n"; If I type in more than one word for ...
[2 replies] Last: Ah, thank you so much! Massive help, cheers! (by Ben Duncan)
c++ output html problem
 
Hi, I'm working on a project where I'm supposed to get the input from a txt file that contains the population of every city in the state listed alphabetically. ...
[1 reply] : Figured it out. Here's how to do it if someone had a similar problem.... (by Joshua27)
meaning of (&)() in the compilation error message
 
Hi all, I'm receiving this error during compilation with g++ on my Ubuntu box: test_utils.cc:13:15: error: no matching function for call to ‘midurad::pa...
[2 replies] Last: Thank you Disch, that worked perfectly for me as well. I thought the C... (by midurad)
A program that only lets the user enter a number
 
I am just learning C++ and I am trying to make a program that displays an error message when the user enters something other than a number. This is my code: ...
[7 replies] Last: Thinking about it a bit more, the code I posted above isn't safe. I... (by andywestken)
by kw1991
can i make an image a button?
 
making my first GUI program in visual studios and I want to know can i put an image onto a button or make an image a button? im making a program thats like ...
[8 replies] Last: Your original post asked how to put an image onto a button, which is t... (by andywestken)
Problem with array program that displays average, highest and lowest.
 
hello. I seem to be having a problem with my assignment. I am writing a program in which you enter scores for 20 different students and then the program display...
[9 replies] Last: Happy to help =) (by Disch)
Quick debugging issue before I turn in program
 
Hello, I'm getting an error that I don't know what to do about. Here's is my code: list<string>::iterator Siter = first.begin(); //Siter is the it...
[no replies]
All these pointers are making me crazy
 
I'm an experienced programmer, but not with C. I've spent far too long on this already, hopefully someone can point out what I'm doing wrong. I've been given ...
[6 replies] Last: Didn't you get my e-mail? (by helios)
Flowcharts
 
Okay so I have an exam tomorrow and really need to get this writing flowcharts down. I know all the symbols and can do simple ones but when there is "a while...
[4 replies] Last: I think i found my answer! http://users.evtek.fi/~jaanah/IntroC/DBeec... (by geggah1)
Checking whether a number is int or float
 
I am working on a program that could calculate to calculate pth percentile from an array of size n. I have to check whether the product p*n gives an int or a fl...
[8 replies] Last: double would be still inaccurate on it's lower bits. You can test if... (by R0mai)
by aasaa
abstract class + inheritance
 
hi, if there is pure virtual class A and the derived class B,how is the copy constructor is done for the derived class B???. thanks
[3 replies] Last: From what I know, by definition an interface doesn't have member varia... (by Mathhead200)
Program that converts temperatures - doesn't work
 
EDIT: So I'm writing a program that converts temperatures from one scale to the other unless you enter Q to quit. It doesnt run properly and says" ' F' is an...
[4 replies] Last: @civilVIU Doing your program this way, means you only have to show a ... (by whitenite1)
temperature conversion
 
I have to Create a program to display a temperature conversion chart for 0 to 100 degrees Celcius at 10 degree intervals and the corresponding Fahrenheit temper...
[1 reply] : Here's the pseudocode: 1) Have a variable 'celcius' that starts at ... (by Gaminic)
NEED HELP....trying to get toupper to work for all input data
 
#include <iostream> #include <conio.h> using namespace std; bool eof( char , char ); char winner(char , char ); bool vaild_data( char , char ); void read(...
[no replies]
by teocl5
Displaying highest 5 value from an array.
 
Hi all, I am tasked to display the highest 5 values from an array of 10 float variables. However my codes only able to let me get the highest value. I still...
[5 replies] Last: You can do linked-sorting (not an actual term): if (value >value ) ... (by Gaminic)
Boost-FileSystem how to install?? or work? im confused??
 
hello i have been coding in many languages mainly c++ for like almost a year now using libarys such as SDL,Allegro,Opengl,Glew but for life of me i need some si...
[no replies]
What Is The Prop
 
what is the prplem hete #include <iostream.h> void main () { int x,y; int sum; cout<<"enter 1st number"; cin>>x; cout<<"enter 2st number"; cin>...
[5 replies] Last: get me the command of pause and i will be happy from you (by Maher059)
by JBlitz
Need Help with Caeser Cipher
 
Im trying to write a code for a ceaser cipher, and it needs tp be done with arrays or related objects (vectors). Im currently having problems with the encrypti...
[1 reply] : Well, it would be easier if we could check the other part too... (by MagicDark)
October 2011 Pages: 1... 1415161718... 59
  Archived months: [sep2011] [nov2011]

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