answersLogoWhite

0


Best Answer

pls can someone help me with a code or giudeline on this project am currently working on.

my project is on reading data from a microcontroller (89s52) via serialport to Eight textboxes on a PC GUI using C#,am using Visual studio 2008.Am having problems on how to display the ASCII characters e.g(55,23,12,34,42,33,22,23,N 55,23,12,34,42,33,22,23,N,55,etc),also be able to store the read data into an access database using C#.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Where can you get the text book name and author nameof 89s52 microcontroller?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

From where you download understanding pointers in c book by yashwant kanetkar?

you cant download it . goto local store and buy it... he is an excellent author . dont rip off hardworking author like him.


Give Example with explanation of avl tree rotation?

45,60,70,13,10,30,22,33,24construct avl tree


Write a program in c plus plus to sort a book list in library?

#include<iostream> #include<string> #include<vector> struct book { std::string title; std::string author; // other members ... }; int main() { std::vector<book> books; books.push_back ( book {"Moby Dick", "Herman Melville"}); // ... }


Write a Program of book store management written in c?

/*Name of Student:- Ravi Ranjan Section:- M2111 Roll No. :- A13 Subject:- CSE Term Paper on Book Sale And Purchase System Date:- 11 November 2011 Submitted To:- Miss. Rimple Gilhotra */ #include<stdio.h> #include<conio.h> #include<string.h> struct record { char author[20]; char title[30]; float price; struct { char month[10]; int year; } date; char publisher[10]; int quantity; }; int look_up(struct record table[],char s1[],char s2[],int m); void get(char string [ ]); main() { char title[30],author[20]; int index,no_of_records; char response[10], quantity[10]; struct record book[]= { {"Steven","Lpu Chemistry",90.00,"June",1998,"Wiley",500}, { "Ritche","C Language",45.00,"May",1977,"PHI",100}, { "Kotchan","Programming in C",75.50,"July",1983,"Hayden",150}, { "Pytel","Basic",30.00,"January",1984,"TMH",100}, { "Pytel","Cobol",60.00,"December",1988,"Macmillan",250}, {"Balagurusamy","BASIC",30.00,"January",1984,"TMH",20}, {"Balagurusamy","COBOL",60.00,"December",1988,"Macmillian",25} }; clrscr(); no_of_records=sizeof(book)/sizeof(struct record); do { printf("Enter title and author name as per the list\n"); printf("\n Title:"); get(title); printf("Author:"); get(author); index=look_up(book,title,author,no_of_records); if(index!=-1) { printf("\n %s %s %.2f %s %d %s\n\n", book[index].author, book[index].title, book [index].price, book[index].date.month, book[index].date.year, book[index].publisher); printf("Enter number of copies"); get(quantity); if(atoi(quantity) < book[index].quantity) printf("cost of %d copies=%.2f\n",atoi(quantity), book[index].price*atoi(quantity)); else printf("\n required copies not in stock\n\n"); } else printf("\n Book not in list \n\n"); printf("\n Do you want any other book?(YES/NO):"); get(response); } while(response[0]=='Y' response[0]=='y'); printf("\n\nthank you.good bye!\n"); } void get(char string []) { char c; int i=0; do { c=getchar(); string[i++]=c; } while(c !='\n'); string[i-1]='\0'; } int look_up(struct record table[],char s1[],char s2[],int m) { int i; for(i=0;i<m;i++) if(strcmp(s1,table[i].title)==0 && strcmp(s2,table[i].author)==0) return(i); return(-1); }


1 Define a class in C plus plus to store following information of books Title Author Publisher Price?

class Book { public: Book(std::string title, std::string author, std::string publisher, double price) : m_title(title), m_author(author), m_publisher(publisher), m_price(price) {} std::string get_title()const{return(m_title);} std::string get_author()const{return(m_author);} std::string get_publisher()const{return(m_publisher);} int get_price()const{return(m_price);} private: std::string m_title; std::string m_author; std::string m_publisher; double m_price; }

Related questions

Author of the book gathasaptasati?

who is the author of the book gathasaptasati who is the author of the book gathasaptasati


Who is the author of the book 'Me and the Blondes'?

The author of this book is Teresa Toten.


Who is the author of book lilavati?

The author of the book lilavati is bhaskaracharya..


Who is the author of booked?

The author of a book is the person that wrote the book.


Who is the author of the book - Warlord?

James Steel is the author of the book - Warlord.


What is the definition of the author of a book?

The person who wrote the bulk of the book is the 'author'.


Who is the author of book The Hundred?

Kass Morgan is the author of the book The Hundred


What would a author of a new book seek?

what is the author of the book seek


Who was the author of the book The Killer?

Colin Wilson is the author of the book The Killer


What is the author to the book Lockdown?

Sean Black is the author of the book Lockdown


The author of the book of Galatians?

The apostle Paul was the author of the Book of Galatians.


Who is the author of the book titled healing homosexuality?

The author of this discredited book is Dr. Joseph NicolosiThe author of this discredited book is Dr. Joseph Nicolosi