cbsinc 0 Newbie Poster

You may pick any segment(s) of time within the available. 1/2 hour here, 1 hour there...whatever you want. Then we'll agree on a schedule.
You may name your price, then we'll discuss content and agree on a price and method of payment.
I thought "tutoring" was pretty much self explanatory. A fellow student, or professional tutor, picks there available times, charges a certain fee (whatever), and then shares their gift to help pass on the torch of knowledge to another who truly needs and appreciates it. I've never seen such confusion or negative vibes about something so unpretentious.
If you must know, I retired from 35 years of working construction all over the world. I went back to my home town and got sick. I may have only a year or two. Since I've partied or worked every place I've ever wanted to go, my last wish is to get my PhD in computer science. I know it's a long shot, but it's what I want. In my experience, in this forum, I have seen partial answers, hints, and clues. I don't have that luxury of time. I have to cherish and use every second to its fullest.
I'm not trying to pay your mortgage and accordingly don't want anyone to work for less than they're worth, God knows I've been a worker all my life, and certainly understand the value of a fulfilling business relationship. I just want a tutor, what's the big deal.

cbsinc 0 Newbie Poster

1) I'm not asking for anyone to sit around. I posted the times, they can make any schedule they want of any segment thereof.
2)If you read my post correctly, you would see "'from' 15 to ?" per hour. I am fully aware that 35 or 50 per hour is perfectly reasonable, in "their" free time for "tutoring". I can use paypal, check inadvance, credit card, bank card etc. Even 75 per hour would be understandable if it were someone knowledgeable and productive...not someone who was negative and finding fault with everything.
3)I am used to scheduling obsession, even ocd. I guess I know what I need, and I need someone to help me get it. For example 3:30 - 4:30 pm on Friday. I know I'll be whole on Sat morning. As someone who is 3 lightyears ahead of me, I don't expect you to understand my methods. Maybe they are completely wrong, but this is a mistake I have to make.

cbsinc 0 Newbie Poster

For example, if I have a project I am working on, what is the best way to set this up and why. First define a number of classes, why. Then use a vector, why. Then use a dynamically allocated array, why. Then deallocate the array, why. This sounds infantile because I am. But one way or another, not for long.

cbsinc 0 Newbie Poster

from 15 to ? per hour. Mon 2-4, Tues AM-4, Wed 2-4, Thurs AM-4, Any Fri, Sat, Sun. I need to contact comprehensively, like skype ot other video conferencing.

cbsinc 0 Newbie Poster

I need some pay for play tutoring. I have a jammed schedule and don't want someone to do my work for me, but need direct and timely answers to questions, immediately. I don't have time to trial and error, or tough love learning. I take good notes, learn fast, and always save my code. I need to fast track it.

cbsinc 0 Newbie Poster

Sorry you guys but I had to go out of town and may have missed your response.
Old habits never die. I used to use a CD-RW, or DVD-RW to save pictures to…I think they call it packet writing, because I never save to my hard drive. But this particular time I didn’t know it was a CD-R. So I saved pictures to it multiple times and never closed it. Now, every time I try to open it my computer crashes. Does anyone know a method or a helper program that can let me view the pictures on the CD-R disc. I know they’re their, I just can’t get to them.

cbsinc 0 Newbie Poster

As a creature of habit, I stored many photos on dvd+rw. They used to call it packet writing of sorts. I know that is now ridiculous. However by accident I saved, and then resaved many photos to a disc, only to find out it was a cd-r, and not even rw. There must some way to find and retrieve these photos, and any and all information on the disc. Any suggestions?

cbsinc 0 Newbie Poster

OK, I'm on it.

cbsinc 0 Newbie Poster

This compiles with no problem, but my calcCost function returns jibberish. I’ve tried many different combinations and I know it’s something simple. If I change my calcCost function to void and cout totalCost, it works fine, But I need the return value for another class (Order) that I need to add as soon as I (we) figure this problem out.

#include <iostream>
#include <cstdlib>
#include <cmath>
using namespace std;

class Pizza
{
public:

Pizza();
char getCrust();
char getSize();
int getPepperoni();
int getCheese();

const void output();
const void orderOutput();
double calcCost(Pizza& custPizza);

private:

char custCrust;
char custSize;
int pepperoni;
int cheese;
double totalCost;
};

/*class Order
{
public:

Order();
const double calcCost(const Order& custPizza);

private:

Pizza order1;
double totalCost;
};*/

int main()
{
   Pizza custPizza;
   //Order order1;
	
   //char newOrder;
	
	custPizza.getCrust();
	custPizza.getSize();
	custPizza.getPepperoni();
	custPizza.getCheese();

	custPizza.calcCost(custPizza);


	/*cout << "the total cost of your pizza is \n";
	custPizza.calcCost();*/
custPizza.output();
custPizza.orderOutput();
cout << endl;
cout << endl;

return 0;
}

Pizza::Pizza(){}

//Order::Order() : order1(Pizza()){}

char Pizza::getCrust()
{
	cout << endl;
	cout << "Welcome to Nick's Pizza.\n";
	cout << "What type of crust would you like?\n"
		 << "'P' pan, 'D' deep dish, 'H' hand tossed.\n";
	cin >> custCrust;
	return custCrust;
}

char Pizza::getSize()
{
	cout << endl;
	cout << "What size would you like?\n"
		 << "'S' small, 'M' medium, 'L' large.\n";
	cin >> custSize;
	return custSize;
}

int Pizza::getPepperoni()
{
	cout << endl;
	char custPep;
	cout << "Would you like pepperoni? (y/n) \n";
	cin >> custPep;
	if (custPep == 'y' || custPep == 'Y')
		cout …
cbsinc 0 Newbie Poster

Helpful tidbits. I'm implementing this and gaining more control and knowledge. Priceless. I mean to a wanna be geek.

cbsinc 0 Newbie Poster

Got your answers if you still need them...let me know. A lot depends on how your teacher wants you to do this. To illustrate array, to output only one grade, to allow for multiple score inputs?

cbsinc 0 Newbie Poster

Another helpful suggestion. I'm getting real close now. By next week, I'll try to be the king of string so that I'll be able to give something back...well at least a court jester.

Intrade commented: Keep on keeping on! +0
cbsinc 0 Newbie Poster

I'm on it. Will read this and some more links on the way. Sure to resolve today. Thanks

cbsinc 0 Newbie Poster

Thanks. Well taken. I have a mission that includes a PhD. But any advice is always welcome.
Nick

cbsinc 0 Newbie Poster

Sorry to bother you all with such trivial stuff, but I just finished about 35 years of work in construction, all over the US and Europe. And when the market went south I went back to school. Calc and trig are going fine, but C++ is kicking my butt. We went from “Hello World to arrays, to structs, to classes, to vectors, to pointers, to namespaces and I/O streams, and I’m still spinning. I PROMISE to only ask for help on a topic once. And for every take, I will provide a put. I don’t have a big bag of puts yet, but every time y’all help me, I get better…it’s just a matter of time until I can be as helpful to others as you’s are to me now. Thanks in advance.

For now:

What I need is a good function for taking out the white space.
I need to edit and correct a string of class string. I commented out a lot because I am temporarily lost. My main focus is to remove whitespace. I think the “toupper” and the rest will come to me fine, but I can’t get how to find, skip, and remove, or copy the corrected version to str2.
Please help.

#include <iostream> 
	#include <string>
	#include <cctype>
	using namespace std;

	//string removeSpaces(string s1, string& s2);

//	void swap(char& v1, char& v2);
	
	int main()
	{
	    string str1(" the    Answer  to life, the universe   and everything IS  42.");
		string str2;
	    //cout …
cbsinc 0 Newbie Poster

I just finished about 35 years of work in construction. I was a state licensed general contractor in Indiana, California, Florida, and France. I built thousands of structures. When the market became depressed, I quit and went back to school. I am currently pursuing my PhD in computer science with an unavoidable Math concentration. I’ll be going to Purdue to finish up in a couple years, but for now I am barely approaching my junior year of undergrad, which I guess is pretty good since I’ve only been at it about 15 months, but I’m really toasting my brain. Currently I’m scoring 3.7, but I have a feeling that’s going to go down. I love math, and calc and trig are fine, but C++ is proving a little difficult and frustrating. I was able to learn Spanish and French no sweat, but C++ is a little more difficult. Fortunately I don’t have to work right now, so 8-10 hours a day will return some savvy pretty soon. But in the meantime………HHHEEEELLLLLPPPPPP!!!
I’ve lived, worked, and partied in many places of the world, so now it’s time to kick up the geek meter and burn in. I have a good home office with a good computer with good connectivity, so I’m ready and able. I’m single right now, but am a life-long fan of natural born, beautiful, intelligent women. But as they say, “I’m living right now like nobody else, , so I can live tomorrow like nobody else”  …

cbsinc 0 Newbie Poster

I'm having the same problem as this previous user, doing the same program. I know it's rhudementary, but I just switched from math to programming and am going for Dr., and am 50+. I will put in the 100 hours per week to get geek, but at this point am freek. Please help. Using VS 2008, C++. :)

Write a program that will read in a sentence of up to 100 characters and output the sentence with spacing corrected and with letters corrected for capitalization. In other words, int the output sentence all strings of two or more blanks should be compressed to a single blank. The sentence should start with an uppercase letter but should contain no other uppercase letters. Do not worry about proper names; if the first letter is changed to lowercase, that is acceptable. Treat a line break as if it were a blank space in the sense that a line break and any number of blanks are compressed to a single blank. Assume that the sentence ends with a period and contains no other periods.
Example input:
the Answer to life, the Universe, and everything IS 42.
should produce the following output:
The answer to life, the universe, and everything is 42.

here is the code I have so far.

C++ Syntax (Toggle Plain Text)

#include <iostream>#include <string>#include <cctype>using namespace std; void swap(char& v1, char& v2);//Interchanges the values of v1 and v2. string remove(const string& s);//Returns a copy of s …