General C++ Programming - May 2012 (Page 30)

validate soap enabled xml using libxml
 
Hi, I'm trying to validate a xml with soap envelope and body (soap + xml from the web serive response) against a xsd using the API's from the libxml2 for C++...
[no replies]
Matrix multiplication using form application in visual studio
 
Hi there.I'm studying engineering and I've got an important hw about programming.I've got to make matrix multiplication using form application .First of all , w...
[1 reply] : I need your help guys. (by dodobirds)
by htown
Parsing a string into tokens
 
I need some way of parsing a string into tokens. I'm reading the example from a file. EX: BEGIN a := 1 + (a) - 10; END where a, :, = , +, -, (,) ,; ar...
[9 replies] Last: Here's what i've got so far. It splits on every character as a token..... (by htown)
Converting vector<string>::const_iterator to character
 
Hello, I am parsing a string, and comparing it with a vector of strings. But, I get an error code because I cannot compare the two types.. How can I compare the...
[13 replies] Last: Thanks cire. That's exactly what I was looking for. (by test tube baby)
by cshu
help
 
This is my last assignment of the year and i absolutely dont know how to start this program. I need to Write a program that uses linear regression to determine ...
[1 reply] : Duplicate http://www.cplusplus.com/forum/beginner/70525/ (by cire)
by shaggy
Reading level data from txt file
 
Hello i am making this 2d game with c++ SDL and opengl. I am using glQuads to render 2d quadrilaterals to the screen. There are numeruos squares of different si...
[4 replies] Last: Around 2.5 years. If you don't know what something does, just ask ^. (by S G H)
Need help with getline - How to read the previous line?
 
Hi I need some help to get the below code modify to get the BOLD lines goes to 7 files. I came up with the below code but It did not work as expected. Note t...
[3 replies] Last: Something like this would perhaps be the simplest: // ... for( int ... (by JLBorges)
List Iterator Not Working
 
Note: Using Code::Blocks on Windows. I am trying to get some (x, y) coords from a .txt file, sort them by their distance from the main (x, y) coord, and then...
[2 replies] Last: Wow all this trouble over a semicolon... Thank you for pointing that o... (by BReynolds)
Loop goes on??
 
What i am trying to do is input until user inputs an empty line. However, it doesn't seem to work. #include <iostream> #include <string> using namespa...
[3 replies] Last: Thanks alot! That helped! (by btiwaree)
Beginner in C++ GOING CRAZY WITH THIS PROGRAM!!
 
Ok.. So i manage to read and print the data.. But what I dont understand is how to attach it to id,rate,pay,hours.. can someone help me please im really stuck.....
[1 reply] : But what I dont understand is how to attach it to id,rate,pay,hours W... (by coder777)
Quick sort (Ascending Order)
 
void database::quickSortInt(int top,int bottom, char order) { // top = subscript of beginning of array // bottom = subscript of end of array ...
[1 reply] : I got it to go into descending order but for some reason its returning... (by candyfreak)
Outputting data from a file
 
I am getting a LNK2019 unresolved external symbol saying totalAmount(void) and employeeName(void) referenced in function_main. In short it isn't compiling and a...
[3 replies] Last: no prob. did it help? ... also when you protype you must you must ... (by Infin8 Th0t)
Airline Ticket Reservation
 
Hello! I have the following assignment: Write a program to assign passengers seats in an airplane. Assume a small airplane with seat numbering as follows: ...
[1 reply] : Are you getting any errors? Yes, it's possible to return a double arr... (by Zhuge)
request for member ... which is of non-class type ...
 
Hi,I have a problem with an access to other class. There is the code: class Dict_Node { public: Dict_Node* parent ; char letter ; Dict_Node...
[1 reply] : You declare a Dict_Node pointer called "x", yet use it as if it were... (by ModShop)
Need assistance finding an error in my hangman program
 
Hello all! I am making a hangman program and am having an odd error that I can not correct! It runs perfectly, except for 1 major issue! If the person guesses a...
[no replies]
Prime number
 
ok here is the problem I want to solve. What is the sum of the first 250 prime numbers? Here is what I have coded. It somehow does not work can you help me?...
[4 replies] Last: Thank you for the help. But I have started studying c++ by myself few ... (by makosz81)
by arooj
How to Calculate Tomorrow's date, when leap years don't matter
 
I'm trying to make a program to calculate tomorrow's date, but I've come across some problems. Leap years don't matter, February always has 28 days. A loop must...
[3 replies] Last: I was told to incorporate a loop into the program, and this would make... (by arooj)
matrix
 
creat class have *if two columns can be different sizes. *the object can be resize. *the object check if the user refers to an element that is out of rang...
[2 replies] Last: Ok, therockon7throw was right. That is ugly. That looks like FORTRAN. ... (by jmadsen)
Why can't I access my 2d array?
 
I'm trying to check my 2d array for "blank" spots in the elements but whenever I try to use a comparison operator with one of its elements, the compiler just sk...
[4 replies] Last: first off, I don't understand the use of arrays when you have vectors ... (by jmadsen)
by arooj
Triangle Perimeter/Area calculator problem
 
I have a messed up perimeter value when I try to compute the perimeter, can someone point out to me what I'm doing wrong? //Ch14Lab3.cpp-calculates and d...
[1 reply] : void Triangle::SetDimensions(double b, double sido, double sidt, dou... (by naraku9333)
May 2012 Pages: 1... 2829303132... 41
  Archived months: [apr2012] [jun2012]

This is an archived page. To post a new message, go to the current page.