
please wait
by toomanystars
Identifying objects
|
Hi guys, a quick question. If I have a Base class, and say two derived classes A, and B with some virtual functions, and set things up thus. std::ve... |
Mar 4, 2014 at 10:41pm
[3 replies] Last: std::vector<Base> base; This creates a vector of Bases, no A or B ca... (by Cubbi)
|
by AlvaJames
Structures Help
|
Hello, I have this code where I have finished and have tried reopening the project and running it again before I submit it for college. When I run the code in C... |
Mar 4, 2014 at 10:20pm
[8 replies] Last: You are the best person I have talked to about this!!! Thank you so mu... (by AlvaJames)
|
by owenkmc
having trouble on assignment can anyone help?
|
so I have a homework assignment that im working on that im having trouble with. I have found someone else doing it on here but they used arrays and we haven't l... |
Mar 4, 2014 at 10:09pm
[1 reply] : If you do expect an unknown number of values in unknown order, then yo... (by keskiverto)
|
by banmail2
Positioning Functions
|
I want to display these two functions as two columns next to each other. Ex: Column1 Column2 8 9 10 ... |
Mar 4, 2014 at 10:05pm
[2 replies] Last: I can't get rid of the "Heading" function (my teacher wants two functi... (by banmail2)
|
by yusufseedat
Number sequence
|
please can i get some assistance. I need to write a code to display a given number sequence based on the amount of terms the user wants. The number sequence is ... |
Mar 4, 2014 at 9:41pm
[2 replies] Last: it starts at 100 and ends ar zero. but will only display the number or... (by yusufseedat)
|
by ckratz
altering output based on newline check
|
I am doing an assignment that requires me to read lines of data, of various data types, from a text file which represents phone lines on an account. My text fi... |
Mar 4, 2014 at 9:29pm
[4 replies] Last: Zhuge: That is essentially the idea but unfortunately I can't seem ... (by cire)
|
by tdenning
Help with Homework assignment
|
I have been looking at this til my eyes are crossed. The assignment is to convert an "alpha" phone number into the corresponding digits allowing the user to en... |
Mar 4, 2014 at 9:19pm
[3 replies] Last: OH..thank you!!!..I was really getting a headache. (by tdenning)
|
by SrgjanLDTeam
How TO Convert Integer To String?
|
for string to integer is "stoi" function what about integer to string? |
Mar 4, 2014 at 8:49pm
[1 reply] : http://www.cplusplus.com/articles/D9j2Nwbp/ (by unsensible)
|
by wolfv
return stringstream from a function?
|
How to return a stringstream from a function? There are many examples online of passing stringstream into a function; but I did not find anything about retur... |
Mar 4, 2014 at 8:31pm
[3 replies] Last: Thank you again Catfish666! (by wolfv)
|
by aju33
Exercise in Array Processing
|
Hello! I've been posting for a little while. I truly appreciate the help I find here at cplusplus. THANK YOU!!!! Ok, I have to learn about arrays, and wha... |
Mar 4, 2014 at 8:16pm
[1 reply] : Now save it in the input file in binary using object serialization. ... (by pukol)
|
by pukol
Sentinel value
|
How do i end the for loop once i press enter.. It's a log-in password so once i press enter it should proceed to the next step but it doesn't. please help ... |
Mar 4, 2014 at 8:03pm
[no replies]
|
by mathisona
writing multiple records to a file and displaying them all
|
My program compiles but doesn't actually work. It seems to only display the last record entered where I want it to display all the records that are entered. I ... |
Mar 4, 2014 at 7:29pm
[2 replies] Last: MiiNiPaa! Thank you! I can't believe it was that simple. I kept try... (by mathisona)
|
Count controlled loops and functions |
Im writing a program that reads numbers and either classifies them as prime or prints their prime divisor, for a class. Im trying to understand what is being as... |
Mar 4, 2014 at 6:48pm
[no replies]
|
by chamburger
Stock Trading Database
|
Hi. i'm new to the forum and am new to c++. I am looking to work on some programs while waiting for classes to open up at my CC. I have an idea for a stoc... |
Mar 4, 2014 at 6:20pm
[4 replies] Last: how about libcurl? is that something I would have to download and link... (by chamburger)
|
by RobGillespie
Max until Sentinel
|
Ok so I've been assigned a code to write that seems fairly easy but I'm having trouble figuring out one thing. I understand iteration and while loops but I don'... |
Mar 4, 2014 at 6:15pm
[5 replies] Last: Haha, I just solved it right after entering the question again...this ... (by RobGillespie)
|
Library String and String Literals are different |
What do they mean when they say this in my book? "String literals are not standard library strings" |
Mar 4, 2014 at 5:58pm
[2 replies] Last: Thank you L B. (by closed account EwCjE3v7)
|
by JasonMcG
Programming "q"to quit
|
The program generates triangles continuously. I want when the user inputs the letter "q" that the program will terminate. How do you program this? And if the us... |
Mar 4, 2014 at 5:54pm
[11 replies] Last: Thanks a lot! Appreciate it! Have heard of this atoi however was unsur... (by JasonMcG)
|
by Lilspree
Linked-List struct data type
|
How do I declare an instance of the linked list with the data type of a struct. For example... class DVD { private: struct disc { int length; strin... |
Mar 4, 2014 at 5:36pm
[4 replies] Last: Thank you I will try that! (by Lilspree)
|
by cyter
how's result 7?
|
How's the result 7 in the following code? void foo(int i){ if(i>1){foo(i/2);foo(i/2);}cout<<"#"<<endl;} |
Mar 4, 2014 at 5:33pm
[1 reply] : What do you mean? 7 what? (by Peter87)
|
by robozzz
having issues with arrays of structs
|
So i keep trying different things to get an array to hold my structs and my latest has me trying to use pointers but kinda at a lost and need to be pointed in t... |
Mar 4, 2014 at 5:12pm
[5 replies] Last: Haha, i am not sure i fixed that right before i saw this post! It is w... (by robozzz)
|