
please wait
by neel3123
How can I print profit?
|
Hi guys, My store program has to print profit and sales but the get function isn't working. // Store.cpp : Defines the entry point for the console applicat... |
Sep 7, 2014 at 6:53pm
[6 replies] Last: Try what it's tell you to do and see what happens. (by megatron 0)
|
by AbsoluTe 88
Making a stack of a class?
|
I have attempted to google this but haven't had any luck. Is it possible to create a stack of a list? I am just trying to get into lists and being able to push/... |
Sep 7, 2014 at 6:33pm
[6 replies] Last: Ah, my misunderstanding. I'm sure I read that only classes could have ... (by megatron 0)
|
by yaaz32
Skype group for beginners
|
Anyone up for a skype group to work out problems for us beginners? Just for practice or if you have any other ideas it would be cool. |
Sep 7, 2014 at 6:28pm
[8 replies] Last: Awesome! My skype name is: Yaaz32 Yaaz (by yaaz32)
|
by toxiichollow
I need help converting light years into astronomical.
|
Hi guys, i need help with my program. Basically i'm trying to convert light- years into astronomical units, but every time i run this program the astronomical u... |
Sep 7, 2014 at 5:47pm
[2 replies] Last: thank so very much. (by toxiichollow)
|
Extremely confused, switch bug |
Alright so this whole function works fine unless an E is put through the switch statement. It will print out a blank line, then ask for input again. If you put ... |
Sep 7, 2014 at 4:49pm
[4 replies] Last: I figured it out, it was executing fine I just have not set the exit b... (by closed account 3R5fjE8b)
|
by ephekt
strange error
|
Hello everyone, I am getting a really strange error. I am working with dynamically allocated arrays and my program crashes with no errors. Upon trying to debug ... |
Sep 7, 2014 at 4:16pm
[1 reply] : stackoverflow.com/questions/3475262/what-causes-a-sigtrap-in-a-debug-s... (by Aceix)
|
by shnabz
Understanding Pointers.
|
Help understanding exactly what is going on here. int placeTreePosition(vector<int>& vec){ for (auto it = vec.begin() + 1; it != vec.end(); ++it){ if (*it... |
Sep 7, 2014 at 2:50pm
[2 replies] Last: [quote=shnabz]What if the next memory address has nothing to do with t... (by cire)
|
by Victor89
two strings sum in another string
|
My program works something like this: First string: 123 Second string :321 123 + 321 = 444 ---------------------------------------- I want to make it like ... |
Sep 7, 2014 at 2:48pm
[2 replies] Last: I can solve this problem very easy using arrays. But I found this prob... (by Victor89)
|
by daniel95
Getting exponential for the calculation
|
I am trying to get a proper answer from the calculation part.. but in the end it gave me some exponential answer with not the answer I want it. After added cust... |
Sep 7, 2014 at 2:41pm
[6 replies] Last: I admit I got distracted from the original question. Regarding a name ... (by Chervil)
|
by Leegt94
Problem about search
|
Erm...don't know how to make the search function work correctly... string pname; char ans; do{ cout << "\nPlease Enter A Player Name To... |
Sep 7, 2014 at 1:44pm
[2 replies] Last: ya,after you advise me about my logic error... for(unsigned ... (by Leegt94)
|
by richgf85
Investor second opinion
|
I am currently working on a lab for class as follows; A. Use Tiles instead of squares. B. The Tortoise and the Hare are Real Estate Investors Implement ... |
Sep 7, 2014 at 1:13pm
[2 replies] Last: I have put the cpp if you could check them out see if it is correct; ... (by richgf85)
|
by Sh0Ti
PutPixels
|
Hey guys, ive been watching some tutorials and a while ago I also watched a tutorial in which we used many gfx.putpixel commands to draw a face (we were given a... |
Sep 7, 2014 at 11:03am
[no replies]
|
by HappyGoLucky
program for modular exponentiation
|
I am writing a code for (a^b)mod n My code is working for small numbers but gives incorrect result for larger values (ex. (14^11)mod 21 should be 14 but it giv... |
Sep 7, 2014 at 10:59am
[no replies]
|
by LoveToLearn
Compilation errors
|
Write your question here. Hi, I'm getting errors while compiling the below code. please help me in resolving them.. #include <iostream> using namesp... |
Sep 7, 2014 at 10:59am
[10 replies] Last: I use QtCreator IDE: main.cpp:16: error: 'MyCalss' has not been decl... (by Observer)
|
by aeron36
Problem in listing inputs..
|
Here is the code I did using link list. I can add Manager but could not List Manager. Can anybody help to fix this problem ? cout << "1)Add Manager" <<end... |
Sep 7, 2014 at 9:51am
[2 replies] Last: But the full code in about more than 1000 lines.. should i post it her... (by aeron36)
|
by yaaz32
Putting a 1d array in a struct
|
Hey uys! I posted this before but still struggling. I would like to have a struct with 2 members in a 1d array. #include <iostream> #include <string> using... |
Sep 7, 2014 at 8:55am
[3 replies] Last: It is a 1D array. I kind of wrote the number; the compiler calculates... (by keskiverto)
|
by DrJones
easily frame an object in a picture
|
what is the easiest way to frame a object in a .pgm. I am right now trying something with reading the pixel values in a matrix and thereby determine how it sh... |
Sep 7, 2014 at 8:41am
[no replies]
|
by xenovia12
rand
|
what is the base number of rand? i cant rand a number from 5-7 in my program player_damage=7; rand_damage= rand() % player_damage + 5; |
Sep 7, 2014 at 7:40am
[2 replies] Last: a) rand() generates a random number between 0 and 32,767 (at least) b)... (by closed account 48T7M4Gy)
|
by lionking23
sfml tic tac toe
|
............... |
Sep 7, 2014 at 6:51am
[2 replies] Last: I post this for those who wants to help me, not for those who wants cu... (by lionking23)
|
by JOSEluis2796
how do this exercise
|
well, the exercise is do a program that read 3 numbers and show who is the greater. example: 4,8,1 the greater is 8. is easy but I can't use "if" so that ... |
Sep 7, 2014 at 6:23am
[11 replies] Last: even without using ternary operator will do (by xenovia12)
|