General C++ Programming (Page 8)

Hi every one i have problem with regex file input.txt have structure like this: [A-Z]o Hel...
[no replies]
by yo2xia
Residuals Sum of Squares calculation of regression in C++ Eigen
I want to work out RSS of Matrix Formulation of Multiple Regression, and Y=Xb+e; Here is the code i ...
[no replies]
by tmason
Simple array with access violation errors.
Hello, I have a rather large project which uses a float array for OpenGL but I believe I am repro...
[2 replies] Last: You are right, changing that line allowed the array to be created and ... (by tmason)
header file help
if I have this in header file: can I do this in the .cpp file?:
[16 replies] Last: I'm not sure exactly what you are trying to do since you removed your ... (by giblit)
BitMaps in the console
Before anyone says anything: YES this is very out-dated code YES i am aware that there...
[no replies]
Overloading Operator+ won't take both sides
So I'm trying to add two objects of a class i made called NaturalNumber, however when i try to add t...
[2 replies] Last: Main.cpp #include <iostream> #include <string> #include "Classes.h" u... (by Kerchnasty)
by tmason
"Vector Subscript Out of Range" even with item in container...
Hello, I will try my best to describe this problem I am having because I am not sure if I can rep...
[4 replies] Last: I think I found the issue; it has to do with something completely diff... (by tmason)
Creating a 2D array within a class using a constant
I've been given specific instructions to create an array inside a Class Matrix using a constant n. T...
[4 replies] Last: Thanks for the help. I ended up using Keene's approach until I can get... (by Adam223)
Display a pattern using loops
I have spent at least an hour trying to display this pattern and I am not getting anywhere. Patte...
[4 replies] Last: Do the loop backward: for (int j = i; j > 0 ; --j) (by MiiNiPaa)
Urgent C++ string related
Alright I was able to code a factor that starts at 1 and goes up the length of the string: uint64_t...
[1 reply] : Do you mean, replace line 7 with this? uint64_t factor = length - i;... (by doug4)
by segav
Adding 2 large integers as a list
I'm supposed to write a program that would add 2 integers of up to 300 digits. I implemented the use...
[no replies]
Need help! (for loops/random number generator)
I'm having trouble with running for loops inside for loops. For my assignment I have a bunch of calc...
[no replies]
//Big.h class Big{ private: int k; public: //.... .... }; // Small.h class Small:...
[3 replies] Last: Can you add accessor functions to the base class? ... protected: ... (by doug4)
& symbol (1,2,3,4,5)
Hello. Please explain to me the various different meanings and uses of &
[84 replies] Last: according to this site the reference is used to get the address of a ... (by doug4)
LNK2019 while linking OpenGL program
I am following an OpenGL tutorial on . I am already stuck on creating context. I am...
[4 replies] Last: I am sorry for posting this on an old topic, but now I am trying to ma... (by memberfunction)
Create New Data Type
i need to create a new integer data type called BigInt to store a big big integer, which includes Di...
[no replies]
by begha
Unique pointers with derived classes
This may sound confusing, but here goes. So I have two inferfaces, intoLogic and intoView, both of w...
[4 replies] Last: Yes, that is what I said. =P (by Disch)
#include <iostream> int main() { for( int=1; i<=6; i++) { for ( int j=5; j>=1; ...
[1 reply] : #include <iostream> int main() { for( int i = 1; i <= 6; ++i ) ... (by JLBorges)
Please help with writing a program?
Hii, I'm really bad at programming so please help me to write this program: "A program that reads...
[9 replies] Last: aaaah~~ right..!!! didn`t notice that :o i was in a hurry!! keskive... (by deepestblue)
by koko82
Pointers of Pointers
Hi All, I am a bit of starter on C++ would appreciate some advise/guidance on pointers. I am workin...
[12 replies] Last: Thanks for the help, but not come across casts yet hmm. Bit more study... (by koko82)
Pages: 1... 678910... 56
  Archived months: [aug2014]

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