
please wait
by rcast
Redundant Function (recursion)
|
I'm simply trying to allow user to input a string, and then select the character he is searching for in the string and the program outputs the position of every... |
Mar 13, 2013 at 3:39pm
[4 replies] Last: Thanks Chervil and ne555. I moved the message into the test check cond... (by rcast)
|
by Foxar
Mistake in the source code, no error, game. (1,2)
|
Hello. I am writing a small minesweeper-like game. Currently it doesent has "hints" in forms of numbers appearing, yet. Before doing this i need to fix a proble... |
Mar 13, 2013 at 3:29pm
[24 replies] Last: I thought about that it is uninitialized integer as well, but if you s... (by Foxar)
|
by Riles19
functions with char
|
Hello everyone, 1 How can I pass a variable char to a function. 2 How can I return a variable char in the return of a function. In this example is better... |
Mar 13, 2013 at 2:58pm
[1 reply] : If you indeed want to pass and return a variable of type char then the... (by vlad from moscow)
|
by Felicia123
get equivalent polar coordinates
|
#ifndef _POINTCLASS_H #define _POINTCLASS_H #define _POINTCLASSS_H #include <iostream> using namespace std; class Point { private: double x;... |
Mar 13, 2013 at 2:55pm
[10 replies] Last: Glad its working out. If you need help in the future, just post a qu... (by Chervil)
|
by Shannon92
HELP! I can't figure out how to use a sort function
|
This is a portion of my code where I have tried to put in a sort feature But as you can most likely see I have no idea how to use one. This program reads in "gr... |
Mar 13, 2013 at 2:48pm
[8 replies] Last: Hey I'm sorry I keep forgetting to tell you THANK YOU! I finally got i... (by Shannon92)
|
Help with nesting |
Online Book Merchants offers premium customers 1 free book with every purchase of 5 or more books and offers 2 free books with every purchase of 8 or more books... |
Mar 13, 2013 at 2:37pm
[3 replies] Last: I need to see more of your code... You cannot say else isPremiumCustom... (by rcast)
|
by Smatik
math sum problem
|
i m trying to solve the following equation: 1-x^2/2 + x^3/3 - x^4/4 + x^5/5 + ....x^n/n where value of x and n are obtained by the user. I made the follo... |
Mar 13, 2013 at 2:24pm
[2 replies] Last: total+=double pow(double x,int i)/i; →→ total+=pow(x, i)/... (by MiiNiPaa)
|
by lordrey
pls help me trace my final exam
|
#include<iostream> using namespace std; int main() { int i, k, ans=0; for(i=1; i<=4; i+=2) { for(k=1; k<=i; k++) { ans = 2*i*k; } } cout ... |
Mar 13, 2013 at 1:30pm
[2 replies] Last: thanks you so much. (by lordrey)
|
by tcan618
Changed the question, HELP ASAP PLEASE
|
How can I force program to end when a specific function is called for the second time ?? //EDİT: okay I understood that I can't do that.. Help me with this ... |
Mar 13, 2013 at 1:23pm
[9 replies] Last: Whoops. Yes, you are right. Looks like only way to safely do this is t... (by MiiNiPaa)
|
by ASAAD
if/else & switch statements
|
I need more difficult exercises for if/else & switch statements. |
Mar 13, 2013 at 12:55pm
[1 reply] : Asking for more difficult exercises on if-else and switch statemen... (by MiiNiPaa)
|
by GGMethos
Implementing an Array Based List class to perform a selection sort
|
Trying to implement a selection sort using an array list. However, I can't seem to be able to call any of my list functions from main. When this code is exec... |
Mar 13, 2013 at 12:49pm
[3 replies] Last: Define it like you define any other variable... May be like this..... ... (by kameswarib)
|
by tpinon
structures and functions HELP!!
|
I can't get this to compile. This is my first time with structures with arrays and functions and I don't understand this compiler error. Please help! Error (... |
Mar 13, 2013 at 11:42am
[2 replies] Last: thank you Maeriden! that was a silly miss on my part. (by tpinon)
|
by degausser
Calculator program passing values by reference.
|
#include <iostream> using namespace std; void CalcIntResults(int nFirst, int nSecond, int &nResult); int main(void) { int nFirst = 0; int n... |
Mar 13, 2013 at 11:32am
[12 replies] Last: If you'll notice, in order to make everything look 'neat' I leave the... (by AbstractionAnon)
|
by ahkbarnine
ples forum. .
|
Hello forum, I seem to be having trouble compiling this program. . I get 3 different errors for the same 2 lines. 1) stray '\226' in program 2) '(pay... |
Mar 13, 2013 at 10:49am
[3 replies] Last: @Chervil I appreciate the quick and detailed response. Thank you (by ahkbarnine)
|
Substring??? |
// How do I do assign card.substring here??? string value = card.substring(0, card.length() -1); string suit = card.substring(card.length() -1); ... |
Mar 13, 2013 at 10:47am
[1 reply] : if ( card.length() != 0 ) { std::string value = card.substr( 0, ca... (by vlad from moscow)
|
by Majidh
Address Book
|
I am making an address book. need to know if everything is OK in this code. Need Help #include <iostream> #include <cstdio> #include <fstream> #include <... |
Mar 13, 2013 at 10:01am
[no replies]
|
by StevenH
Checking Answers.
|
So i have an assignment. I would like it it someone could write code for the criteria of each question, shits got me so confused right now. A. The kinetic e... |
Mar 13, 2013 at 10:01am
[8 replies] Last: float works fine in this case. You will need to remove int and use flo... (by osgwsy)
|
by jaden5165
char * abc = (char *)
|
char * abc = (char *)"1ns" what does this code do? which chapter of C or C++ can find this ? |
Mar 13, 2013 at 9:45am
[9 replies] Last: ok.. thanks MiniPaa! (by abhishekm71)
|
by Smatik
New to c++
|
I m new to c++. I have studied C++concepts, DATA file Handling and Data structures in c++.I've been using Turbo c++ andNow i am having problems in switching to ... |
Mar 13, 2013 at 7:48am
[1 reply] : #include<iostream.h> →→ #include<iostream> .h versions o... (by MiiNiPaa)
|
by StevenH
Student, Need Help!
|
//Homework assignement 1 question 3 #include<iostream> using namespace std; int main() { int A; int B; int C; int D; cout<<"Enter a number for A"... |
Mar 13, 2013 at 7:38am
[7 replies] Last: Hi, i have edited your code. Hope this helps. #include <iostream> #... (by osgwsy)
|