General C++ Programming (Page 46)

Not averaging correctly?
My program isnt averaging correctly. #include <iostream> #include <string> #include <iomanip...
[4 replies] Last: THankx for both of you guys help! much appreciated! (by deckonsoul)
Compile program from c++
I'm trying to compile an external program from c++ using system, but its not working. It says "Undef...
[3 replies] Last: I just checked, and it does the same thing compiling assembly from gcc... (by fabtasticwill)
Embedding an EXE into my C++ compiled EXE
I was wondering if there is a way to to embed a program (say a game window) inside another. What I ...
[no replies]
Help calculating High, Low, Average for grades
The bottom three functions do not work. Nor are the finished to the extent. I do not know how the ...
[5 replies] Last: The use of vector is not necessary, but "borrowing" ideas from it is u... (by keskiverto)
by MTorp
Strategy Pattern paradox
I've reached some sort of paradox while writing my small game. I need an algorithm to decide the win...
[4 replies] Last: Thank you JLBorges. I already use interfaces, but since my real code i... (by MTorp)
Linked LIsts
I was to create a linkedlist template class to be able to learn the basic functions of the linked li...
[1 reply] : It seems to be going through an infinite loop when it runs the size()... (by dhayden)
need help
I need help with my code.. I can't seem to analyze this problem.. need help.. thanks!! :D #...
[2 replies] Last: What Zyl said, and you used void main(). It should be int main(). I te... (by tristan1333)
MIDI bank select effect on channel 10 and default bank?
According to what I've read MIDI channel 10 is reserved for percussion. The soundfont 2.4 spec says ...
[no replies]
Can you guys help me understand this, please?
I am new to this website, this is my second post and I was wondering if I could have some help with ...
[3 replies] Last: I have fixed the problem thank you! (by TheDMinor)
Day of Week Program
I need to write a program that tells the day of the week, month, day, year, and whether it is a leap...
[3 replies] Last: why not program yourself? that way you can input old dates like 1886, ... (by anup30)
by xlnwel
why should we define a specialization std::swap?
according to item 25 in effective C++ 3rd. we should define a nonmember swap in the same namespace a...
[4 replies] Last: thank you very much! (by xlnwel)
rfind function with files help
I'm having trouble taking a students name from a file putting it into a string and cutting the strin...
[no replies]
SDL 2| Error 3221225477
Hello, I'm trying to learn SDL 2.0. I understand that the error has to do with trying to access memo...
[3 replies] Last: Alright, I added in the code tags. @Peter87, I see what you mean, I re... (by tristan1333)
by rocapp
Using Polyline() to draw line segments from a loop.
Hi all, I'm trying to use Polyline() to draw lines to the screen. So far I have done my best to do ...
[no replies]
by doug4
Template Specialization and Libraries
Here's my code: read.h: #include "parse.h" #include <string> template<typename T> void r...
[1 reply] : See: read.h #include "p... (by JLBorges)
by Zyl
Intentional template redundancy possible?
Hello, I'm writing a class Vector3<T> to represent a threedimensional vector with elements of type ...
[2 replies] Last: I was thinking the wrong way round. This is much simpler than anything... (by Zyl)
trouble passing vector to function by refrence
i need to sort the function and to do that i have to pass it by reference however i keep getting an ...
[no replies]
Switches with variables
Switches have never been a thing for me but my instructor assigned my class some programs that we ha...
[3 replies] Last: Not sure what approach you took, but one way (probably the best way) i... (by ResidentBiscuit)
by Jt253
Car Instrument Simulator
I'm also working on this problem: For this assignment you will design a set of classes that work ...
[4 replies] Last: I still need help on this problem. How can I stop the infinite loop? a... (by Jt253)
by Sobo
Can you explain this please..
please explain that why this program will give output of 2...According to me, it should give 0 #i...
[8 replies] Last: (by Computergeek01)
Pages: 1... 4445464748... 51
  Archived months: [jan2015]

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