Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 10-12-2004, 03:52 PM   #16 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
Valmont is on a distinguished road
My oh my. Who is teaching you C++? The one and only thing that gets me going is cowardness. But I must say, teaching our youngsters the way you are tought makes me think. Check you PM (private message) and report back when you got it.

In the mean time I want you to answer these questions:
` What IDE are you using?
` What subjects did your teacher teach you until now?

Obviously I want to know how I can help you better in the future. In my fantasy I am patient, so be welcome anytime for more help .

Remember, check PM.
__________________
Valmont is offline   Reply With Quote
Old 10-12-2004, 05:05 PM   #17 (permalink)
Androto
Mac Os X User(I hate win)
 
Join Date: Oct 2004
Posts: 138
Androto is on a distinguished road
what is IDE?
my teacher "taught" me a bit about functions and arrays. and some of the basics. i came here and asked for help for the ones i had trouble with.
Androto is offline   Reply With Quote
Old 10-13-2004, 05:30 PM   #18 (permalink)
gamehead200
Code Monkey
 
gamehead200's Avatar
 
Join Date: Oct 2004
Posts: 57
gamehead200 is an unknown quantity at this point
Quote:
Originally posted by Valmont
My oh my. Who is teaching you C++? The one and only thing that gets me going is cowardness. But I must say, teaching our youngsters the way you are tought makes me think. Check you PM (private message) and report back when you got it.

In the mean time I want you to answer these questions:
` What IDE are you using?
` What subjects did your teacher teach you until now?

Obviously I want to know how I can help you better in the future. In my fantasy I am patient, so be welcome anytime for more help .

Remember, check PM.
He doesn't listen in class. I should know... I'm in it!

I actually finished the assignment by LISTENING and reading up on the subject... If you haven't read the bottom of the sheet, Andrew, there's a website that will help you... http://www.cprogramming.com/

gamehead200 is offline   Reply With Quote
Old 10-13-2004, 05:42 PM   #19 (permalink)
Androto
Mac Os X User(I hate win)
 
Join Date: Oct 2004
Posts: 138
Androto is on a distinguished road
i got more help here than on the site.
Androto is offline   Reply With Quote
Old 10-13-2004, 05:42 PM   #20 (permalink)
Androto
Mac Os X User(I hate win)
 
Join Date: Oct 2004
Posts: 138
Androto is on a distinguished road
val gave me about 3 different tutorials and there all better than getting it taught to you by a teacher.

Quote:
Orriginally posted by ****** (aka Gamehead200)
He doesn't listen in class. I should know... I'm in it!

I actually finished the assignment by LISTENING and reading up on the subject... If you haven't read the bottom of the sheet, Andrew, there's a website that will help you... http://www.cprogramming.com/
not true. i do listen in class, last class he tried explaining arrays to me all class, and i didn't understand. and then the class before that i wasn't their so i had to catch up.

Last edited by Valmont; 10-13-2004 at 06:47 PM.
Androto is offline   Reply With Quote
Old 10-13-2004, 05:52 PM   #21 (permalink)
gamehead200
Code Monkey
 
gamehead200's Avatar
 
Join Date: Oct 2004
Posts: 57
gamehead200 is an unknown quantity at this point
Valmont, can you please edit Androto's post and remove my REAL last name from his post... I don't like having it mentioned on the web...

Actually, Andrew, to me, he explained it clearly enough for me to actually write a program... BTW, this is due Friday, so you better get crackin'!
gamehead200 is offline   Reply With Quote
Old 10-13-2004, 06:51 PM   #22 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
Valmont is on a distinguished road
Name removed.

I am not interested who is listening in the class or not. I help anyone who needs help on standard C++. Here, social issues don't matter to me. Dumb, smart, attending class, poor, rich, whatever. Lazyness is the only thing that doesn't pay off with me. Otherwise I will be always here.
__________________
Valmont is offline   Reply With Quote
Old 10-13-2004, 07:08 PM   #23 (permalink)
Androto
Mac Os X User(I hate win)
 
Join Date: Oct 2004
Posts: 138
Androto is on a distinguished road
Quote:
Originally posted by Valmont
Name removed.

I am not interested who is listening in the class or not. I help anyone who needs help on standard C++. Here, social issues don't matter to me. Dumb, smart, attending class, poor, rich, whatever. Lazyness is the only thing that doesn't pay off with me. Otherwise I will be always here.
i know that, that's why lately, i've been telling you what i thought/showing the codes that i got, then i ask for advice, then help.
Androto is offline   Reply With Quote
Old 10-13-2004, 07:09 PM   #24 (permalink)
Androto
Mac Os X User(I hate win)
 
Join Date: Oct 2004
Posts: 138
Androto is on a distinguished road
Quote:
Originally posted by gamehead200
Valmont, can you please edit Androto's post and remove my REAL last name from his post... I don't like having it mentioned on the web...

Actually, Andrew, to me, he explained it clearly enough for me to actually write a program... BTW, this is due Friday, so you better get crackin'!
i missed that class, so i had to catch up.
Androto is offline   Reply With Quote
Old 10-13-2004, 07:24 PM   #25 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
Valmont is on a distinguished road
For the last time, I don't care!
Lets move on huh? No harm done, no biggies.

__________________
Valmont is offline   Reply With Quote
Old 10-13-2004, 07:40 PM   #26 (permalink)
Androto
Mac Os X User(I hate win)
 
Join Date: Oct 2004
Posts: 138
Androto is on a distinguished road
ok
Androto is offline   Reply With Quote
Old 10-13-2004, 08:01 PM   #27 (permalink)
Androto
Mac Os X User(I hate win)
 
Join Date: Oct 2004
Posts: 138
Androto is on a distinguished road
Quote:
Originally posted by Valmont
Yes offcourse there is a way. You gave the solution basically yourself. I'll do it later. In the mean time see how far you can get.
am i on the right track here?
Code:
#include <iostream>
#include <cstdlib>
#include <string>

using namespace std;

int main(int argc, char *argv[])
{
  string letters;
  string input;
  unsigned count(0);

  for(;;)
  {
     //Use getline so spaces and tabs are counted in.
     getline(cin, input, '\n');
     if(input[0] == '@') //@ terminates the input sequence.
        break;
     else
     {
        //Add only ONE single letter. Ignore the rest.
       letters=input.size;
     }
  }
  cout<<letters<<endl;

  system("PAUSE");
  return 0;

Last edited by Valmont; 10-14-2004 at 06:23 AM.
Androto is offline   Reply With Quote
Old 10-13-2004, 08:02 PM   #28 (permalink)
Androto
Mac Os X User(I hate win)
 
Join Date: Oct 2004
Posts: 138
Androto is on a distinguished road
forget about those underscores
Androto is offline   Reply With Quote
Old 10-13-2004, 11:34 PM   #29 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,726
redhead is on a distinguished road
Quote:
Originally posted by Androto
forget about those underscores
They are forgotten
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Old 10-14-2004, 08:32 AM   #30 (permalink)
Androto
Mac Os X User(I hate win)
 
Join Date: Oct 2004
Posts: 138
Androto is on a distinguished road
I'M LOST. I DON'T UNDERSTAND ARRAYS!!! i could program the part where the user types in a couple of words and then i show it back and say how many letters there are, but i can't figure out how to make is say how many of each letter there is!?

VAL, can you please help me?

Last edited by Androto; 10-14-2004 at 03:35 PM.
Androto is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
C++ Deadlock Detection Program Help... coolsc81 Standard C, C++ 2 10-26-2004 07:14 AM
Help on starting new program B00tleg Standard C, C++ 21 10-17-2004 01:58 PM
Need help on program B00tleg Standard C, C++ 1 10-12-2004 01:02 AM
Help on interest program B00tleg Standard C, C++ 2 10-07-2004 09:50 PM


All times are GMT -8. The time now is 08:41 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting