General C++ Programming (Page 30)

by Crogn
Summing two Matrices
Hey, I am very new at C++ and I am trying to figure out what the problem is with my code. I am just ...
[2 replies] Last: Thank you, What is the correct way to get it to print out the matrix v... (by Crogn)
Scale floats -7.8f/24.1f to range like 0.0f/1.0f. Example problem.
Hello I'm trying to scale the output of the diamond nose maker to values to 0.0f to 1.0f. From any p...
[no replies]
Ceres solver compiling problems?
Hello. I am a beginner in C++ and Ceres solver. So, I tried to solve this problem but I couldn't. ...
[3 replies] Last: Alas, I am not going to install ceres on my PC, so I cannot help you m... (by Duoas)
error: expected template-name before ‘<’ token
Hello: I am writing a derived class, where I have to specify a virtual member function of the base c...
[9 replies] Last: sorry helious for the inconsistency, the modified error message: mSet... (by Rahal1813)
Custom Typecasts
Hey there, I'm interested to know how this c++ code works internally: (int)32 // or.. (char)3...
[4 replies] Last: Okay cool, Thank you very much. (by SixTsevN)
Function pointer to non-static class member
Hi, I have the following problem: I am using NLOpt for optimization. The API provides functions t...
[1 reply] : Use the `data' parameter to pass the object class Foo{ public: doub... (by ne555)
by Echyon
Optional/default parameters in class functions
In the thread "Making a argument optional to function", it is stated that to set default values for ...
[2 replies] Last: Ah, thanks, it looks like that solved it! (by Echyon)
for loops
I found this example in the link: at the bottom of t...
[1 reply] : It's a new feature that was added in C++11. If you have an old compile... (by Peter87)
by lekha
Help me
well i have 2 new problems... 1. when i play again the percentage is increasing to 160% 180% and so...
[4 replies] Last: thank sooooo muchh... i really appreciate your help alot... thank you.... (by lekha)
c++ call function synthex to be equivalent to echo "hi"
What I want to do is simple, however I can not find a way to do it in c++ and I don't know for sure ...
[2 replies] Last: In C++ you need () or other operators (such as *,+,- etc.) to call f... (by Lachlan Easton)
mystic logic error in my double for loop
Hello. I want to do this: In a record I have IDs of type int but some may repeat. These IDs also go...
[8 replies] Last: Thanks:) I solved it and submitted the program to my tutor as lab task... (by csstudent123)
could someone create a programm to solve HW for you that is not a calculator?
Could someone make a programm to complete any math homework that is not a calculator and can put the...
[1 reply] : (by LB)
GetAsyncKeyState(VK_) Trouble
How do you get it to tell you when you hit enter? This doesn't work: #include <iostream> #incl...
[3 replies] Last: Also note that you are only interested in bit 15 of the output: if(... (by Disch)
Timer Issues confusing...
This programm isn't working for my debugger/compiler and I need some assistance figuring out what th...
[14 replies] Last: Ok u r correct, thanks for the help :) (by jasonwynn10)
by N10
an alternate key word for getch
i was trying to make a tic tac toe game where the user can play against the computer it s in borl...
[2 replies] Last: @ keskiverto Methinks you misread the question. OP wants to use getc... (by Duoas)
by Aceix
shared library creation
Hi all, I want to know: 1. Pros and cons of shared libraries 2. How to create them(any tutorial li...
[1 reply] : (by Duoas)
decrement operator c++ - n queens reduce operations
We made us two questions while we wrote this code:
[4 replies] Last: Answer: Post and pre increment and decrement operators limitation due... (by ncomputersorg)
Referenced argument not updating
I have a simple program that outputs two strings. The program is supposed to output the second strin...
[3 replies] Last: You only need to use std::ref or std::cref when passing arguments ... (by LB)
What is the best compiler?
Does anyone know which compiler is good for noobs, I have a noob brother... he knows nothing and im ...
[5 replies] Last: thanks, I'l try them all. the one i use is code::blocks 13.12 with GNU... (by jasonwynn10)
hw too solve the equation
write a programme in c++ to solve the equation a^2 + b^2 = c^2
[4 replies] Last: // solved for a a = sqrt( c*c - b*b ) // solved for b b = sqrt( c*c... (by Disch)
Pages: 1... 2829303132... 44
  Archived months: [jul2014]

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