General C++ Programming - April 2014 (Page 35)

Help with Cartesian Class
 
I am trying to make a cartesian class which allows the user to input two coordinates, displays the c...
[4 replies] Last: Okay so I changed my code and it runs but it doesn't ask for user inpu... (by lizardqueen)
Detect debugger attached
 
Hi im trying to detect if a debugger is attached to a program my example im trying to check if its ...
[no replies]
by K7ing
How can i validate only certain characters are used
 
I'm learning to code and i would like to ensure the program does certain things when certain charact...
[no replies]
by kimi86
Read file block by block
 
Hi , I need to read file block by bock (say of size 2) using ifstream: void main() { std::string...
[no replies]
CRTP in separate .cpp & .h files
 
Hi, Multiple variants of this question has been asked and answers have been given but I have a spec...
[6 replies] Last: I do not know how to do this... I think you misunderstood. The class... (by Daleth)
Getting a Heap Corruption, help me find the bug please?
 
Hello all, I am getting this heap corruption in my code that I have never seen before. I have read ...
[2 replies] Last: omg never i fixed it... It was because in the struct I had declared, i... (by vaze159)
by cbufis
NEWBIE HELP
 
I have been working on this program for over a week. I can only use loops. Please help!! I need t...
[9 replies] Last: I would also recommend learning about a switch statement, which would ... (by Joshhua5)
Function Pointers
 
Hi all! Ive recently got into function pointers, i find that they can be quite handy for making y...
[2 replies] Last: I agree with @NoXzema - std::function is what you want. However, i... (by TwilightSpectre)
exculdeing items from fgetc
 
Hey all, Yesterday I received some great help with a problem reading in some info because it had ...
[1 reply] : I figured it out. do { if ((data = fgetc(gol_grid_file)) != '\n... (by bwquestion)
Accessing an array
 
struct whichMessage { const char *toMe; const char *toYou; const char *toThem; }; c...
[2 replies] Last: In test.h struct whichMessage { const char *toMe; const char... (by xwielder)
hangman code wont continue loop
 
I am having a problem with my code. It works fine the first time prompts user etc...however when yo...
[no replies]
doubly linked list polynomials
 
namespace main_savitch_5 { class polynode { public: // CONSTRUCTOR: ...
[1 reply] : Do you have a question? Or are you just posting 440 lines of code beca... (by TwilightSpectre)
Help with a project.
 
Im terrible at writing programs and have to take this intro class for some reason, can anyone help w...
[no replies]
by preedy
allegro
 
is is possible to put a video in your c++ game using allegro 5?before starting the game...............
[1 reply] : You'll have to read the documentation ( http://alleg.sourceforge.net/... (by Duthomhas)
by ntran
Graphics for c++
 
Hi all, I have this truss-solver implementation in c++ which, for a given truss and boundary condit...
[2 replies] Last: I almost feel bad recommending Tk again... but here is a similar threa... (by Duthomhas)
Hash Table / Linked List Help
 
Have a program that runs some tests to check memory leak/ allocations using a modified linked list c...
[no replies]
by RE9741
Next step
 
Hey guys, I learned the basics of c++ in making terminal applications etc. I then moved on to making...
[1 reply] : This depends much more on what you want to do. Do you want to go mor... (by Hippogriff)
Detecting cycles
 
https://www.codeeval.com/open_challenges/5/ this is the link to the question. I don't want you to s...
[no replies]
cannot access private member declared in class (header file)
 
Hi everyone... I am currently doing the assignment about linked list. Here are some details infor...
[11 replies] Last: As the default setting is that the datastructure1.h is non-copyable, a... (by programnightmare)
Code::Blocks SDL help!
 
So I am doing the tutorial at http://lazyfoo.net/tutorials/SDL/01_hello_SDL/index2.php for SDL (I am...
[3 replies] Last: Yep. Same problem. What could the problem be? (by pieceOfPi)
April 2014 Pages: 1... 3334353637... 41
  Archived months: [mar2014] [may2014]

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