General C++ Programming (Page 9)

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)
Regex
 
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)
Doubly Linked list with head node
 
Hello i am trying to develop a doubly linked list class. I became stuck at a few of the functions as...
[1 reply] : Hello fellow ECE 304 classmate, I see that you are trying to receive... (by justiceseeker101)
operator definitions, modulus remainder calculation
 
where are operators defined in C/C++? in headers or compiled code? looking for the definition of...
[19 replies] Last: giblit's equation works if: (a / b) is rounded down to nearest intege... (by closed account 1CfG1hU5)
c string program
 
my assignment is : Please use C type strings ( array representation of strings). Write a program...
[4 replies] Last: how do i implement this with what i currently have ? i am still having... (by NicoFlowProductions)
problem with function
 
solved
[3 replies] Last: thank you! (by Stephanie)
Reading from a file
 
Having some trouble with an assignment. Here is the prompt. Write a program that reads the telephon...
[15 replies] Last: I've got it solved. Thanks a ton. You tip helped in a big way. (by CompSciLoser)
How to have a unique array for each object
 
I have a program where I need to read in from a text file and use a character array to make a Word o...
[no replies]
difference between constructor and new/malloc , difference between destructor and delete/free
 
What is the difference between the following- a] constructor and new/malloc? b] destructor and d...
[1 reply] : What is the difference between the following- - A constructor is a... (by Disch)
by bwoo
Need help involving vectors and classes
 
I am having trouble putting data from a txt file onto a vector of a class. For instance. class ...
[10 replies] Last: yea, same issue. Doesn't compile correctly (by bwoo)
Reading in a text file into a char array
 
I have a project which is about linked lists in the order of: a Story is made of Paragraphs which is...
[3 replies] Last: @Keene That's a fantastic solution but does that method fall into a C... (by TommyK154)
While Loop help
 
I was wondering if someone could show me how to set this "while loop" problem up. I am sort of new ...
[1 reply] : while( score != -999 ) { // get score from user // if score !valid ... (by Esslercuffi)
If Else Statment with ctime condition
 
I am try to make a menu for deliver order program. The menu divide into 3 group which are breakfa...
[4 replies] Last: #include<ctime> // Get current time // if, switch... (by nightmaregiba)
I need a hand in some C++ codes :(
 
1- Using the switch statement, write a program that allows the user to convert either from degrees ...
[2 replies] Last: it too simple... try to do it switch() if().... (by nightmaregiba)
Linked List adding nodes..
 
Ok so I am having difficulty adding nodes to my linked list.... Can someone give me an example of...
[1 reply] : can someone please help me out. (by novelloff)
Finishing Parking Garage program
 
I'm stuck on an assignment, and I don't understand how to finish implementation. I've been told tha...
[2 replies] Last: You may want to consider another class. Something like GarageEvent . ... (by booradley60)
by Ceset
include Macro
 
Hi guys. Everytime i create a class header like #IFNDEF BLAH_H #DEFINE BLAH_H #include "foo" #inc...
[4 replies] Last: So simply put, there is no way :) Thanks for all the answers anyway. ... (by Ceset)
by meesa
[Discussion] Dealing with signed unsigned mismatc
 
There are many questions on the web on how to fix a specific signed/unsigned mismatch, and the solut...
[13 replies] Last: Yes, as debugging aid. Not as only check. My statement Its only use i... (by MiiNiPaa)
constructor in inheritance
 
#include <iostream> using namespace std; class a { int b; protected: a() ...
[10 replies] Last: ok thanks my friend (by sajid dayer)
Pages: 1... 7891011... 58
  Archived months: [aug2014]

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