General C++ Programming - February 2015 (Page 19)

I need help, this is confusing
 
I am in my second semester of a computer science class. I'm currently in Chapter 9 of the C++ From C...
[7 replies] Last: I'm still having a little problem on making the the name and number ar... (by TheDMinor)
Using a class file in main file
 
I'm having trouble working the two files together. I keep getting this error error LNK2005: publi...
[2 replies] Last: Thanks ats15 but I figured it out after an hour of reading a c++ book ... (by programmercarlito)
Void functions and variables
 
Hi I'm fairly new to C++ and programming in general and I'm trying to get a program to check the pa...
[3 replies] Last: Thank you guys, I got it using the alternative method above. And tha... (by kipkenth)
PLEASE HELP
 
I just started in a C++ programming class and this is only the seconds program I've written in it. I...
[3 replies] Last: When posting code, please use code tags. Highlight the code and click ... (by dhayden)
Please help me run this code
 
https://cs.senecac.on.ca/~gam670/pages/content/force.html This website provides sample code for for...
[no replies]
Ending before I want it too
 
my program is ending before I want it to and I cant figure out why. #include <iostream> #include...
[1 reply] : Line 48: You're trying to enter a character into a float. That's not... (by AbstractionAnon)
by kfk
Visual C++ LNK2005 problem
 
Hi, I need your expert's help on this issue: 1>------ Build started: Project: class_test, Configu...
[1 reply] : I assume the body for ac::pf is in a header? If so, then you have to ... (by Disch)
Invalid integer constant expression [Help!]
 
#if WIN32 && __MINGW32__ && !ZCOM_BUILD//Error On this line (highlighting first &&) #define ZCOM_...
[no replies]
why we are not using call by value method in copy constructor for passing the object to get copied?
 
class X{ X(const X& obj1){} }; int main() { X obj1; X obj2 = obj1; } //we are passing the ...
[5 replies] Last: > A copy ctor which takes a pointer argument is not a copy constructo... (by ne555)
C++
 
I want to accept numbers from the user into an array and convert into corresponding alphabets. E.g 1...
[5 replies] Last: Thnx @gamer2015, but I feel I did not convey the question properly. S... (by thebatman)
by WAKS
Smooth sprite movement (SDL)
 
Hello! I'm making a 2D rpg game, but I have some problem with the sprite movement. The sprite moveme...
[8 replies] Last: Try taking out the FPS stuff maybe...you really shouldn't need it with... (by twiggystardust)
PLEASE SOMEONE SHOULD HELP WITH SOLUTION
 
1. how do i demonstrate(write) the various operators in c++,using codeblock 2. how do i demostrate(...
[3 replies] Last: gamer2015 is what u can contribute that we need here not contradicting... (by allinscoguy)
How to Write this Code?
 
Hey guys How to write a Code for Getting output to this pattern. Getting Stars with this Pattern Ho...
[1 reply] : you copy the code wrong; no ; at the end of line no 8 see my correc... (by sujitnag)
maths
 
Please help me am trying to write a code for a mathematical program that prompts users to enter heig...
[1 reply] : #include <iostream> using namespace std; int main () { int base,he... (by sujitnag)
Help me out
 
Please help me am trying to write a code for a mathematical program that prompts users to enter heig...
[no replies]
by Atton
A Some What Decent Head Spiner
 
I have had quite a head spinner on trying to transform a string into a char. I've been trying to do ...
[2 replies] Last: No, it doesn't. The chr is a pointer. The pointer stores an address. ... (by keskiverto)
Loops! Help :p
 
Hello! I am having a difficult time building this program, it is our first time using loops and our...
[10 replies] Last: If I understand what you are trying to do this should be the code belo... (by sly858)
by KMagic
Game programming
 
Hi everyone, I used to learn Pascal as a starting language. After that, I started to learn C++ 4 m...
[1 reply] : You should get comfortable with a C++ Graphics Library if you want to ... (by Gamer2015)
Need some suggestions for my c++ project
 
HI guys, i don't know whether this is the right place for this topic but... I am 4th semester (2...
[no replies]
by JohnyL
How to do the same with std::make_unique
 
Say, I have the following class "Object" and I want to create clone of it. class Object { public: ...
[2 replies] Last: @keskiverto Thanks! Your code works but with one condition - there m... (by JohnyL)
February 2015 Pages: 1... 1718192021... 26
  Archived months: [jan2015] [mar2015]

This is an archived page. To post a new message, go to the current page.