
please wait
by Gmoney2015
Case switch question .
|
Write your question here. Why is it that I can only input four letters in a case. it only allows case 'feb': example: case 'February': is a error any he... |
Mar 14, 2015 at 5:48pm
[7 replies] Last: Most certainly welcome.. (by megatron 0)
|
by androidguy1
Help implementing AI and Shadow in Maze Game
|
Hello, I need some help with the psuedocode for an AI in a Maze game. I have all the functionality for the player and a basic ghosts movement around the maz... |
Mar 14, 2015 at 3:23pm
[2 replies] Last: The ghost must now ignore walls Based on the code we've been worki... (by AbstractionAnon)
|
by Bronislaw
Accessing vector of tupels element by position
|
Couldn't not find anything about it on the net, so I would like to ask how to access a specific element by its position in a vector of tuples. Let's say the Vec... |
Mar 14, 2015 at 3:22pm
[1 reply] : std::get<1>(Vector ) (by MiiNiPaa)
|
by XxJatinderXx
compare one character with an array of characters
|
Q. How do I compare one character with an array of characters ??? for example I have an array of characters array ; or a string; now I want to compare a cha... |
Mar 14, 2015 at 2:48pm
[6 replies] Last: Then you will need to setup loop and replace characters manually. (by MiiNiPaa)
|
string |
hello.how to the first three charcters from char array into string array? |
Mar 14, 2015 at 1:43pm
[2 replies] Last: Did you check the reference pages? Several ways to do it: 1) Use... (by AbstractionAnon)
|
function pointers |
Hi all, is it possible to store a class member functions in a container like inside a map then call them on a particular instance of the class? Thanks in adv... |
Mar 14, 2015 at 12:52pm
[12 replies] Last: i'll laugh at myself , av never heard of that , thanks for the insight... (by closed account SECMoG1T)
|
by thor36
Creating several instances of an object during program run
|
Greetings all I have a question regarding dynamically allocating new instances of objects during the program run. For example, in a game like GTA, depending on... |
Mar 14, 2015 at 12:31pm
[13 replies] Last: Thor36 , the answer to your original question is that either (1) you ... (by dhayden)
|
by MRQ1
C++ knowledge required to start graphics programming
|
Hello everyone. I have been learning c++ for some time now. I am using two books c++ how to program and jumping into c++. I am doing it a little slowly because ... |
Mar 14, 2015 at 11:21am
[2 replies] Last: to learn SDL/SFML basic C++ knowledge of this site's tutorials are eno... (by anup30)
|
by mighty asker
"return 1" in conditional statements
|
Hello. What does "return 1" do in conditional statements or (recursive) functions? |
Mar 14, 2015 at 10:25am
[2 replies] Last: "return 1" it basically depends on the context of usage for exampl... (by closed account SECMoG1T)
|
by VVS
if statement code
|
I have to write a program that asks the user to input length, width, and height and then the program determines whether it is a rectangle or a square and then ... |
Mar 14, 2015 at 8:38am
[1 reply] : Boolean And (&&). When you have two condition expressions, cond1 and ... (by keskiverto)
|
by naama
workspace
|
hi I need recomandation for a good c/c++ workspace. thanks for all halpers |
Mar 14, 2015 at 8:37am
[1 reply] : Ive been using Visual Studios 2013 for months now, and I really like i... (by TarikNeaj)
|
by VVS
fixing a messed up program
|
so my professor sent us a program with a bunch of mistakes that we have to fix and explain why. i understand most of it, but this part tripped me up //////////... |
Mar 14, 2015 at 8:27am
[1 reply] : que 1 why would we declare calPerimeter as a variable but then also d... (by MiiNiPaa)
|
by cswag07
Closing Program Problem
|
I am trying to write a program to search for a number in an array through binary search but when I build and run the code and the user enters the number after t... |
Mar 14, 2015 at 8:24am
[1 reply] : When you call search, you pass number to search for instead of size of... (by MiiNiPaa)
|
by decoy98
Pointer arithmetic problem
|
I'm stuck at pointer arithmetics. I'm looking to move to the value that "poly_pow" and modify it. But when I use the for loop to get there, I end up modifying s... |
Mar 14, 2015 at 6:52am
[6 replies] Last: Let that be a lesson to you. Pointer math is pretty much always the w... (by Disch)
|
by CodeisHell
Question from a student.
|
... |
Mar 14, 2015 at 6:30am
[2 replies] Last: @ats15 (Edit: thanks for at least trying. Sorry if I didn't explain my... (by CodeisHell)
|
by Devilester
system(string)
|
error C2664: 'system' : cannot convert parameter 1 from 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >' to 'const char... |
Mar 14, 2015 at 4:12am
[2 replies] Last: Thank you, (by Devilester)
|
by Torm04
Passing Pointers through various functions
|
Hello, in my assignment I am supposed to use pointers to pass the data throughout the different functions. I am having trouble in figuring out how to do the fun... |
Mar 14, 2015 at 3:33am
[no replies]
|
by prhray
error: expected ';' , ',' or ')' before 'int'
|
I keep getting this error message: "error: expected ';' , ',' or ')' before 'int' " for line 10: int assigned_door (int x int y) I can't figure out why. ... |
Mar 14, 2015 at 3:21am
[2 replies] Last: I figured out what happened. I missed "," between x and int. (by prhray)
|
by SAL89
Question about Shortest path of the king
|
I all, I need help for a problem. This is not homework. the question is from here: http://codeforces.com/problemset/problem/3/A I need the result to be like th... |
Mar 14, 2015 at 12:52am
[2 replies] Last: This is not homework. You try to learn by doing yourself. That is ... (by keskiverto)
|
Increment function help |
I have just started learning c++, and I'm confused on one of my assignments. Write a void function called increment that will increase the value of the argumen... |
Mar 14, 2015 at 12:11am
[3 replies] Last: Thank you @androidguy1 and @Ganado it works now. (by husband and wife)
|