67 Topics
|
|
Hello frind>> I need solve this equation >> Chebyshev differential equation in c++ >>Let us solve togather>>> first the equation is : [url]http://upload.wikimedia.org/math/c/a/e/cae214684f8d6fcaa89fbbe1a195524b.png[/url] let start with someone >> Thankyou |
|
after i input the three letter, i cant get the number back.. [CODE]#include <iostream> using namespace std; class Month{ public: int month; Month(char& one, char& two, char& three); Month(int& numb); Month(); void input1(istream& input); void input2(istream& input); void output1(ostream& output); void output2(ostream& output); }; int main (){ char x,y,z; int … |
|
Hi... i have a little problem on my code... HI open a txt that have this: LEI;7671;Maria Albertina da silva;xxxx@gmail.com; 9;8;12;9;12;11;6;15;7;11; LTCGM;6567;Artur Pereira Ribeiro;fdsdfsd@gmail.com; 6;13;14;12;11;16;14; LEI;7701;Ana Maria Carvalho;asasssas@gmail.com; 8;13;11;7;14;12;11;16;14; -------------------------------------------------------------------------------- LEI, LTCGM are the college; 7671, 6567, 7701 is student number; Maria, Artur e Ana are the students name; [email]xxxx@gmail.com[/email], … |
|
[B] I have this method:[/B] [code] static int countLeaves(BinaryNode node) { if (node == null) { return 0; } else if (node.left == null && node.right == null) { return 1; } return countLeaves(node.left) + countLeaves(node.right); } [/code] and i want to Write a client program that constructs a binary … |
|
i everyone, I'm trying to send data to arduino(serial) from assembler (8086 -windows). I can read data but write doesn't work. I always receive 80H in AX, this is the code: [code]send proc MOV AH,00 ; init port MOV AL,11101011b ; 9600, N,1 bit stop, 8 bit data MOV DX,00 … |
|
plxxxxxxxxxxx help me thts ma java assg for mean median and mode i have calculated some part of it for group data can any 1 help me to find out the rest offfffffff [code]String ans; int total=0,small=0,large=0; int numEntries=0; float range=0.0f; float wid = 0; // user enters number String … |
|
Hi, i can't seem to be able to fix this loop ! :( I have tried to use cin.clear() but it still does not work. It goes in an infinite loop. Any ideas? Thanks in advance! [code] #include <iostream> #include <cstring> #include <string> using namespace std; int main() { char … |
|
so i am suppose to write the towers of hanoi in MASM and have the directions needed to solve the tower for an inputed number of disks. this is what i have so far [CODE]solveHanoi PROTO, numDisks:DWORD, post1: DWORD, post2: DWORD, post3: DWORD INCLUDE Irvine32.inc .data messagePrompt BYTE "Number of … |
|
for reading the image which is in bmp. i am reading that same as text file but it does not work. my code [CODE]# include <iostream.h> # include <fstream.h> # include <string.h> using namespace std; int main() { string getcontent; if string openfile(" image.bmp") if(openfile.is_open()) { while(! openfile.eof()) { getline(openfile, … |
|
Write a program which takes a single integer input "height" and displays a "pyramid" of this height made up of "*" characters on the screen. Sample Output: Pick another height (must be between 1 and 30): the triangle must be equilataural * *** ***** ******* ********* *********** ************* |
|
Hey guys, this is my first time posting. I'm almost done with the whole program but the only problem left is the word frequency counter. I have file(.txt) that the program reads on and it outputs the words aphabetically and if the word has been seen, it adds a count … |
|
Ok so I have been working on this for 12 hours straight and I cannot get it to work right to save my life. Attached is the word document of what the project is suppose to do and the file its suppose to read from. [B]ANY HELP IS GREATLY APPRECIATED … |
|
i am soryy my english is very bad but ill try my best to explain.i need help with my c++ assignemnt urgently. i want to create a frame and fit in this histograph(attached) which i made with the help of the container, where the x-axsis is the number from like … |
|
Hi.. I am trying to popup 53 uri's in single firefox window in tabs..But using the given code am getting it in different windows..Can anyone check dis out..n help me to correct it.. #!/bin/bash processLine(){ line="$@" # F1=$(firefox $line?wsdl | awk '{ print $1 }') #firefox -new-tab "$line?wsdl" firefox $line?wsdl … |
|
hi guys, here's my code im having a hard time on how to edit. i can add and view it yet unable to edit it. thanks! [code]/* * dental.c * * Created on: 30/04/2010 * Author: danovert */ #include<stdio.h> #include <string.h> #include <conio.h> #include <stdlib.h> typedef struct { char fname[30]; … |
|
Make a project, consisting of 3 modules: student.cpp, course.cpp and register.cpp. Write source and header file for a program that registers students for courses. Design a class student that stores the name of the student, the id number and array (vector) of all course numbers for which the student is … |
|
[CODE]#include<iostream.h> #include<fstream.h> #include<string.h> class database{ public: virtual double store_data(void); virtual void save(ofstream &file); virtual double GetPassingMark(int pass); virtual void display(void); virtual void edit(void); protected: void data(void); //database(){cout<<"constructing";} //~database(){cout<<"destructing";} }; double database::store_data(void) { char code[100]; double totalmark,laboraty,exam,assignment,sum_assignment; int i,no_of_parts,a,pass; totalmark=0; for(i=0;i<7;i++) { cout<<"=======================================================\n"; cout<<"1.enter the subject code"<<i+1<<"\n"; cin>>code; cout<<"2.Enter no of … |
|
I have create a class called Airline Reservations and I have all my codes by I am having trouble assigning seats in the plane and need some help. Please help. |
|
[code] #include <iostream> #include <list> #include <numeric> #include <algorithm> using namespace std; int main() { // create linked list of integers list<int> the_list; // input as requested cout << " Enter length of the list " << endl; size_t len; cin >> len; for(size_t i=0; i<len; ++i) { cout << … |
|
|
I got this code from a book and it doesn't seem to work. I've triple checked for common mistakes and syntax errors but can't find any. Please tell me where I am going wrong. #include <pthread.h> #include <stdio.h> #define NUM_THREADS 5 int main(int argc, char *argv[]){ int i, scope; pthread_t … |
hey, I need to make a program that • Define a default array size. the size HAS to be 15. • Define a function “ResizeArray” which virtually increase the size of an array, by creating a new array with the size of the old array plus the default array size … |
|
I need 5 T or F questions with the option to input the answer and then add the correction to answer if right or wrong. i just need random questions! I am thinking of going to school for computer programming and my FIL is a programmer. [code] #include <iostream> #include … |
|
I have a Date class. In this class :(Date.h) [code]class Date { ... public: static Date creatDate (char *stringDate) .... };[/code] Date.cpp: I want to creat an array like this: [icode]stringDate[2][12] = {{31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}, {31, 29, 31, 30, 31, 30, … |
|
/*None of the buttons except create and clear work can someone help please , can anyone help me with the parts i have missing , the account and date test class work fine i just need the bank account GUI to work properly , here is a detailed explanation of … |
|
I am a noob in programming and i am writing a program in Visual C++ and i want to save a screenshot taken when the program opens to a .bmp or some type of image file. keybd_event(0x2C, 0, 0, 0); I am using this to call the keyboard event PRTSC, … |
|
I am having trouble with an array. I have to enter some food items and their calorie values and then when finished I have to re enter the food item and then search the array to output their calorie values. My problem is how do I search an array. here … |
|
Hi to all, I have a problem and can't understand why this happen... I'll explain all now. I'm not a very good programmer, I'm just starting and I'm doing a program that must run on linux like a daemon. The job of this program is to take all the characters … |
|
Hello, I have to make this programe. Please I need some tips and help to accomplish my objective. Please give a sample sketch. Must guide me.... [U][B]Problem Statement: Exchange of currency rates[/B][/U] You are required to write a program for Currency Exchange rates. User will have three options i.e. Pakistani … |
|
so my project is due tomarrow and im stuck i need to some help. This is what i have it came up with some errors and i need to finish it. The conditions are TOTAL BALANCE and need to withdraw only multipule of 20 [CODE]// This is a program that … |
|
[CODE]function projection($x1, $x2, $x3){ //$x1 = first year //$x2 = second year //$x3 = last year if (($x1 != "") ||($x1 != 0) && ($x2 != "") ||($x2 != 0) && ($x3 != "") ||($x3 != 0)){ //MODIFIED EXPONENTIAL $b = ($x3-$x2)/($x2 - $x1); $a = ($x3 - $x2) / … |
The End.