
please wait
A function that displays elements of a vector |
I need to write a function that takes in a vector of strings and a vector of integer indices and display just those elements in the vector of strings at the giv... |
Oct 12, 2011 at 2:36am
[3 replies] Last: You really should try to compile the stuff you have and the stuff peop... (by Duthomhas)
|
Changing Color Of Text |
Hello, How do you change the color of input in a console application, and how do you change the color of output? Any help would be appreciated. |
Oct 12, 2011 at 2:35am
[5 replies] Last: Depends on how complicated your application is. For heavy stuff, use ... (by Duthomhas)
|
by traviswake
a little help please
|
I am having some trouble with a loop program if anyone could give me some pointers i would be greatly appreciative thanks. #include <iostream> #include <iom... |
Oct 12, 2011 at 12:50am
[7 replies] Last: ok thanks now i just have to figure out the proper way to word that hm... (by traviswake)
|
by homsta
What am I doing wrong with istream?
|
I've pretty much figured everything out except when trying to overload the '>>'. I seem to be able to get it to cin both my variable but when I want to see what... |
Oct 12, 2011 at 12:15am
[2 replies] Last: Correct. Without the &, the operator is actually modifying a copy ... (by Disch)
|
by OoshieRawr
Help me out?
|
Okay I'm in quite a pickle.. I believe the program almost done however I quite know what put it the lines I skipped. I'll leave what my issues are how they are ... |
Oct 11, 2011 at 11:52pm
[6 replies] Last: You still haven't asked a question. What do you need help with? (by ascii)
|
by superjack
stack overflow
|
hi there, Im currently writing a C++ console program, which goes like: /========================================================= #include <string.h> #i... |
Oct 11, 2011 at 11:39pm
[4 replies] Last: amazingly powerful, incredibly wonderful:-) i thought i ned 2 take mor... (by superjack)
|
by fiveoneooo
some loop help
|
So I am trying to write a program where you sell tickets. For every 10 tickets you sell the price decreases 50 cents. Right now I have a good start but my loo... |
Oct 11, 2011 at 11:24pm
[7 replies] Last: Create a function that finds the max. I'll get you started... float m... (by novablows)
|
by Golden0907
Code Help
|
Fixed |
Oct 11, 2011 at 11:04pm
[2 replies] Last: Yep, Wow that's it. Stupid me. I appreciate it! (by Golden0907)
|
by kong288
Console Help..
|
Hello. I need help on making my text look better. When I do cout, and the lines are to big for the console screen, it cuts words off. Like.. cout << "Hel... |
Oct 11, 2011 at 10:40pm
[2 replies] Last: Resize your console. Right click your console when it pops up and GoT... (by mbentley1989)
|
by Bradd
Stuck on this Code... Help please!
|
#include <iostream> #include <string> #include <fstream> #include <cmath> using namespace std; int main () { int creamer,milk,soda,water,cookies,chips,cr... |
Oct 11, 2011 at 10:13pm
[13 replies] Last: Ignore it. It's a precompiled header thing that VS puts there if you ... (by Disch)
|
by detroit
How?
|
How do you define an overloading operator: operator ++? And if possible a simple code would be appreciated. Thanks in advance |
Oct 11, 2011 at 9:52pm
[2 replies] Last: I do not see an example of operator++ Arthar http://www.cs.calt... (by detroit)
|
by duggie323
Consolidation help
|
Hi all, I've only been doing this a few days. I decided to try the program that asks you to input your score on a programming test and then returns your g... |
Oct 11, 2011 at 9:35pm
[12 replies] Last: I'll work on it now and I'll let you know if it works. ok so you can... (by novablows)
|
by mj1709
name printing.
|
#include<conio.h> #include<stdio.h> main() { char a ; int mi,endC,bend,i=0,j=0; clrscr(); printf("enter the NAME\n"); scanf("%[ abcdefghijklmnopqrstuvw... |
Oct 11, 2011 at 6:22pm
[1 reply] : this is a C++ forum bro, head over to a C forum for help ;) (by xander333)
|
by askari
c++ calculator programme
|
Hey all..Im a beginner in c++ programming.. I have problem in my program that ive written..i would we very thankful if you point out my mistakes cuz programme i... |
Oct 11, 2011 at 5:32pm
[2 replies] Last: Because you forgot to add break at the end of your switch statement. (by ThangDo)
|
algorithm |
please i need help in 1. writing an algorithm to find the factorial of 10 2. enumerate the operators and operation to represent the following i. comparism ... |
Oct 11, 2011 at 4:55pm
[1 reply] : #include <iostream> int Ffactorial(int iValue); int main() { std... (by fashdee)
|
by dznguy
fstream and getline
|
so im reading from a .txt and am having trouble figuring out how do i make it so that fin >> x or getline(fin,x) would read in certain part of the text text... |
Oct 11, 2011 at 4:55pm
[2 replies] Last: The getline () function allows you to terminate on something other th... (by Duthomhas)
|
by jayden118
Help: Error C2664 during compiling
|
Hi all, I want to save my algorithm result to a file so that the data can be used in future.Unfortunately i failed to compile my code and hope you guys can help... |
Oct 11, 2011 at 3:10pm
[7 replies] Last: szBuf is a C string containing the error text. You can cout it to... (by Moooce)
|
by Maryyy
Printing an array of chars.
|
Consider the following code: char c ="hello"; cout << c; I know that the name of an array of chars is a pointer. So, why does "cout" print the content of... |
Oct 11, 2011 at 1:57pm
[1 reply] : operator<<() has an overload that takes an output stream (e.g. std::co... (by helios)
|
by liondancer
header file contents
|
I have this header file and it's filled with this #ifndef _DSEXCEPTIONS_H_ #define _DSEXCEPTIONS_H_ class Underflow { }; ... |
Oct 11, 2011 at 11:19am
[2 replies] Last: thank you for your help! much appreciated! (by liondancer)
|
by Mr Hat
Array of bitsets
|
Good day, I am working on DES encryption (it's a school project), and I need to use an array of bitsets. How do I go about doing this? I've tried: bitset... |
Oct 11, 2011 at 11:02am
[3 replies] Last: Try passing it by reference. (by closed account 1vRz3TCk)
|