- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
12 Posted Topics
Hello I am a beginner in programming using PLDs and am trying to figure out how I could get all the sums and carries of the 4 bit adder to be outputed onto one pin. One in ectual fact I am designing a PLD that can do both arithmetic and …
please help with this program it outputs and stores the last data added into the array(replaces all other data with the last data that was stored in the array). [CODE]<html> <head> <script language="javascript"> function Book() { this.title="not yet selected"; this.isb="" this.copies=0; this.price=0.00; } var obj=new Book(); function begining() { //alert("the …
hi I have crreated a conde to try and take input rom a user as a string then break it up into bits and pass it o it's functions but the values are not releacting at the functions and anyone has any other way o converting a string into a …
I don't think that was his assignment it might ectaully have been classwork or homework.
[QUOTE=sunveer;704206]I want help in reversing a string without using another array. a string "Hello" should be printed as "olleh" Please help.[/QUOTE] [code=cplusplus] #include<iostream> #include<string> using namespace std; int main() { string msg; cout<<enter massage"<<endl; cin.ignore(); getline(cin,msg); int z=msg.length(); fo(int n=z;n>-1;n--) { cout<<msg[n]; } cout<<endl; return 0; } [/code] this is …
hi all! how do I multipluy values inside the array I have tied the following but the compiler is giving me a error double a=(h[0]*b[1])+......
Hi could anyone tell me how to compile a three tear program in VC++. I am using g++ in school and so for practice at home I am using VC++ but I just can't get it to compile. thanks in advance.
I didn't really read your code as I am in a hurry. this might be long and consume a lot of memory but you sho;uld try it anyway: why don't you take input from a file and store it into two parallel arrays. After storing that information I think you …
so this is what I have done [code] #include<iostream> #include<string> void menu(); using namespace std; char choice; void digcom (); void matrices (); int main () { menu(); return 0; } void menu() { cout<<"\tMENU" <<endl<<"MATHEMATICS(matrices select A)\n"<<"DIGITAL COMMS select B\n"<<"c TO EXIT"<<endl; cin>>choice; while(choice!='c') { switch(choice) { case ('A') …
hi they is this program that I have created and the problem now is that I need it to be infinate unil he user enters the letter c. I hafe created a while loop then made the variable which stores this choice global after each function has ran i then …
I wish to create a program that will be a quiz game (multiple choice) questions I need to be able to display it and the options and allow the user to use the mouse to click to the option which he thinks is the correct answer. My answers will be …
The End.
STUDENT#101