Giganews Newsgroups
Usenet Search:

Follow-us on Twitter

Go Back   IhAv.NET > Off-Topic > Introductions
Google
 
Register GalleryBlogs FAQDonate Members List Calendar Search Today's Posts Mark Forums Read

Introductions Introduce your self here...



Tags
newbie

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Newbie needs help with c++?
Old 10-29-2009, 04:06 AM   #1 (permalink)
Senior Member Male
 
john's Avatar
 
Join Date: Sep 2007
Age: 49
Posts: 1,740
My Mood:
Level: 35 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Newbie needs help with c++?

I'm makinga simple program that will ask the user for two lines. The program will then try to find each of the characters used in the second string from the first string, and where they are used and will then do other stuff.



int main() {


string one;
cin >> one;
string two;
cin >> two;


for ( int i = 0; i < one.size(); ++i)
{

char x;
x = two.at(i);

// This is the line that's wrong and I don't know why it
/ doesn't work.
int findx=static_cast <int> (one.find(x));

}

....
john is offline   Submit to DiggWTF?Submit to RedditSubmit to FurlSubmit to Del.icio.usSubmit to JeqqSubmit to SpurlSubmit to FacebookStumble It
Reply With Quote Quick reply to this message
Old 10-30-2009, 04:02 AM   #2 (permalink)
Junior Member
 
mike70025's Avatar
 
Join Date: Oct 2009
Posts: 1
Level: 1 [♥ Bé-Yêu ♥]
I would recommend using Visual Basic or C#. Its much easier to use..

C++ has so many commands, it would take years. Mabye decades.

C# is the easiest way to go. Then work your way up the chain.

Took me 1 day to learn how to make a program the same as microsoft office.
mike70025 is offline   Submit to DiggWTF?Submit to RedditSubmit to FurlSubmit to Del.icio.usSubmit to JeqqSubmit to SpurlSubmit to FacebookStumble It
Reply With Quote Quick reply to this message
Reply


Quick Reply
Message:
Your Username: Click here to log in

Options

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may post new threads
You may 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
i'm newbie,HELLO EVERYONE thesixsence Introductions 0 09-13-2009 05:15 AM
newbie here shadow_blue Introductions 0 07-28-2009 07:56 AM
What is DOM? newbie need help? Tony Y Introductions 3 05-01-2009 10:59 PM
Newbie jessicaabruno Introductions 0 11-17-2008 08:09 PM
I'm a newbie at this help =] !!? Lauribel Health 0 10-29-2008 04:31 AM


All times are GMT -4. The time now is 05:14 AM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.0
Page generated in 0.35447192 seconds (100.00% PHP - 0% MySQL) with 15 queries
 
Resources - Link Exchange - Resources2- Picture Sharing-Lyrics Market
European Imports, Books & Comics, Movies & TV, Ringtones, XVID, Random Interesting Topics, Travel and Vacation, T-Mobile, NZB, The Cage, Health, Video Games News, Phones, Pets, Celebrity News, LG, Trivia & Polls, Style Lab, AT&T, HD DVD, Bell, BitTorrent, Introductions, Software & Hardware, Backberry, Telus, Sports Club, Show Off, Internet, Gaming, Motorola, Lounge, Announements, Cars & Transportation, TechnoZone, Samsung, Gossip and Rumors, Pda/Smartphone, Bluetooth, Predictions and Prophecies, Verizon, Sex & Relationships, Accessories, Music Videos, Health and Fitness, Eastern Imports, News, Music, American Muscle, Home and Dining, Reviews, IPhone, Religion, Rant-Whine-Complain-Vent, Smoker's Lounge, General Videos, Trucks and SUV, Writing and Literature, The Closet, Mobile Accessories, File Sharing, Blu Ray, Celebrity Talk, Video, Science News, Politics, Newsgroups, Home and Car Audio, Nokia, Gadgets, Beyond Reality, Girl Videos, Cooking and Recipes, Sprint, Really Weird Videos, Rogers, Carriers, Sports News, Power Sports & Motorsports, Fitness & Nutrition, MarketPlace, DVD, Games, Satellite, Sports / Cars videos, General Phones, Tv spots and Commercials., Humor & Jokes, The Great Outdoors, Sony Ericsson, RSS News, DIVX, Auto News
no new posts