
please wait
by wolfv
concat two chars into a string?
|
How to concat two chars into a string? #include <iostream> int main() { std::string myString; //output myString = '2'; std::cout << "my... |
Nov 29, 2014 at 2:03am
[3 replies] Last: Excellent work mate, glad you could figure it out. Just remember that ... (by megatron 0)
|
by sallarca
Quick Question
|
I have made a little snippet of what my project is essentially based on - except much bigger. I am having a hard to grasping this particular concept. I need to ... |
Nov 29, 2014 at 12:01am
[1 reply] : class Car : public Vehicle { virtual void print(); Wheel tire... (by MiiNiPaa)
|
by Ganado
Instantiating an object with many functions
|
Hopefully simple question: When an object is instantiated that inherits from a base class with virtual functions, does the existence of those functions make it ... |
Nov 28, 2014 at 11:31pm
[2 replies] Last: I see, thanks. (by Ganado)
|
Real World Problems |
Can anyone give me an example of a real world problem for C++, I dont want the solution, just the problem. By real world I mean something a C++ programmer would... |
Nov 28, 2014 at 11:08pm
[2 replies] Last: Some examples that come to my head when I hear "Real world problems". ... (by megatron 0)
|
by sallarca
Help! Weird concept - having trouble
|
Hey Everyone, first time posting, long time reader. I'm attempting to challenge myself and create a program for my own practice in c++ which would have a Vehi... |
Nov 28, 2014 at 11:04pm
[no replies]
|
by Gingerbread
Determining the lowest number of a C-string
|
This program should display the sum, the highest and the lowest numbers of the entered C-string. I have no problem finding both the sum and the highest but I ca... |
Nov 28, 2014 at 10:30pm
[11 replies] Last: welcome (by shadowCODE)
|
Help installing Code::Blocks |
I recently, finally replaced my 10 year old winXP pc! I think that win8.1 is fine. I don't get the fuss bout it. Really looking forward to learning new thing... |
Nov 28, 2014 at 9:48pm
[6 replies] Last: Thanks everyone. JLBorges, I followed your directions carefully and it... (by closed account D80DSL3A)
|
by Scizor
Replacing a letter with string find
|
Hello there! So I'm having a hard time replacing a character in a masked word based on the results of a string find function. The user guesses a letter, I deter... |
Nov 28, 2014 at 9:39pm
[3 replies] Last: Try something like this. #include <iostream> #include <ctime> #includ... (by shadowCODE)
|
I cant run my programs |
I cant run any of my programs because they instantly stop working, I am working with eclipse luna, any help is very much appreciated. When i click on run, ev... |
Nov 28, 2014 at 9:00pm
[no replies]
|
Why does my program crash everytime i try to call this function? |
Every time i try to call a function from a derived class the program keeps crashing. The function is first declared as a pure virtual function, but then it is d... |
Nov 28, 2014 at 7:37pm
[4 replies] Last: Nevermind, I fixed the problem. It turned out I was supposed to define... (by SomeAmazingGuy)
|
by rush088
C++ for Tic Tac Toe, Programming Trouble
|
very new to this so bear with me, but the code runs the cpu move fine and after you input a move for the human it just closes out, any input would be much appre... |
Nov 28, 2014 at 6:14pm
[2 replies] Last: OK I see my main function was all kinda of crazy so I am attempting to... (by rush088)
|
by edualfaia
Tokenize a Kafka Message
|
Hi Guys, I am writing a code that get a message from the Kafka Queue and I would like tokenizer this message to after apply a word counter. Any idea? My code... |
Nov 28, 2014 at 5:31pm
[no replies]
|
by Danny7
determine if the input integer is a multiple of 5 use a modulus
|
hi i am having a hard time with this program. i need to determine if the integer the user enters is a multiple of 5 or not with a modulus. this is what i got so... |
Nov 28, 2014 at 4:24pm
[5 replies] Last: Thank you very much! (by Danny7)
|
by danpants
What's Wrong with My Simple Function Template?
|
I'm creating a function template for a function "total" that keeps a running total of values entered. It takes two arguments, the number of lines of data it is ... |
Nov 28, 2014 at 4:21pm
[16 replies] Last: Nice! That did the trick. You guys are awesome! Thanks for walking me ... (by danpants)
|
by juaok
What does const& mean?
|
Basically, what does it mean to have for example this: void somefunction(const int &value) { //code here } I know what const is and I know what the refere... |
Nov 28, 2014 at 4:06pm
[13 replies] Last: Mandatory links: http://blogs.msdn.com/b/oldnewthing/archive/2014/06/2... (by MiiNiPaa)
|
by Aalnius
Problem with iterators and maps
|
So i'm trying to read in some x/y. co-ordinates from a txt file and than assign them to enemies so that i can later use this function in a factory method. i'... |
Nov 28, 2014 at 3:51pm
[3 replies] Last: god feel so dumb its always something so small with my programs Don'... (by dhayden)
|
by Ganado
Function pointer from a class function
|
I was trying to find a good way to associate curves/paths with objects, and I ran into function pointers which seem to be exactly what I want. #include <cmat... |
Nov 28, 2014 at 2:47pm
[6 replies] Last: Alright, makes sense. Once I did more tests it seems the difference ac... (by Ganado)
|
by DanielE
Need help with trigonometry calculate.
|
Hi I am new to C++ and have to right a trigonometry calculate to work out the angles, area and length of the sides of a triangle, from information given by a us... |
Nov 28, 2014 at 1:08pm
[1 reply] : What sample output will you be expecting. Give input and output. (by shadowCODE)
|
by feehily
Swap and Array
|
this code will return output 2 3 4 5 1, i'd like to make the output is 5 1 2 3 4, can comeone help me, please? #include <iostream> #include <algorithm>... |
Nov 28, 2014 at 1:07pm
[9 replies] Last: Replace you swap in line 18 with swap(data ,data ); ... (by shadowCODE)
|
by BB2921
For statement not working
|
I have to write an elevator simulation for an assignment using classes and what not and I'm having a bit of trouble. I've narrowed it down to my "for" statement... |
Nov 28, 2014 at 9:44am
[1 reply] : Look at the condition in your loop. Explain its logic. (by keskiverto)
|