General C++ Programming (Page 5)

by Won
Binary output
 
Hi! I have some hex values from a hex editor, for example: d5 57 4f ad 30 33 0b 4e 49 a7 05 1...
[no replies]
Child virtual method isn't called !
 
COMPONENT.HPP: #ifndef KENG_OBJ_TYPES_COMPONENT_HPP_INCLUDED #define KENG_OBJ_TYPES_COMPONENT_HPP_...
[6 replies] Last: keskiverto, if you check like that, ofc. I didn't know how to do that ... (by Krogoth)
Compiler/Programmer Error?
 
I am currently making a program related to the Goldbach Conjecture, and needed some help in a partic...
[3 replies] Last: UPDATE - Problem solved! The logic just needed to be thought through... (by Pratik K)
Strings
 
What am I missing here to correctly modifiy string a? #include <iostream> #include <string> usin...
[3 replies] Last: What the other guy did would require a pointer and you can do this. Yo... (by Aim4Erudite)
Need Help With Something I Am Working On
 
Okay so I play this game and there are pay sites that sell hacks and make a killing off of it, but I...
[1 reply] : Anybody have any advice or tips or anything? (by itsstino)
by olette
Popping?
 
So this is my code- #include <iostream> #include <string> #include <iomanip> #include <fstream>...
[1 reply] : What should the function 'input' do? In other words, how does it use t... (by keskiverto)
by Ceset
Static vs Dynamic Polymorphism
 
I just learned static polymorphism and was spending my time learning what it is about for last few d...
[14 replies] Last: Yes it is done and i appreciate every help (by Ceset)
Error zero size array, working with classes.
 
Keep getting an error saying I have zero sized array but I have a constructor creating an array of 5...
[3 replies] Last: Glad to help! (by Ganado)
by olette
Not sure about the errror
 
#include <iostream> #include <string> using namespace std; class Car { friend bool operato...
[3 replies] Last: You don't have implementations for any of your Car class function defi... (by Ganado)
Initializing error
 
Just learned vectors and tried to initialize one but got back error C2440: 'initializing' : cannot ...
[7 replies] Last: Did you remember to #include <vector> ? (by LB)
C memory management
 
Hey my dear friends, First of all, this is a C-question, not C++ related. In my school-project las...
[4 replies] Last: How can I force that memory_ and place_ are never touched by anyone e... (by NoXzema)
by Ceset
Static Gets Initialized!
 
I was testing out something with statics. My former experience says statics shouldnt be get initia...
[6 replies] Last: It was a good question. Everybody gets stupid stuff wrong. (by Duoas)
Init parent's member that cannot be passed to constructor
 
I have many classes inheriting each other, like A, B::A, C::B. All of them must have an index that i...
[15 replies] Last: I suggest making an enum. Boost has some pretty cool enum stuff to pl... (by kevinkjt2000)
Deleting pointer objects
 
I have a struct like the one below and I create pointer objects base on it, for example, "Node* prvN...
[4 replies] Last: If you use "new" to create the node, you must use "delete" to delete t... (by doug4)
Diffcult with vectors and for cycles
 
I wrote the following bool function: bool user::Execute(SampleFormat& sample, const EventFormat& e...
[4 replies] Last: Yes, I meant abs(norm(sum1) - certain_value) < abs(norm(sum2) - certa... (by whitebeard)
Will this work?
 
I was wondering if you guys could tell me if my code is proper and will work while I'm searching for...
[4 replies] Last: Thank you guys for the feedback! I'll change it accordingly. (by trevor2clever9)
differential equations in c++
 
How to solve differential equations in c++ any idea. Is there any libraries like that.
[1 reply] : https://www.google.co.uk/?gfe_rd=cr&ei=wYOvVaC1LuzH8gfq8YGoAw&gws_rd=s... (by mutexe)
Const data Member
 
If class have const data member, then there must be a constructor with initialiser list. Please hav...
[7 replies] Last: except Array type C++11 also allows you to init array types. {4, 5... (by andywestken)
can anyone code this...........
 
Write a C++ program of the following problem: How many numbers are there below one-billion (109) th...
[5 replies] Last: // Generates a list of all +ve numbers < limit, prime = 1, non-prime ... (by kemort)
Code works in Release build, but not Debug
 
Hi, I'm new to C++ and currently taking a fundamental class on computer programming. My dilemma is ...
[1 reply] : Well there's not a lot anyone can do without seeing the code. Are you... (by ajh32)
Pages: 1... 34567... 30
  Archived months: [may2015]

Cannot post in this page. To post a new message, go to the first page.