General C++ Programming (Page 30)

Having problems reading in from/writing to files in C++
I am writing a program that reads in a list of pilots' names followed by a set of coordinates for ea...
[1 reply] : I found some problem in read function below: void read(static ifstre... (by tanezavm)
Value returning function question
How is the definition of the term "expression" affected by value returning functions, and why?
[5 replies] Last: Function call is an operator (it's even overloadable as "operator()") (by Cubbi)
by Ploppz
[Solved] Can't figure out how to include a simple library!
Hi. I've spent days trying to figure out this, searching the web and everything. I want to include S...
[3 replies] Last: Thanks for replies. This is what my makefile currently outputs: g++... (by Ploppz)
If statements
Hi I'm having some problems with my conditions. No matter what number I type the second condition al...
[2 replies] Last: Ohh, I didn't know that. I get it now, thank you for explaining things... (by Newie0001)
MPU-401 ammount of voices?
Anyone knows how many voices (or voices per channel) are available with a MPU-401 or a modern MPU? I...
[no replies]
by extra1
How to delete a line from a text file using fstream
I'm trying to make a simple phonebook app that can show contacts, add, and delete. I'm pretty new to...
[6 replies] Last: From Reference Manual, string : Return Value The position of the fir... (by tcs)
by poteto
Most efficient way for a udp server to find which client it received from?
I'm using boost asio, but all networking api's are practically the same. I looked everywhere for ...
[4 replies] Last: In my experience, games typically use TCP for most communication and s... (by LB)
About the constness of a class
Hi guys, I have a question about the constness of a class. If I declare a class to be const, can I ...
[3 replies] Last: Thank you very much guys! I'm new to the forum and it's my first post... (by easonyoyo)
Need help with space shooter game
Hello everyone, I need some help with my game, after I shoot once the main character can't move anym...
[7 replies] Last: I f you continue pressing the space bar, the entire game breaks (by jasonwynn10)
Grade 11 C++ Programming
Hi I am a Grade 11 student who needs help on a program for my computer science class. Here is the qu...
[8 replies] Last: Oops ya I accidentally put circumference (by giblit)
Sorting pairs of numbers using AMP
I need numbers next to each other to be sorted (in increasing order). On the CPU I'd do something l...
[3 replies] Last: Of course. Lets say that you have N threads. Each has index from [0.... (by keskiverto)
2D Graphics
Hellolo! I've started with making games in C++, and it's fun as fluff. Anyways, I've only made a s...
[3 replies] Last: (by MiiNiPaa)
splaying elements to the root..
I am having some difficulties splaying this element to the root.. considering i have this splay tre...
[1 reply] : A recursive implementation: 1. After reaching 4 you've the item to be... (by tcs)
by tmason
Multiple default constructors specified...
Hello, I have an inherited class that essentially manages a Qt Window. It is as follows (proto...
[3 replies] Last: You misunderstand. If you don't specify any arguments when constructin... (by Duoas)
Binary file exemple
// Ce programme lit séquentiellement un fichier à accès direct, // met à jour des données dé...
[no replies]
Having issue with PrintDialog Sending All Pages to Printer
I'm not new to C++ programming but I'm not an expert either. I'm using Borland C++ builder 5. I kn...
[1 reply] : The issue turned about to be something with the TQuery supplying data ... (by wltscollins)
Need help with a program
The professor at my college has once again assigned something he did not teach to us. If he did we c...
[3 replies] Last: Note: The use of code tags is strongly recommended. Your class has no... (by keskiverto)
I dont seem to understand my errors
So i am implementing the class LinkedBinaryTree and i am aplying "Depth and Height" and "A linked st...
[4 replies] Last: error: ' PositionIterator ' was not declared in this scope PositionI... (by kbw)
Undefined reference for functions in same cpp.o file?
I have a large amount of code, so I have tried to only include the relevant parts of the code here ...
[2 replies] Last: SET(NegativeEnergy_LINK_LIBS NegativeEnergyAPI .. split LB ) ... (by Madhurih2k)
by ameneh
jigsaw puzzle and pieces
Dear all, I am looking for the jigsaw puzzle and pieces code or any guideline to write this progra...
[no replies]
Pages: 1... 2829303132... 51
  Archived months: [nov2014]

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