
please wait
by bryevo
cout undeclared?
|
This is my header file #ifndef TREE_H #define TREE_H namespace BSTree { class SearchTree; //forward declaration class TreeNode { public: Tre... |
Dec 5, 2014 at 1:33am
[3 replies] Last: and...the errors are? (by giblit)
|
by alcon92
hangman project please help
|
hello guys I really need you guys help I did this programming project but there is something wrong with it and I honestly can't figure out what the problem is. ... |
Dec 5, 2014 at 12:27am
[no replies]
|
by MauriceJ95
Need help finishing SDL Connect Four program
|
#include <iostream> #include <string> #include <ctime> #include "SDL2/SDL.h" using namespace std; /* window width and height */ const int WINDOW_WIDTH ... |
Dec 4, 2014 at 11:23pm
[no replies]
|
by BinaryGeek
How to Pass by Value-Result
|
I'm trying to understand the pass by value-result. The code I have came up with so far only does by value and by reference, which I understand. The value-result... |
Dec 4, 2014 at 10:01pm
[4 replies] Last: An argument passed by value-result is implemented by copying the argu... (by helios)
|
by bonho
Getting consistent type names under Windows and Linux
|
I'm writing a server/client application in C++, one linux and one windows. The generic communication method is to use the boost::serialization package, but I'l... |
Dec 4, 2014 at 8:32pm
[7 replies] Last: so useful topic....it helped me so much www.electrotechnic.mihanblog.c... (by majid1986)
|
by rdekou
Get the output of CImg C++ code in python
|
To speed up my python code, I'm trying to insert CImg C++ code within it. I'm able to read the python data (input variable, is a pointer to a numpy.array phi) ... |
Dec 4, 2014 at 7:27pm
[no replies]
|
by Nanyo
no output
|
Hi, does anyone know why when I enter the number of humans and skeletons nothing happens #include <iostream> #include <windows.h> #include <stdlib.h> u... |
Dec 4, 2014 at 6:51pm
[1 reply] : Because you're passing them into your "userInput()" function by copy, ... (by Computergeek01)
|
How to determine if two numbers differ from a specific value |
Hello, in chapter 4 in the book Programming principles and practice using C++ I have to write a program that use a while loop and that each time around the loop... |
Dec 4, 2014 at 6:10pm
[4 replies] Last: > why if I enter 10 and 10.01 I don't get : numbers are almost equal ?... (by JLBorges)
|
by Aradic
Array error using template class
|
So, my only issue is I can't figure out how to assign the array in object Q to the 12 months, Dec through Jan. I then have to sort the array and display the str... |
Dec 4, 2014 at 6:06pm
[8 replies] Last: I don't think that the code that generates the random numbers or store... (by LB)
|
by fafner
SDL_BlitSurface problem
|
I'm using SDL_BlitSurface to get a single sprite out of a spritesheet. My code is: SDL_Rect* src = frameRects.at(currentFrame); if (src == NULL) Engine::get... |
Dec 4, 2014 at 5:12pm
[no replies]
|
by programnoob
Need help with simple linked list maze
|
Hi my names Angelica and I'm new to programming. I'm doing terrible at this so a few questions. Just need to know how to code "my current room." location. Us... |
Dec 4, 2014 at 4:58pm
[2 replies] Last: That sounds like great advice but I'm having trouble implementing it. ... (by programnoob)
|
by mekkatorqu
40 billion in variable
|
I'm trying to do a bitcoin calculator, however I can't get the difficulty (40007470271) to any variable uint64_t diff = GetDlgItemInt(hWnd, IDC_DIFF, NUL... |
Dec 4, 2014 at 4:25pm
[15 replies] Last: @MiiNiPaa thanks! @Lachlan no, I'm getting 8 (by mekkatorqu)
|
by k18522
Void Functions: passed by value help.. to find a total
|
I missed last class on doing void functions because I got sick and im completely lost! ive being using the texts book example for a reference but its not runnin... |
Dec 4, 2014 at 3:59pm
[1 reply] : use code tags please. getShirtCost(shirtCost); pass by reference:... (by mutexe)
|
Why is the program snippet giving error? |
Why is the program snippet giving error? #include<iostream> #include<string> #include<stdio.h> using namespace std; int main() { string help; ... |
Dec 4, 2014 at 3:57pm
[5 replies] Last: gets(...) does not take a string. Use getline(...) instead: http://ww... (by coder777)
|
by usman321
Make a cursor move in c++ using generic functions
|
Hi guys im really confused and don't know how to do all this. i made a cursor using (windows.h) 1. fd or forward [e.g. forward 60] moves forward 2. ... |
Dec 4, 2014 at 3:47pm
[no replies]
|
by khanhdt6
ERROR: strcat command
|
i wrote a short code about string but is wrong. I don't know why? please help me. here my code int main(){ char *s1; char *s2; s1=(char*) "hello "; ... |
Dec 4, 2014 at 2:13pm
[8 replies] Last: Yes, you're right. (by kbw)
|
by snowman8
Having a function inside for_each statement
|
Dear all, I keep on getting error message while trying to pass a function inside a for_each loop.. I have a vector and i used for_each loop to go through the... |
Dec 4, 2014 at 2:09pm
[2 replies] Last: for_each requires a certain signature of the function. The only parame... (by coder777)
|
by Stellale
Template return struct fields
|
Hi, is it possible to define as template the following get functions. Thanks. class Config { public: enum { NO_ID = 999 }; struct ValueType { ... |
Dec 4, 2014 at 10:15am
[6 replies] Last: Not simpler; but more malleable: name and (stringified) value pairs. ... (by JLBorges)
|
by soonkit
Need help on the code for vending machine
|
anyone can guide me on this code , this code seems like not functioning =( #include <iostream> #include <string> #include <cstdlib> using namespace std ... |
Dec 4, 2014 at 9:46am
[1 reply] : Oh that's easy, you forgot to read this page: http://www.cplusplus.com... (by Lachlan Easton)
|
c++ project |
Assalamu Alaikum. Hello every one ! i am new here and my 2nd semester is going to end.But i have to submit a project.But at this moment i can't decide what sho... |
Dec 4, 2014 at 9:39am
[no replies]
|