General C++ Programming - September 2014 (Page 17)

stupid C++ compiler: cannot see class member function defined later on
 
Hi C++ designers, I want to make a suggestion to C++ compiler designers to adopt one feature from Java, that is the ability to see class members defined later ...
[4 replies] Last: > such treads belongs to Lounge as there is no problem to solve. http:... (by ne555)
random Gen
 
In this program the user inputs the number of squares (3-5) that he wants displayed on the graphics screen. The colors are supposed to be randomly colored with ...
[no replies]
Debug assertion failed - Copy constructor - Delete operttion
 
I get debug assertion failed when trying to run this program. #include <iostream> #include "Stackt.h" #include "Stackt.cpp" void main() { int N; ...
[6 replies] Last: That line uses the copy constructor, so yes. (by LB)
Cannot get C++ to install with Netbeans IDE
 
I've downloaded both MinGW and Cygwin. I follow install instructions from multiple online tutorials, install successfully, my compiler finds all of the correct ...
[no replies]
How VGA's vertical and horizontal total and retrace rendering affect output?
 
What happens when the VGA encounters a pixel/row with a vertical/horizontal retrace/total? I assume the retraces are fired first, next the totals. Horizontal pr...
[no replies]
Creating a Program that encodes and decodes a message?
 
Hey guys, I am starting this project on how to encode and decode messages that are inputted, but I have no idea how to start even start this? Any tips or guidan...
[4 replies] Last: Research about parsing string characters. I have created a parser tha... (by jemeripol)
ostream listeners
 
I'd like to make a logger for my GUI application. I currently use std::cout and std::cerr , but I'd like to replace these with an arbitrary buffer which isn'...
[6 replies] Last: Got it! Line 48 above std::cout << pbase(); should have been std... (by Stewbond)
build own library (static)
 
Dear All, I am just learning how to build the static library on my own using visual C++ 2008. I used the following code to create the header file and cpp ...
[4 replies] Last: remove everything that has to deal with namespace and leave everything... (by novellof)
Implementing singly linked list in c++ VS 2013
 
Hi I need to make singly and doubly linked list classes that can insert elements. Once the lists are created, I need to order the linked list elements accordi...
[1 reply] : Don't know but I can give you advice on how to post and make others th... (by novellof)
Colon (:) inside of parenthesis
 
This is a function from DirectX Sample function looks like this void vertex_Shader(in float4 position_in : POSITION) What does the : do inside the parent...
[3 replies] Last: Thanks @cire its HLSL... (by novellof)
by nicow
Implement a named class
 
Hi everybody, I am trying to implement some kind of named class. It would look something like this: class MyClass { virtual std::string getName()...
[7 replies] Last: Simple: #include <iostream> #include <string> #include <typeinfo> st... (by JLBorges)
by Drak
Trouble with word stats using loops, arrays and more
 
In our CS class we were given a few easy codes then our teacher laid this one on us. We really don't have that much experience with these kinds of codes and it ...
[2 replies] Last: Should I convert the characters into ACII code? (by Drak)
by Josh26
c++ income program
 
Write your question here. I wrote this C++ program and everything runs well but when I save it and reopen it I get these two link errors when I run it again. o...
[2 replies] Last: thank you , I really appreciate it (by Josh26)
I Need Help In SFML Project
 
I Get Error In SFML Project Erorr Photo :http://img.majidonline.com/pic/309952/09-09-2014%2011-52-25%20%D9%85.png
[3 replies] Last: It doesn't look like you're linking to the libs. Go in your project s... (by Disch)
by Nezar
ChessPlusPlus question
 
hi, How should i build it ?
[3 replies] Last: go to this page in the articles: http://www.cplusplus.com/articles/j13... (by jasonwynn10)
by Janks
Turn Based Game
 
Hi, Im new to the forms and C++. I need help starting a turn based battle (similar to pokemon) app. How could i make this and make it cross platform. Also is it...
[4 replies] Last: You sound like you are in wayyy over your head...You are new to c++ an... (by novellof)
by Ispil
unordered_set, smart_ptr and classes, oh my!
 
Well, this is a bit of a frustrating issue- I am trying to create two classes that both contain containers of smart pointers to the other class. So far, I have ...
[4 replies] Last: Oh, it was me completely misunderstanding what a forward declaration i... (by Ispil)
by Ritik
Program to print Longest Common Subsequence
 
I found this implementation on a website for printing the longest common subsequence. But it gives wrong answers for some reason even though the code seems righ...
[7 replies] Last: Line 40 should be x + 1. I don't think the outermost loop adds anythi... (by helios)
Linker not recognizing functions defined in header file
 
Normally a person writes a separate header and cpp file. One exception to this I have seen (and done before) is when the class is a simple abstract class that ...
[no replies]
Fraction Class
 
Hey guys i need some help. For some reason when im trying to do this header file for the fraction class, it says theres an error. Please help me out. Thank YOU!...
[2 replies] Last: Hmmm, first off, here are some pointers where you can improve the clas... (by Little Captain)
September 2014 Pages: 1... 1516171819... 28
  Archived months: [aug2014] [oct2014]

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