49,761 Topics
| |
To print this pattren using c++ code 123417181920 --567141516 ----891213 ------1011 | |
HELP:How to transmit data with ZIGBEE using visual studio c++ Two xbee series 2: XBEE 1-connected to a pc(which transmits data to my other xbee) XBEE 2-receives data;connected to a LCD. Thanks in advance. | |
how can i put this in a flowchart form? need for my project and where will i put all the void? #include<stdio.h> #include<time.h> #include<process.h> #include<string.h> #include<conio.h> #include<dos.h> /*Placement*/ void order(); void lo(); char *date; /*header*/ char hdr[]="\t\t\t\t Pizza Hut\n\t\t\t\t Billing System\n\t\t\t Philippines Food Corporation\n"; /*opening*/ void main() { clrscr(); int … | |
write a program to be used in a supermarket to display an item togetter with the price and to add the price and balance shown on the screen where neccessary | |
is void a declaration, and are there more other than the int, char, float, string? | |
I have a text file that represents a book , this first line of it for example is P.G. Wodehouse, "Heavy Weather" (336 pp.) [PH.409 AVAILABLE FOR LENDING] So there is authors name, title, number of pages and if the book is available. As they are not all seperayed by … | |
My project for my C++ class requires that I take a bunch of weather data. It's a ton of lines so I won't include all of the text file, but here's a sample of it: 0 943 0 5 0 107 2 401 0 299 The first column is snowfall … | |
declaration error appearing on/after `{` below void order() please help what is my error? #include<stdio.h> #include<time.h> #include<process.h> #include<string.h> #include<conio.h> #include<dos.h> /*Placement*/ void order(); void lo(); char *date; /*header*/ char hdr[]="\t\t\t\t Pizza Hut\n\t\t\t\t Billing System\n\t\t\t Philippines Food Corporation\n"; /*opening*/ void main() { clrscr(); int choice; printf(" === \n"); printf(" ======== \n"); … | |
InputFile.txt Bea Sanchez Junior Math OPS HIGH 17 90 Nicole Sanchez Freshman Science OCC HIGH 13 98 Billy Cruz Senior English OPS HIGH 17 80 #include <iostream> #include <string>; #include <fstream> using namespace std; struct StudentNode{ string firstName; string lastName; string gradeYear; string subject; string schoolName; int age; int grade; … | |
Hi All, I saw some code where a `sem_init` was called with a value of 0. I didn't quite understand what this meant. I understand that semaphores can be used to protect shared data, in that we allow just one thread to access the data. And, the way to do … | |
Hi, i was working on corba project using java, now i want to do it on c++. but i don't know how to compile the idl file in c++. I'm using dev-c++ for c++. So what software should i have do compile the idl file? | |
Hello All! I'm now creating a windows form application with login function. User need to input the id and password into two textbox. After clicking the "Login" button, the programme will compare the inputted id and password with a .txt file, if they match with each other, show a message. … | |
i need your help i want to write a program which copy one folder or a file from one location to another location in c++??? | |
Hello All; I want to display logs in the following format as below:- XY,1,1114,ABCDEF,d1744783-0681-4f0c-adee-83277f5e4b85:286,192.168.33.211\n where:- XY is servername. ABCDE:- UserName. I want to display this specific log from the multiple logs of different server with different name. How to do that using threads ?? | |
My project for my C++ class requires that I take a bunch of weather data. It's a ton of lines so I won't include all of the text file, but here's a sample of it: 0 943 0 5 0 107 2 401 0 299 The first column is snowfall … | |
a c++ program the insert new element at the end of a linked list, and allow a user to search for specific item in the linked list. pseudoode for insrtion of new elements at the end of the list | |
Create a program that will ask for a two numbers and use the selected operators. How can i create this program without using switch statement? need some help.. | |
I am working on a project and I need one CmakeList.txt file, Config file, spec file. I searched a lot. tutorials are telling how to make these files and all. Please tell me from scratch what they are and what is the use of these files? Please provide links also … | |
When reading any beginning manual on C++ an array is introduced as follows: float A[10]; That format is valid, in that it compiles and seems to work just fine -- for a while. Later on in the manual we learn to allocate/release memory using the new and delete keywords. So, … | |
Write a C++ program that asks the user to enter the password. The password to this program is "password". If the password is correct, display the following message: "CORRECT!!" "ACCESS GRANTED" Else display: "Incorrect Password" "Please enter correct Password" Use a do.......while loop to complete the above task. | |
Write a c++ program to compute Number of visits for salesman per month, where he takes 60 minutes in each visit and 15 minutes to move from visit to other. Then compute the total profit for this salesman if you know that the return profit for each visit is 500 … | |
Hello everyone!! I am doing simple project on turbo c, i have made some codes for moving circle. While moving the circle it erases the previous backround design made beyond the playing area like scoring box and others. i need to check the coordinates of the cirlce and stop that … | |
Write a program which finds the factorial of a number entered by the user. (check for all conditions) (Beginner). Create a program which generates fibonacci series till a number 'n' where 'n' is entered by the user. For eg. if the user enters 10 then the output would be: 1 … | |
write a program that takes a three digit/two digit/one digit number as an input and displays the number in words | |
Greetings: I am having some errors on this code: Any ideas what is missing in the code? Thanks, Dani ` #include<stdio.h> void func_count(int); int main( ) { int i, num; for(i = 1; i < 21; i ++ ) { scanf(“%d”, &num); if(num < 1 || num > 6) printf(“Error: … | |
This is my last question over my current running project. For some reason, when i call my object in my main program it gives me errors. If I try to call it as: Checkout_Simulation sim_obj; Then I get errors: Checkout_Simulation.cpp:16: error: missing template arguments before ‘sim_obj’ Checkout_Simulation.cpp:16: error: expected `;' … | |
Guys is there a way how I can use winsock to design a simple web server, if possible please help me. | |
I have to sort the 5 elements in a, the Days and the Vowels. How do I use the template <class T> with the way I put this?? #include <iostream> #include <algorithm> #include <iomanip> using namespace std; // Function prototypes void DisplayA(int[], int); void showArray(int[], int); void DisplayB(string[], int); void … | |
Greetings Team: This code looks pretty decent. The program runs but it is incomplete. I need help making the program below work better. I did a MAIN function and the following funcations to compute the stress and strain in a steel rod of diameter D (inches) and length L (inches) … |
The End.