
please wait
by hops
Beginner in need of help.
|
I'm really having a hard time understanding how to print pyramids using asterisks. Can someone please explain the procedure step by step? example of how the ... |
Oct 12, 2014 at 11:03am
[1 reply] : 1) make a loop which will be executed as many times as there is pirami... (by MiiNiPaa)
|
by davidc626
Converting area unit
|
I need to convert unit between Square metres Square feet.Here is my a part of code. void Q1(){ int opt;double UnitA;double UnitB; cout << "~Area con... |
Oct 12, 2014 at 10:46am
[1 reply] : 1.) You need break statements for the cases unless, you intended for i... (by Subzero030201)
|
by abdalimran
STL Map: How to look up key through value?
|
If I write the following code, #include <iostream> #include <string> #include <map> using namespace std; int main() { map<int,string>grade; ... |
Oct 12, 2014 at 10:20am
[1 reply] : 1) make it map<string, int> . You will get ability to print 80 using ... (by MiiNiPaa)
|
by Wulfinite
Class & Objects Problem
|
Can someone tell me what is wrong with this code? It seems pretty straight forward. I'm just accessing a private variable through public functions but on line '... |
Oct 12, 2014 at 10:10am
[3 replies] Last: TheIdeasMan is right. but... This should also work now. #include <i... (by Subzero030201)
|
by tehlolxz
Remove Duplicates from Array
|
I'm trying to create a random number generator and storing it into an array, however I sometimes get duplicates. How do I remove the duplicate from the array an... |
Oct 12, 2014 at 8:37am
[1 reply] : You'd need to, after generating a particular index's number, check all... (by TheKingOfTyrants)
|
by DBROWN13119
Saving Processed Data from an InvenSense MPU9150 to an SD card
|
I want to save processed data (calibrated acceleration and fused euler angles) generated from the Arduino9150 sketch from https://github.com/richards-tech/MPU91... |
Oct 12, 2014 at 8:29am
[no replies]
|
by Emil1
WORD UNSCRAMBLING PROGRAM
|
Uhhh hi i need help for my program. So basically i want my program to list all possible combinations of 4 letters in a word. Ex. The word "TEST" can be unscramb... |
Oct 12, 2014 at 8:14am
[1 reply] : Check this function: http://en.cppreference.com/w/cpp/algorithm/next_p... (by MiiNiPaa)
|
by Masada
Template Function issue
|
I'm working on an assignment and I'm learning how to use templates. Based on the instructions given, I'm not sure where I've gone wrong. I'm getting an error... |
Oct 12, 2014 at 7:05am
[8 replies] Last: I think I'm going to give up on this for the night. I did what you sai... (by Masada)
|
by MRangel
Arrays and functions
|
Hey guys, What I am trying to do is get this 2darray to pass to the function. The code looks weird simply because I have cut everything down to basically not... |
Oct 12, 2014 at 5:50am
[2 replies] Last: Hi keene, You are the man that worked! Thanks for your help!!! (by MRangel)
|
problem with string input.code included. |
Write your question here. void addstudent() { int c = 0; c++; system("clear"); cout << "A D D A S T U D E N T" << endl; ... |
Oct 12, 2014 at 5:16am
[2 replies] Last: Thank You so much! Problem solved. I was obsessing over this so much. ... (by omkarborkar95)
|
by Pg0715
functions help
|
im having trouble understanding what this means if somebody can help explain to me what it stands for so I can go on doing my work. The third function o Use t... |
Oct 12, 2014 at 4:26am
[7 replies] Last: ok thanks for the help (by Pg0715)
|
by Korcha
Print out a string backwards
|
I don't understand why this is not working... #include <iostream> #include <string> using namespace std; int main(){ string mystr = ""; cout ... |
Oct 12, 2014 at 3:54am
[6 replies] Last: Ahaha no prob :) (by LendraDwi)
|
by Pg0715
enum type with functions
|
ok so first im suppose to create an enumerated type called Grade. then have two functions one function called void displayGrade(Grade)which I need to have as a ... |
Oct 12, 2014 at 3:52am
[1 reply] : You don't need single quote for using enum inside switch (by LendraDwi)
|
find function in string not working |
I've been working on this code for days and just can't make it work. Everything else in here but the getTexas function is working. What am I doing wrong!?!?!?... |
Oct 12, 2014 at 3:41am
[4 replies] Last: You are completely and totally awesome!!! Thank you sooooo much!! Se... (by lostnconfused)
|
by foolofools
new to c++ i need some help cant figure this out
|
so i have a project due tomorrow this is exactly what it wants from me "Write a program which is used to calculate the GPA based on the grades for different co... |
Oct 12, 2014 at 3:06am
[3 replies] Last: thanks so much i appreciate it this is my first year in c++ and i am s... (by foolofools)
|
by spring2014
What is wrong with this 3*3 array program?
|
Dear Friends, I want this code get "t" 9 times from a .txt at desktop and save the acc(t) results in array forms in text file in desktop. But while running ... |
Oct 12, 2014 at 3:03am
[1 reply] : There is only a warning at line 13 to say that you have declared n but... (by closed account 48T7M4Gy)
|
by pandora10
Trying to figure out this for loop
|
I have been trying to write a program for an assignment to write bar codes. I have found some similar programs to help give me some ideas but, I can't understan... |
Oct 12, 2014 at 2:18am
[1 reply] : not sure what you are trying to do with <</b>32 it probably should b... (by giblit)
|
by leaderofel
Homework/lab trouble
|
Hi I really appreciate you taking the time to help me. I'm in my first semester in C++ and I'm having a lot of trouble with this lab. I just learned what the wh... |
Oct 12, 2014 at 1:56am
[3 replies] Last: You can use an array to store all the digits you find or if you know h... (by Smac89)
|
by dunnDolphin
counting iterations of a while loop
|
I am starting with a user input (a whole number). The goal is to us a loop to decrement the input number by 10. What I want to out put is the final number of it... |
Oct 12, 2014 at 12:01am
[2 replies] Last: Thanks, that helped a lot. Now I have to add a part that captures the... (by dunnDolphin)
|
by zachelwood
Using random binary #s to select random item from odd-numbered list
|
I'm fairly new to programming and have a general computer programming logic that's been bugging me. This is just a logic problem that I've been trying to figure... |
Oct 11, 2014 at 11:55pm
[no replies]
|