Beginners - August 2011 (Page 18)

How do I check which character comes first alphabetically?
 
Let's say I have the following code: char letter1, letter2; How do I check if letter1 comes ...
[3 replies] Last: I think Duoas had the right idea although he phrased it in a strange m... (by bool maybe)
is there a better way for calling this function?
 
how do i change the value of line 26 to represent different numbers based on different circumstances...
[2 replies] Last: how do i make line 22 not use cout ??? in main comments test 1 show t... (by metulburr)
by hwuy
text cross contue
 
well my last post was not descirptive enough at all so this is my new one. all the code of this migh...
[3 replies] Last: thanks hamsterman i think that works (by hwuy)
can someone explain this to me?
 
i have been trying to find a way to only allow certain inputs by the user to stop the program going ...
[6 replies] Last: This program requires <limits> because it uses the numeric_limits temp... (by tdeloggio)
Error when testing user input
 
I am creating a program for my class that gets ten integers from the user, stores them in an array. ...
[3 replies] Last: Also, you are calculating the average over and over in the loop. That... (by kempofighter)
Recursion help!
 
I don't know how to do this exercise from book "C++: Without Fear" : Write a program that calcula...
[3 replies] Last: EDIT: I didn't need your help, but thanks anyway i was confused at som... (by happykiller)
How can I get my program to ignore character inputs?
 
I am trying to set up a menu for which you are presented with 2 options (1 or 2). If a different num...
[8 replies] Last: FYI, this is another great link for stdio FAQs. http://www.parashift.c... (by kempofighter)
Is this really 50/50 chance?
 
I've been trying to make a coin flip simulator, the number 1 meaning heads and 2 meaning tails, but ...
[2 replies] Last: Okay, now its acting more 50/50 (by ziodice)
Trouble working with Visual C++ Basic
 
I am an intermediate programmer familliar with C, Python, and Java, and trying to learn C++ while us...
[no replies]
Program Not Working
 
I have compiled a program in Dev-C++ and the compiler is showing no errors. However, when I run the ...
[15 replies] Last: I totally agree with you. As I had the time to check what going, I wa... (by andywestken)
by paupau
question
 
why can i use using namespace std; when i can run .....! have an error....? for using namespace std;...
[4 replies] Last: Do you have #included <iostream> or #included <fstream> or #include... (by TheMassiveChipmunk)
Is this a good implementation
 
Hi, I need to know if the implementation of operator<< is a good implementation ? if no, can I get ...
[19 replies] Last: Ditto. (by Duthomhas)
filtering array?
 
I want to enter a value each time to the originator and then delete every time the items in array w...
[2 replies] Last: It is also simple enough to do yourself (though much less efficient un... (by Duthomhas)
Cloning a Window
 
Is it possible to clone a window of a program so that you essentially have two copies? and if the wi...
[9 replies] Last: Thanks, I've looked at it in Spy++ and none of the text shows up becau... (by bmoore45)
Multiple Choices
 
we are asked to create a program that will display a menu that will allow the user to choose a subje...
[3 replies] Last: jejeje Thanks. (by gaorozcoo)
Beginning C++ Through Game Programming Third Edition
 
Hey all, so in this ebook, end of chapter one, theres an exercise of the following: 3. Write a pr...
[10 replies] Last: Add cin.sync(); before cin.get(); (by packetpirate)
by adesh
void main or int main
 
I was thinking if it is right to use void main or int main for the main() All the programs in my b...
[3 replies] Last: http://www2.research.att.com/~bs/bs_faq2.html#void-main (by moorecm)
Question about header files
 
Ok so I know what header files are, but I was curious if I could put just plain functions in a heade...
[3 replies] Last: Ah this sounds like a good idea. I will have to do this. Thank you for... (by ResidentBiscuit)
digital clock
 
hi every body this is my first post :-) why this code can't work ?!? what's problem ? ...
[5 replies] Last: Yes, classes are defaultly private. (by firedraco)
by Disch
glad
 
tired because it's after midnight
[1 reply] : annoyed because this is in the wrong forum :P (by firedraco)
August 2011 Pages: 1... 1617181920... 39
  Archived months: [jul2011] [sep2011]

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