General C++ Programming (Page 2)

by xoxos
3d rotation matrix
been stuck for about a month on this - i use "euler angles" (tait-bryan angles) to describe rotat...
[15 replies] Last: Is your shift key broken? 😭 (by kemort)
Using virtual functions in base classes
I recall when I first started playing with C++ I was told that you should never use virtual function...
[9 replies] Last: By the way, another thing that changed since the 90s is the amount of ... (by Cubbi)
Artwork Program (Inheritance)
This program compiles and runs until the user inputs the media, material, or type then it crashes. P...
[no replies]
Connetig 2 computers over internet
I'm trying to make my 1v1 game playable online and I would like to have the 2 players connected dire...
[2 replies] Last: (by kbw)
basic polymorphism help
I am making a very basic parent/child class based program that shows polymorphism. It does not compi...
[4 replies] Last: Pretty much sums it all up. Thanks poteto. (by dub1987)
Please help me with this function!!!!
I've been trying to make a sorted list with x random numbers (the user chooses how many random numbe...
[no replies]
Mixing audio of different frequencies and mono/stereo?
I've build a mixer for mixing audio channels of different frequenties and mono/stereo samples, howev...
[3 replies] Last: Wish I could help more, but straight C makes my eyes bleed. =x Th... (by Disch)
Best up to date C++ compiler
What are a few. I am currently using a very outdated version called dev c++
[5 replies] Last: giblit , I assumed he was talking about ide's, since he mentioned dev... (by zoran404)
question went to another post
i moved the question to another post with the same code...
[8 replies] Last: yeah i know ... but we didn`t learn that yet!! i`m still a beginner !!... (by deepestblue)
Posting parts of a code on vectors. Cant understand whats going on.
#include <iostream> 9 #include <vector> 10 class A { 11 public: 12 A(); // Default constructor ...
[1 reply] : And what your question is? Note: ~A() NOT called. Why not? Because a... (by MiiNiPaa)
new programmer
I have an assignment to create a code in my programming class. I will try to explain it the best tha...
[6 replies] Last: Ok thanks (by tannaj2)
Else-If Compilation Error
Hello, I am currently working on a simple code that calculates and prints the cost of viewing someth...
[2 replies] Last: cout<<"How many days would you like to rent for? (1 or 2): "<<; c... (by wildblue)
by mmess
Invalid conversion from int* to int
I keep getting this error! int *newarr(int, int, int&); //prototype // initializing argumen...
[4 replies] Last: Your prototype did not match your function definition int *newarr(in... (by Esslercuffi)
function calls ,functions prototype
so this is my question.>> Write program that uses a function digit that generates a random number ...
[7 replies] Last: so here is the solution code for the questio,, sorry for being late:) ... (by deepestblue)
please help... i`m new with some of c++ programs
i need to evaluate y= 1 - x + (x^2/2)- (x^3/6) + (x^4/24)+...+(-1)^n.x^n/n! to put in my fun...
[5 replies] Last: so here is the solution to my question,, thanks to whom helped!!:) an... (by deepestblue)
by tmason
Sort in Decending Order using Lambda + std::sort ...
Hello, So I have the following code snippet; what I want to do is sort the std::vector using a cu...
[2 replies] Last: > I would like the sorting algorithm to set up the vector such that >... (by JLBorges)
by yo2xia
Image of singular matrix in C++ Eigen using FullPivLU
here is the code I run in C++ using Eigen library FullPivLU decomposition, and I want to get the ima...
[6 replies] Last: @Ispil Anyway, thanks for your help. (by yo2xia)
i want to find the position of the first string in input.txt that matches a regex // Input.txt [...
[5 replies] Last: Thank you!!!! it->position() <- we have the first position!!! great!... (by nightmaregiba)
Undeclared Identifer?
Alright I know this says general C++ but I am working with win32 api, it should be the same concept ...
[2 replies] Last: Wow.. I would of never noticed that. Thank you I was about to go insan... (by MoonEmbers)
Suggestion to improve the do ... while loop structure
We want to share this suggestion with you to improve the do ... while loop structure. Best regard...
[15 replies] Last: Ok, it was intended as salutation. (by ncomputersorg)
Pages: 1234... 52
  Archived months: [aug2014]

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