Jump to content
Science Forums

IT Girl

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by IT Girl

  1. IT Girl

    Summary

    Hi .. can any body write the summary fot this topic please ?!! Blogs and blogging In a few short years weblogs have become a very influential and widely used part of the web. What is a blog? A blog, or web log, is a regularly updated online journal. Some keen bloggers post new entries several times a day but most are updated daily. The most recent entry sits at the top of the blog and features a title, text, time it was posted and a permanent weblink to the post. Entries often combine text, images and links to other blogs. Blog-tracking service Technorati estimates there are 52 million blogs in existence. Many people keep a blog on a site dedicated to blogging but the technically savvy host their own on a domain they own. What are they about? There are blogs on every conceivable subject. All share the characteristic of noting or commenting on events significant to the blog owner. These could be anything from family holidays, new gadgets, foreign policy or TV shows. Some artists use them to keep fans updated, some politicians keep in touch with constituents via a blog and companies let customers know what they are working on via these online diaries. Who reads them? The vast majority of blogs have a very small audience. For instance, some gap year students use them to keep friends and family up to date with their travels. Few people blog to become famous though some have earned notoriety via their writings and have turned their journals into a book. The most successful blogs have a community of readers and become more about the conversations generated by updates rather than about the entries themselves. In many industries, particularly the technology world, blogs are becoming the place that news breaks first. Why are they popular? The word "weblog" was coined in 1997 by Jorn Barger but long before then many people used a personal webpage to maintain a journal, diary or keep a conversation running. Blogs have become much more popular as easy-to-use tools to create them have appeared. These websites and programs let people create and annotate entries using basic word processing and mouse skills. Because of this most blogs are text based but increasing numbers use photos, video or audio. Why are they important? Blogs have become the standard bearer for the second wave of the web in which users collaborate to create content rather than simply get what they are given by more mainstream outlets. Blogging tools are now offered by a huge number of sites. Many social networking sites such as MySpace and Bebo let people create a personal webspace they can illustrate and annotate. Some blogs, and bloggers, have become very influential and their opinion on an event can shape how the rest of the world sees it.
  2. Thanx for passing ,, ErlyRisa .. i want to solve this problem by structure ,, and i used visual c++ Buffy .. d = description look for that .. and please if you know the answer ,, help me #include<iostream> #include<fstream> #include<string> using namespace std; void getData(ifstream&infile,menuItemType mlist[],int size); void showMenu(menuItemType mlist[],int listSize); void makeSelection(menuItemType mlist[],int listSize,selectedItemType slist[],int& slistLength); void printCheck(menuItemType mlist[],int listSize,selectedItemType slist[],int slistLength); struct menuItemSpecificationType{ string[4]; string description; }; struct menuItemType{ int num; string name; menuItemSpecificationType descripion; double price;; }; struct selectedItemType{ int num; int quantity; }; void getdata(ifstream& infile, menyItemType mList[], int listSize){ int i=0; while(in){ list.num=i+1; getline(in,list.name,'t') for(int j=0; j<4; j++) in>>list.menuItemSpecificationType descripion.description.item[j]; getline(in,list.menuItemSpecificationType descripion.description,'t') in>>price; }
  3. first of all it's not homework .. :P O.K ,, Check this function to me in this problem .. i have a file .. in it some meal .. void getData(ifstream&infile,menuItemType mlist[],int size){ int i=0; while (infile){ mlist.num=i+1; getline(infile,mlist.name,'t'); for(int j=0;j<4;j++) infile>>mlist.d.item[j]; getline(in,list.d.desc,'t'); infile>>mlist.price; i++;}
  4. Hi everybody, can you help me to solve this problem ?!! I need your help please .. (1) Define a structure named menuItemSpecificationType that stores ingredients in a menu item (string [4]) and a brief description of the item (string). (2) Define a structure named menuItemType with four components: num (int), name (string), description (menuItemSpecificationType), and price (double). (3) Define a structure named selectedItemType with two components: num(int) and quantity (int). (4) Write a program to help a restaurant automate its breakfast billing system. The program should do the following: (a) Show the customer the different breakfast items offered by the restaurant. (:eek2: Show the customer a description of a specific item according to the customer request. © Allow the customer to select more than one item from the menu. The customer may ask for multiple items of one type. (d) Calculate and print the bill. Use an array, menuList, of struct menuItemType and an array choiceList of selectedItemType. Your program must contain at least the following functions: (a) Function getData: This function loads the data into the array menuList. The number of menu items in the file is known. The prototype of the function is: void getData(ifstream& inFile, menuItemType mList[], int listSize); (:doh: Function showMenu: This function shows the different items offered by the restaurant and tells the user how to select the items. The function allows the user to select an item to display its description. The prototype of the function is: void showMenu(menuItemType mList[], int listSize); © Function makeSelection: This function allows the user to select menu items and specify their quantities. The prototype of the function is: void makeSelection (menuItemType mList[], int listSize, selectedItemType sList[], int& sListLength); (d) Function printCheck: This function calculates and prints the check. Note that the billing amount should include a 5% tax). Format your output with three decimal places. The name of each item in the output should be left-justified. The prototype of the function is: void printCheck(menuItemType mList[], int listSize, selectedItemType sList[], int sListLength); Thanx in advance .. :evil:
  5. IT Girl

    Hello

    HI everybody, I'm a IT girl student .. CS major .. I'm here to learn more ..
×
×
  • Create New...