
please wait
Strings |
I made a simple program to compare two string values using If statement, in functions, Please any1 guide me or sort it out for me that when the program ask the ... |
Jun 28, 2013 at 4:52am
[4 replies] Last: I'm sorry but we aren't your employees and we won't just give you the ... (by closed account 3qX21hU5)
|
by TrulyRazor
Beginner program ideas?
|
Hello! I recently started learning C++ with the tutorials over at http://www.learncpp.com, and I was looking for some ideas for programs I could make. I just f... |
Jun 28, 2013 at 4:48am
[16 replies] Last: I appreciate the response. That while loop with all the std::*stuff*... (by cire)
|
by bardia
No error... Code just not working???
|
P.S. Sorry for the broad title just didn't know how to describe it :/ Hey guys, I'm new to this forum. I was just wondering, I have this code: int code(... |
Jun 28, 2013 at 4:40am
[1 reply] : You are using the wrong operators from lines 19 to 26. int var; v... (by Daleth)
|
by Minimacfox
Connect Four - Suggestions?
|
Do you guys have a good tactic to tackle different possible events of input? It wasn't that bad putting in 'if' statements for every single possible situation i... |
Jun 28, 2013 at 3:50am
[2 replies] Last: I got an answer if it helps you any. (by Superdude)
|
by undph
Calculator
|
Hello, I want to write a calculator. This calculator should have 2 dynamic storages which store as much storage as the user wants to type. How do I implement... |
Jun 28, 2013 at 2:24am
[9 replies] Last: Playing around with some c++11 #include <iostream> #include <map> #i... (by Lowest0ne)
|
by sghamghamy
Same response all the time
|
Hi, This project is basically very simple. I think coding wise looks okay. But when I run it, I always get the same answer "The object will float". ... |
Jun 28, 2013 at 2:14am
[4 replies] Last: Thanks all. I fixed it. (by sghamghamy)
|
by pupu
help key config
|
as most of ppl here should know, press "enter key" close the programm/window, then I dont know how use cin<< number , if I cant enter number because pressing en... |
Jun 28, 2013 at 12:13am
[4 replies] Last: Post the full code. (by maeriden)
|
by skierrob
Printing array and getting garbage at end.
|
The program works with the exception that garbage is being displayed on the screen after the p has been stripped. I'm going nuts. Thanks in advance. /... |
Jun 28, 2013 at 12:02am
[1 reply] : You use <= on line 24, so you try to write to the 11th element of your... (by Zhuge)
|
by Paoletti301
question about inheritance and virtual methods
|
So my question has to do with the " virtual int compare " method. im trying to make superclass that would allow subclasses to be sorta based on their values. th... |
Jun 27, 2013 at 10:35pm
[2 replies] Last: Great :D it works thank you andy (by Paoletti301)
|
by undph
Vector<string> in double!
|
Im writing an calculator which is able to handle with sin, cos, PI, ... I wrote one string vector which stores the numbers and functions(sin, ...) and one stri... |
Jun 27, 2013 at 10:19pm
[1 reply] : http://stackoverflow.com/questions/392981/how-can-i-convert-string-to-... (by ats15)
|
For loop problem |
I was just transforming a while loop into a for loop.to learn my for loops working while loops #include <iostream> using namespace std; int main() { int ... |
Jun 27, 2013 at 9:41pm
[4 replies] Last: Thanks (by closed account EwCjE3v7)
|
by cshu
arrays and functions
|
Im almost done with this project, but when I out put the solution for the employees's wages I get really long negative numbers //Cedric Shumate //Payroll... |
Jun 27, 2013 at 9:18pm
[3 replies] Last: It is your task to write bodies of the fwo functions. I showed you the... (by vlad from moscow)
|
by drake1313
atoi function problem using it on part of an array
|
In this program I'm writing I have the user enter an ID (4 characters long), first two characters are upper case letters and last two are digits with sum less... |
Jun 27, 2013 at 8:20pm
[3 replies] Last: The atoi() function needs a character string, so you would have to tak... (by Chervil)
|
by Angry Food
Infinite Loop Help!
|
Hi. I don't know why why program doesn't work the way I want to.It keeps looking whenever I want to type '-1'. I know I', experiencing an infinite loop but I'm ... |
Jun 27, 2013 at 8:04pm
[7 replies] Last: while (miles != -1 ) (by bigdog225)
|
by bigdog225
Syntax is correct, but won't compile?
|
I've been stuck at this part in my code for a bit basically.The error comes in at line 21 and 13, but I don't understand the errors 21 G:\program5.cpp new t... |
Jun 27, 2013 at 7:51pm
[2 replies] Last: its funny how little things like that can throw off the whole flow of ... (by bigdog225)
|
by Deep India
Function object
|
when we have to use a function object in our code? |
Jun 27, 2013 at 7:32pm
[3 replies] Last: If your looking for examples on when you would use it, here are some: ... (by pata)
|
by tdk93
Linked List, Access Segmentation Fault, Run time error
|
I am trying to implement a linked list with size(defined 10 in this case) items The code compliles fine but gives a run time error at the bolded comment below.... |
Jun 27, 2013 at 6:03pm
[5 replies] Last: On line 25, t is set to point to a Node who's next pointer is null (0)... (by cire)
|
by piczim
float setting decimal places
|
I am trying to find out when using float in a calculation how to set the number of decimal places. For example my code below #include <stdio.h> int mai... |
Jun 27, 2013 at 5:55pm
[2 replies] Last: Try this : printf("the answer is %4.0f\n",answer); It is all docum... (by TheIdeasMan)
|
Whats wrong with the code |
Whats wrong with the code? My friend sent it to me. works for him #include <iostream> using namespace std; int main() { const int max_items = 10; string ... |
Jun 27, 2013 at 4:55pm
[9 replies] Last: Thanks guys it worked ..in my friends compiler u dont need to include ... (by closed account EwCjE3v7)
|
by MrProgrammer
Is there a memory leak in this small program?
|
Sorry for asking so many pointer questions.. My last one though... #include <iostream> using namespace std; class Box { public: int x, y; }; B... |
Jun 27, 2013 at 4:26pm
[4 replies] Last: Thank you. (by MrProgrammer)
|