Beginners - April 2010 (Page 3)

Autonomous Class to store Coordinates and its conversion.
 
Dear fellows: This is my first post in this forum. Although I am relatively new to C++, I've been p...
[no replies]
1-dimensional string arrays.
 
How would I go about opening a file and reading the data into two separate 1-dimensional string arra...
[5 replies] Last: Well, like I said, you're not reading anything from an infile in that ... (by oghmaosiris)
Question
 
Im doing an assignment that finds the smallest and largest value of a list of integers. I got that p...
[1 reply] : I don't understand your question... what does your prof want you to ou... (by oghmaosiris)
How to parse an html file?
 
Hi, I'm trying to write a program that extracts values from a specific html file, yet I'm having tro...
[3 replies] Last: Ok, I found a library online called CMarkup, which seems to have some ... (by GetOutOfBox)
fopen in plain c
 
Our teacher is making us write code in plain c instead of C++.. The user is to input a file name and...
[no replies]
Question:using struct inside the class as return type
 
Example: // in header file class Test { private: struct Test1 { string s1; string s2...
[1 reply] : Consider the compiler parsing this definition. When it encounters Tes... (by moorecm)
From Linux terminal to Windows + forms
 
Hey, I got a project to do and wanted a help.. My cousin made a lil software that shows in screen th...
[no replies]
by Alauda
read and print text file, from row to column
 
I have a text file containing numbers seperated by spaces. The numbers are written in rows. I want C...
[4 replies] Last: Thanks! The now perfectly working code is given below. Thank you very ... (by Alauda)
by Leydin
My loop skips over user input option
 
Hello. I'm going through C++ Primer Plus. The exercise question says: Design a structure called ...
[2 replies] Last: Read the entire section on iostreams at this FAQ site. http://www.par... (by kempofighter)
by ollie
Dynamic Memory
 
Hi I am having issues populating a vector using "new" where nodeVec is a vector where each entry ...
[1 reply] : Now hold on a minute. Don't return zMap by value when it is already p... (by kempofighter)
by uehiem
I am having serious trouble with my first lab..
 
Week 1: Object Oriented C++ Programming - iLab Lab 1: C++ and Classes Part 1 L A B O V E R V I...
[4 replies] Last: First I would recommend turning your member variable to a string (whic... (by oghmaosiris)
columns in txt file into array
 
i have a txt file with 1st column strings, 2nd integers, 3rd integers can someone help me with getti...
[3 replies] Last: A simple f >> mystring >> myint1 >> myint2; will do for each line... (by Duthomhas)
How to refer to iostate?
 
Hi, folks: i have written a program that uses an iostream member type iostate, i worte some code l...
[8 replies] Last: Yeah, i see ... i still have many questions about namespace , i will... (by akilguo)
recursion assignment
 
CAN SOMEONE PLEASE HELP ME WITH THIS ASSIGNMENT!!! I TRIED TO WRITE SOMETHIHNG AND NOTHING WORKED!!...
[no replies]
RationalNumber class operator overloading
 
this is what it is asking... the RationalNumber class should overload the stream insertion (<...
[1 reply] : You can do the following: class MyClass { bool operator<(cons... (by attaboy)
by jbl09
how do you read a text file into c++ program?
 
the text file has both text (for the first line) and integers (for other lines) and is space delimit...
[6 replies] Last: Glad to help :-) You can work with splitting the strings.... Read ... (by attaboy)
error C3861: 'stuff': identifier not found
 
//.h file code: #include <string> #include <iostream> class One { public: void showon...
[4 replies] Last: main() should not be static and returns an int. int main() { ret... (by Lodger)
by pstone
Unable to assign pointers across classes?
 
Yup, I'm new. Having a problem that is stumping the class atm. #include <iostream> #include <str...
[2 replies] Last: I thought I tried that - Apparently not - Works and makes sense - Than... (by pstone)
Pass char* to be initialized in function
 
Hi,I am trying to pass char* buf to the function writeToBuffer, where I want it to be initialized. ...
[4 replies] Last: You get a memory write violation, because you have neglected to take ... (by guestgulkan)
by cortez
What am I doing wrong?
 
Im working on a assignment and it asks to find the lowest, highest and average temperatures...and it...
[13 replies] Last: Not a problem good sir (by squirtman59)
April 2010 Pages: 12345... 35
  Archived months: [mar2010] [may2010]

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