General C++ Programming - September 2017 (Page 6)

help with multiple defined symbols found
int main }
[4 replies] Last: oc (by Andrewcen16)
Which way is better? inheritance or member?
Which way is better? So, for example, let's say we have a game engine class through which you can ad...
[4 replies] Last: Thanks!!!! (by Putarda)
How to exit the program and and continue
include<iostream> using namespace std; int main() { float weight, height, bmi; cout<<"Enter weight...
[3 replies] Last: Thanks. Understood how to do it.I will take care of that gaps. Actuall... (by abcdef123)
No clue how to start?
So i just transferred into a computer science and im like two weeks behind. I have no clue how to ev...
[5 replies] Last: jonnin, I stand corrected. (by Enoizat)
Hi guys , i have a question . Example : i declared 2 int variables . It is possible to find which is...
[2 replies] Last: (by Thomas1965)
SDL Snake Clone has troubles rendering the snake
Hi everyone! I rencently discovered the SDL library, and when I tought I was ready for it, I starte...
[2 replies] Last: That makes sense, thanks alot (by goldenchicken)
Create a file list (platform-independent way?)
Hi guys, although this questions has been asked many times, I haven't found a working solution fo...
[3 replies] Last: @Duthomhas Thank you very much for your solution with the recursion. B... (by olfibits)
Is this a legit optimization?
In the out() function below, which sums elements, you can see I have a switch case to do the summat...
[3 replies] Last: JLBorges: That's extremely helpful! It looks like you got the assembl... (by G0rdano)
geting question marks for quotation marks
I'm reading from a file that has quotation marks and when it reads the quotation marks, i get questi...
[4 replies] Last: ... (by Duthomhas)
How to use a language to program instances of class?
Hello! I begin to make a game creator for myself. I want to use c++ for the engine (work in progr...
[2 replies] Last: A class factory has nothing to do with code interpretation or run-time... (by helios)
Hi guys . How do i measure the length of an array ? Better to say : how do i pass every element fro...
[5 replies] Last: what I have always pondered about this question is not how to do it b... (by jonnin)
Two phase name lookup (most of it) in the Microsoft compiler 1. ...
[2 replies] Last: Whoa, I had no idea MSVC used Yacc. That's pretty crazy for C++. I won... (by helios)
how to format/truncate
Hi, Want to format and truncate/round my number at the same time in the program: Here I want the ...
[3 replies] Last: Worked great, thanx (by technologist)
by biomod
Undefined symbol error
Hi, I've recently taken over a project and therefore I am not completely familiar with it - however,...
[8 replies] Last: C++ Builder 6 Yes that is a bit dated indeed. If you're working on... (by Chervil)
Trouble while trying to find a specific word
hey. im trying to find a word in a txt file and if it is found count 11 lines after it, then save th...
[4 replies] Last: thank u guys, and yeah i can open files on c++ but i didnt know how to... (by lukardos)
precise definition of "precision"
What exactly is the precise definition of "precision" of a numeric field? As far as I know, it s...
[7 replies] Last: > Here, a precision of 2 prints 3 decimal digits rather than 2, which ... (by JLBorges)
Can I change the way functions work?
When you pass a variable to a function in a function call, the function makes a copy of the variable...
[3 replies] Last: For fuck's sake. (by helios)
How to connect objects in order to transport data between them?
Suppose I have a class Object which can send or receive some data: class Object { protected: ...
[2 replies] Last: The way you've stated it, the problem you're trying to solve has a ver... (by helios)
by abc1
virtual functions
hi, I am very new to virtual functions of c++. what is virtual function?why it is used? pleas...
[13 replies] Last: > Why it is not method overiding? If we are talking about C++, we use... (by JLBorges)
"no matching function calling for getline" error (1,2)
I got this Build message: 1>------ Build started: Project: chapter17ex7, Configuration: Debug Wi...
[38 replies] Last: Yeah, thanks. Done. (by DragonOsman)
September 2017 Pages: 1... 45678... 11
  Archived months: [aug2017] [oct2017]

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