User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 429,955 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,442 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 40 of 47
Search took 0.01 seconds.
Posts Made By: karen_CSE
Forum: Java Oct 15th, 2005
Replies: 6
Views: 1,418
Posted By karen_CSE
Re: substring problem

hi hooknc,
Thanks for suggestion. I didn't know about the endsWith and the startsWith methods. Please don't feel guilty. I'm a visual learner. I learn by example. That's why I sometimes doubt...
Forum: Java Oct 14th, 2005
Replies: 6
Views: 1,418
Posted By karen_CSE
Re: substring problem

Hi,
Following your advices, I've made the changes to my program accordingly. But I still have errors that I don't know how to fix.

PersondDB code:


//String email_String = Validator.getString(sc,...
Forum: C++ Oct 14th, 2005
Replies: 5
Views: 1,215
Posted By karen_CSE
Re: overloading problem

This is the errors my compiler (MV C++ 6.0) gives me:
--------------------Configuration: Chapter 14 testing - Win32 Debug--------------------
Compiling...
testing.cpp
x:\dtran5.pds\chapter 14...
Forum: C++ Oct 14th, 2005
Replies: 5
Views: 1,215
Posted By karen_CSE
Re: overloading problem

Hi,
If I do it this way, then there is no need for the MyString class, right? I'm supposed to make name an MyString object.
Forum: C++ Oct 14th, 2005
Replies: 5
Views: 1,215
Posted By karen_CSE
overloading problem

hi, I've been staring at my program code forever now and I'm going in circle. I don't know what I've done wrong. Can anyone please help?
I'm supposed to design a month class that the following...
Forum: Java Oct 14th, 2005
Replies: 6
Views: 1,418
Posted By karen_CSE
substring problem

hi, I'm a first-level java learner, so my questions might seem really basic. but I don't really have a clue as to what I'm doing wrong. Can you guys please help out?

I'm supposed to write a program...
Forum: C++ Sep 23rd, 2005
Replies: 2
Views: 4,931
Posted By karen_CSE
Re: random-access files

WOW, you still remember me?!! :surprised I mean, there are tons of people on this website! :surprised . LOL. I guess I did ask a lot of questions.

It's nice of you to follow my progress. I'd hope...
Forum: C++ Sep 21st, 2005
Replies: 2
Views: 4,931
Posted By karen_CSE
random-access files

Hi, I'm doing this programming exercise for my C++ class. I'm using Microsoft Visual C++. for some reason, the program wouldn't save my data. Can someone please take a look at my code and tell me...
Forum: C++ Jul 28th, 2005
Replies: 25
Views: 4,992
Posted By karen_CSE
Re: airplane seating prices

yeah, I was about to do that tonight. I just got it done today.
but thanks for the reminder though.
Forum: C++ Jul 28th, 2005
Replies: 25
Views: 4,992
Posted By karen_CSE
Re: airplane seating prices

Hi, Stone_Coder;
thank you so much for helping me out.
I don't know if this is hard work for you or not (prob not), but it was certainly was for me. And I'm glad that you help me through it.
Now...
Forum: C++ Jul 27th, 2005
Replies: 25
Views: 4,992
Posted By karen_CSE
Re: airplane seating prices

'K I'll try to have everything done (hopefully not too many misktakes) tonight. When can you check it tomorrow?

karen
Forum: C++ Jul 27th, 2005
Replies: 25
Views: 4,992
Posted By karen_CSE
Re: airplane seating prices

OMG! My final (for another class) is in 30 min! I have to go to that class! When will you be gone?
This airplane project is due tomorrow, cause tomorrow is my final in this C++ class!
Forum: C++ Jul 27th, 2005
Replies: 25
Views: 4,992
Posted By karen_CSE
Re: airplane seating prices

Ok, I've compared yours with mine and they're not EVEN close to being similar to each other.

I don't understand why you have 2 AlloSeat() functions, are you allowed to do that? How do we know which...
Forum: C++ Jul 27th, 2005
Replies: 25
Views: 4,992
Posted By karen_CSE
Re: airplane seating prices

OK, I took your advice and gave it a try.


void AllocSeat(string type)
{

int a, b;

do
{
Forum: C++ Jul 27th, 2005
Replies: 25
Views: 4,992
Posted By karen_CSE
Re: airplane seating prices

OMG! You're asking me to rewrite my code, which I've spent days (over a week already) doing. Please don't be that cruel. i'm only a beginner and I've slaved over this project so much I can't bear to...
Forum: C++ Jul 26th, 2005
Replies: 25
Views: 4,992
Posted By karen_CSE
Re: airplane seating prices

Hi, This is my complete code:


//Airplanes Seating Allocation System

//libraries included
#include <iostream.h>
#include <stdlib.h>
#include <iomanip.h>
#include <string>
Forum: C++ Jul 26th, 2005
Replies: 25
Views: 4,992
Posted By karen_CSE
Re: airplane seating prices

wow, that was certainly a lot of information in one paragraph! I got to digest all that slowly (i'm a bit slow, sorry). I think I understand what you coded...but I'm not really familiar with...
Forum: C++ Jul 26th, 2005
Replies: 25
Views: 4,992
Posted By karen_CSE
Re: airplane seating prices

Hi,
while waiting for help, I help myself a bit (LOL that sounds so akward). ANYWAY.

Instead of the original code, which is to ask for the price of 12 rows:

//initialize seat prices for each of...
Forum: C++ Jul 26th, 2005
Replies: 25
Views: 4,992
Posted By karen_CSE
Re: airplane seating prices

Ummm...hi....I forgot to mention that I'm a level-1 C++ beginner.
your code looks really complicated to me. I didn't learn about #include <limits> yet, nor cerr, nor...this...
Forum: C++ Jul 26th, 2005
Replies: 25
Views: 4,992
Posted By karen_CSE
Re: airplane seating prices

hi,
just in case I didn't sound very clear with the original post, I'd like different prices for different types of seatings (i.e aisle seats would cost $5, window seats $10) I only did the row...
Forum: C++ Jul 26th, 2005
Replies: 25
Views: 4,992
Posted By karen_CSE
Re: airplane seating prices

I know this function, however, I put my seats in a 2-D array, how do I put the "\t" function in a 2-D array?
Forum: C++ Jul 26th, 2005
Replies: 25
Views: 4,992
Posted By karen_CSE
airplane seating prices

hi, I'm working on a project and I'm almost done. However, I'm having a few problems with the prices.
this is the guide for the project:
Airplane Seat Allocation System
Write a C++ program for the...
Forum: C++ Jul 26th, 2005
Replies: 2
Views: 2,058
Posted By karen_CSE
Re: sentence capitalizer

thanks for the clue, I'm working on it now.
Forum: C++ Jul 25th, 2005
Replies: 2
Views: 2,058
Posted By karen_CSE
sentence capitalizer

hi...uh...again,

I know I ask a lot of questions, but I'm really clueless. My HW says I have to write a function that accepts a pointer to a C-string as an argument
and capitalizes that first...
Forum: C++ Jul 25th, 2005
Replies: 9
Views: 3,352
Posted By karen_CSE
Re: backward string

dang, I'm so stupid, it's not even funny. *LOL* I'm laughing at myself right now.

guess you DO learn something new everyday.

thanks guys,

karen
Forum: C++ Jul 25th, 2005
Replies: 9
Views: 3,352
Posted By karen_CSE
Re: backward string

Ok, I fixed that. And the problem right now is that the program only shows invert the first word of the sentence and disregards the rest of the sentence.



//project #2 backward String (follow page...
Forum: C++ Jul 25th, 2005
Replies: 9
Views: 3,352
Posted By karen_CSE
Re: backward string

Ok
I don't know why I used "set." I'm looking at the examples in my book and just kinda finding my way around. It's trial and error for me, guys. I guess I was trying to give the array a name so...
Forum: C++ Jul 25th, 2005
Replies: 9
Views: 3,352
Posted By karen_CSE
backward string

Hi, I'm trying to write a program that accepts a string (a line, sentence, or phrase) and then the program has to display the contents of that string backward. for example, if I entered "starting...
Forum: C++ Jul 22nd, 2005
Replies: 11
Views: 3,726
Posted By karen_CSE
Re: bank account

thank you so much Drowzee! that makes so much sense. you're a lifesaver. I understand strings a little better now. OK, I'm giving my program another go. thanks again!

Karen
Forum: C++ Jul 21st, 2005
Replies: 11
Views: 3,726
Posted By karen_CSE
Re: bank account

Hi, i've tried the login part of your suggestion. But I don't know why I can't get get it to compile. this is my code. do you know what I did wrong?



#include <iostream>
#include <iomanip>
#include...
Forum: C++ Jul 21st, 2005
Replies: 11
Views: 3,726
Posted By karen_CSE
Re: bank account

thanks, Drowzee
it makes sense all right. I'm trying to do it right now.
Forum: C++ Jul 21st, 2005
Replies: 11
Views: 3,726
Posted By karen_CSE
Re: bank account

uh...to answer your question, Drowzee, I'm taking this introduction to C++ class in a college (ohlone, if you know the name) right now and it's in the summer. the class is normall 3 months long but...
Forum: C++ Jul 21st, 2005
Replies: 11
Views: 3,726
Posted By karen_CSE
Re: bank account

umm...no...I'm a level-1 beginner.
You can tell from my coding that I'm pretty much clueless in C++.
Forum: C++ Jul 21st, 2005
Replies: 11
Views: 3,726
Posted By karen_CSE
bank account

Hi, I have a big project (#1). this is its direction:
Project I

Software for a Bank

Write a C++ program for the following task:
a) Should allow 5 users with user name & password [ (Ohlone1,...
Forum: C++ Jul 20th, 2005
Replies: 2
Views: 4,769
Posted By karen_CSE
ascending order

Hi, I'm supposed to make a program that asks the user how many integers they want to input, then prompt them to enter those integers. and then I'm supposed to put those integer into ascending order....
Forum: C++ Jul 20th, 2005
Replies: 15
Views: 3,289
Posted By karen_CSE
Re: 2-D array

HEY, DROWZEE
that was the exact thing I did! wow, without help, too! I figured it out right before i check this website for, like, the hundredth time! Man, don't I sound arrogant! i'm just so darn...
Forum: C++ Jul 20th, 2005
Replies: 15
Views: 3,289
Posted By karen_CSE
Re: 2-D array

HEY GUYS I FIGURED IT ALL OUT!!!!!!! YAY FOR ME!!! :mrgreen:

I'm posting this online anyway, for any beginner, like myself, that have programs that are similar to mine. :) you guys can use this...
Forum: C++ Jul 20th, 2005
Replies: 15
Views: 3,289
Posted By karen_CSE
Re: 2-D array

OK, I gave it one more try, And this is my last solution, I have no idea how else to do this


//Driver's License Exam;
//This program first enter the answer key with 20 answers
//then it will ask...
Forum: C++ Jul 20th, 2005
Replies: 15
Views: 3,289
Posted By karen_CSE
Re: 2-D array

*signs* I'm near tears here :cry:

I've edited the program and this is what I come up so far.

//Driver's License Exam


#include <iostream>
#include <stdio.h>
#include <string.h>
Forum: C++ Jul 19th, 2005
Replies: 15
Views: 3,289
Posted By karen_CSE
Re: 2-D array

hey, thanks a bunch...your advice gives me an idea to the esolution.
one last question (hopefully), did I do something wrong with this part of my code?
void StudentAns(char answer[20])
{
for...
Showing results 1 to 40 of 47

 
All times are GMT -4. The time now is 11:26 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC