
please wait
by coley909
help flag controlled loops
|
im not sure what to do with task 3 its suppose to take names and and points and arange them in smallest to largest with totals added up //----------------... |
Dec 14, 2011 at 4:10pm
[2 replies] Last: //start task 3 code------------------------------------------------... (by coley909)
|
by tejas1995
Strings and Arrays
|
Hey Guys, I recently got a problem where I was given a message which had several of the letters repeated several times due to a faulty transmitter. I had to re... |
Dec 14, 2011 at 4:06pm
[4 replies] Last: iostream shouldn't have the .h (by Aramil of Elixia)
|
RPG Game |
Hey guys! I'm just wondering how long will it take before I could fully develop a small RPG game like a small version of RuneScape. I know the extreme bas... |
Dec 14, 2011 at 3:50pm
[5 replies] Last: Yes you can. However you have to understand HOW its doing it. Keep in ... (by WinwordExonar)
|
by B031110034
How to use cin.ignore()??
|
How to use cin.ignore()?? |
Dec 14, 2011 at 1:12pm
[1 reply] : http://cplusplus.com/reference/iostream/istream/ignore/ What's the pr... (by hamsterman)
|
by jet0717
Why does this fail? how to fix this?
|
#include<iostream> #include<cmath> #include<iomanip> using namespace std; bool quadratic(int, int, int, double, double); int main() { int a, b, c;... |
Dec 14, 2011 at 12:56pm
[9 replies] Last: #include<iostream> #include<cmath> #include<iomanip> using namespace ... (by anshu875)
|
by Integrater
Simple Program Crashes
|
Can you see what is wrong with this program? 0 causes an exit which is normal. The program also seem to run fine with input less than 7, if I enter 7 or more I ... |
Dec 14, 2011 at 12:53pm
[2 replies] Last: Silly me :/ Thanks (by Integrater)
|
by nicoling1234
LINKED FILES
|
Good day! I want to create a program that will allow the user to access other programs. For example: What program do you wish to open? Dictionary Thesauru... |
Dec 14, 2011 at 12:52pm
[1 reply] : It depends, will you create one executable for each program, or one fo... (by bartoli)
|
by poohpooh
Switch case help
|
Hello i have made this Switch but the problem is that its clwasy running the first case 1 but i want it to run the 1st and then 2nd an so on. int All = 1... |
Dec 14, 2011 at 11:41am
[9 replies] Last: i got it to work with this code thanks guys void MouseClick(int X, ... (by poohpooh)
|
by poohpooh
mouse_event array random
|
hi how would i use mouse_event with a array and pick it random? thanks int MouseArray = {26623.6, 28756.9, 30975.5, 33364.8, 35668.8, 38143.4}; mous... |
Dec 14, 2011 at 9:47am
[no replies]
|
by ilife008
problem:my little app of calculation
|
#include <iostream> #include <string> #include <sstream> using namespace std; void cutstring(string & p,int &pos,double & opd1,double & opd2) { ... |
Dec 14, 2011 at 8:13am
[no replies]
|
by Azat
task
|
Can you give me any tasks? |
Dec 14, 2011 at 8:07am
[8 replies] Last: understand thank you (by Azat)
|
need if that returns #digits from loop |
im am trying to create an if statement to the effect of if(msgIDcount <= 9) { msgIDmidSpaces = 2; msgIDinttotextSpaces = 1; } else { msgIDm... |
Dec 14, 2011 at 7:58am
[no replies]
|
by punjabian
calculating max sum of a sub rectangle in an array
|
given a 2d array, how can we calculate the maximum answer that any of its subRECTANGLE could give when that subrectangle's elements are summed up. i came up wi... |
Dec 14, 2011 at 7:30am
[no replies]
|
by liondancer
Project Euler #2
|
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: 1, 2, 3, 5, 8, 1... |
Dec 14, 2011 at 5:54am
[2 replies] Last: @firedraco: int can store up to 2^31 about 2 billions. @liondancer... (by tfityo)
|
by bigbluerobo
inheritance problem
|
i need code for this problem so i can understand how its done: A CollegeCourse class includes fields representing department, course number, credit hours, an... |
Dec 14, 2011 at 4:22am
[1 reply] : class CollegeCourse { //... }; class LabCourse : public Coll... (by IceThatJaw)
|
by rinnamorato
Help creating a while loop
|
Guys, I wrote a program that search for substrings and prints the line starting with the substring to the end of the line. I need to add a loop that will co... |
Dec 14, 2011 at 4:15am
[1 reply] : A for loop would be easier to use to traverse an array. (by IceThatJaw)
|
by esum
passing strings to functions
|
When passing a string from std::string into a function, do you have to reference the address? Which is correct: string foo(string my_string) { return m... |
Dec 14, 2011 at 3:59am
[1 reply] : Passing without the & makes a copy of the variable. Passing with the &... (by IceThatJaw)
|
by KS05
How would you handle this question?
|
Hello, I am going over practice questions for my final exam for an intro c++ class that I am taking. The one question is: Write a function named prcoessArra... |
Dec 14, 2011 at 3:50am
[2 replies] Last: This might be easier to read than wjee's. void foo(double* arr, do... (by IceThatJaw)
|
by Billywizz
Overriding<< operator
|
Hi i am new to C++ and i am working on a project where i override the output operater << using a friend method i know how to do this for a regular output where ... |
Dec 14, 2011 at 3:36am
[2 replies] Last: Even better than making that a friend would be to have getter methods ... (by IceThatJaw)
|
by joshrocks
would this work?
|
#define music "<C:\Documents and Settings\Josh\My Documents\My Music>" or would that just make it a string if it would then how would i access these types of... |
Dec 14, 2011 at 1:38am
[2 replies] Last: Well i wan't to accwsese a ceirtan music file but then i would have to... (by joshrocks)
|