Beginners - April 2011 (Page 21)

by vidyaj
how to escape the special character %
 
hi all, i have to display a string which is similar to " Total aggregate is 75% ". please let ...
[1 reply] : Use %% printf("Total aggregate is 75 %% "); (by Null)
plss..help me!!
 
kindly gave me the code for slot machine..c++?? thanxx waiting for your reply^^
[1 reply] : What do you have so far ? http://www.cplusplus.com/forum/articles/3101... (by Null)
Need help/ teacher in C++
 
I just started C++ this semester and i have a horrible techer that i cant understand. And to make it...
[5 replies] Last: cloud0005 wrote: I just want to learn the basic of c++ There ar... (by lnk2019)
wont add doubles from an array correctly
 
the debugger says it adds the rainfall correctly but it outputs 34 to the screen and i should get 33...
[1 reply] : You set the precision to 2 places, hence 33.9 comes out as 34. Try set... (by closed account D80DSL3A)
Almost done with the coding but some getline problems
 
For this code, it asks for the first song, and stores and prints it. But after the first entry, i'm ...
[no replies]
by Sieves
pointers as indicis for dynamic arrays
 
for this program i am required to use a pointer for every variable i declare. I have only one proble...
[6 replies] Last: yeah it works i think i'm cheating by passing the value at the address... (by Sieves)
Point me in the right direction???
 
deleted
[3 replies] Last: Without delving too much into it, there are two "places" where you can... (by webJose)
by Chamox
Logic error using the getline() function
 
Hello, I have written a small sample program that reflects the problem that I'm having in my larg...
[4 replies] Last: Thanks everyone. cin.ignore(); Just worked fine. Tricky thing to mix... (by Chamox)
Noughts & Crosses [WIP]
 
Game i'm working on, this is what i have so far, in future i'm going to add an auto feature to recog...
[1 reply] : Did you need help with something? (by Brianzor)
by ascii
getline just skipping
 
im trying to solve a problem in my programming book which is an incredibly simple challenge in itsel...
[3 replies] Last: Here's a page on it http://cplusplus.com/reference/iostream/istream/i... (by Brianzor)
new objects at run time
 
When is it generally advisable to create new objects at run time? Is it some think to generally avoi...
[1 reply] : as long as your diligent about using delete its not really a problem (by ascii)
This is the reason why i hate being beginners
 
I am in attempt to solve the traveling salesmen problem despite that i am just in beginner programmi...
[1 reply] : anyone can help me please? (by jimmy5023)
linked list
 
hi everyone! can someone help me with this program? I have to make a linked list by reading a file. ...
[1 reply] : Is it just the addOne() you are having trouble with? The local variabl... (by closed account D80DSL3A)
Issue with file input/output and arrays
 
hello all! Beginning programming this year so excuse me if this is a simple error. I have been tryin...
[no replies]
by wlemay
File input: problem with converting string to int
 
I am having issues reading a string from a text file; my value gets read in properly, but when I try...
[1 reply] : Er, the problem is right after you call getline() you overwrite whatev... (by firedraco)
How can I make a vector of type strings while reading from a file?
 
Hey guys. I am trying to read in words from a file, and I want each one to be an element of a vector...
[2 replies] Last: Hey firedraco. The file looks like: red white blue (by dieseltrain51)
A functions name into a string
 
I want to make a function that would act as a timer and call a specified function when the timer end...
[2 replies] Last: I haven't clicked hamsterman 's link yet, you should if you haven't a... (by Computergeek01)
Factorial help
 
so im making a program that gets factorials of numbers and returns them and using catch and throw to...
[13 replies] Last: Thank you ne555 for taking the time to explain it more i understand wh... (by sorthon123)
by exca
while loop segmentation fault
 
Hi all, I have written a code, and in the beginning of it, it should get input from command line ...
[17 replies] Last: Hrm...honestly, I have no idea...try debugging it and see what happens... (by firedraco)
by Ace70
Fibonacci Stuck on Infinite loop
 
I'm trying to get this program to display the fibonacci sequence to the any digit between 3 & 30. It...
[6 replies] Last: generally in programming its not good to say "i dont understand it but... (by ascii)
April 2011 Pages: 1... 1920212223... 55
  Archived months: [mar2011] [may2011]

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