49,761 Topics

Member Avatar for
Member Avatar for vinod111

To print this pattren using c++ code 123417181920 --567141516 ----891213 ------1011

Member Avatar for stultuske
0
127
Member Avatar for Jace_1

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.

0
109
Member Avatar for bernardine

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 …

Member Avatar for Schol-R-LEA
0
210
Member Avatar for Ogua

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

Member Avatar for ddanbe
0
121
Member Avatar for bernardine

is void a declaration, and are there more other than the int, char, float, string?

Member Avatar for DaveAmour
0
57
Member Avatar for Jeremy_4

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 …

Member Avatar for David W
0
928
Member Avatar for Alex_31

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 …

Member Avatar for David W
0
367
Member Avatar for bernardine

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"); …

Member Avatar for helmi_1
0
187
Member Avatar for redtribal23

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; …

Member Avatar for deceptikon
0
164
Member Avatar for myk45

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 …

Member Avatar for myk45
0
5K
Member Avatar for Pervin_1
Member Avatar for mridul.ahuja
0
110
Member Avatar for hannahaddad

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?

Member Avatar for Hector73
0
440
Member Avatar for al2714

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. …

Member Avatar for Moschops
0
221
Member Avatar for hadi12426

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++???

Member Avatar for mridul.ahuja
0
145
Member Avatar for tnd2491

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 ??

Member Avatar for vijayan121
0
179
Member Avatar for Alex_31

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 …

Member Avatar for Moschops
0
202
Member Avatar for St John

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

Member Avatar for Zawar_1
0
158
Member Avatar for tentrabyte

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..

Member Avatar for mridul.ahuja
0
312
Member Avatar for nitin1

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 …

Member Avatar for mridul.ahuja
0
267
Member Avatar for tgreiner

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, …

Member Avatar for tgreiner
0
224
Member Avatar for sheenalsingh

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.

Member Avatar for mridul.ahuja
-1
163
Member Avatar for mohamed_49

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 …

Member Avatar for AkumaJack
0
227
Member Avatar for Shrijan_1

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 …

Member Avatar for ddanbe
0
145
Member Avatar for Basil_1

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 …

Member Avatar for <M/>
0
294
Member Avatar for DuduGuy

write a program that takes a three digit/two digit/one digit number as an input and displays the number in words

Member Avatar for davidnelson4911
0
272
Member Avatar for daniel1977

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: …

Member Avatar for tinstaafl
0
238
Member Avatar for Alyssa_2

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 `;' …

Member Avatar for Moschops
0
715
Member Avatar for Wagaana

Guys is there a way how I can use winsock to design a simple web server, if possible please help me.

Member Avatar for Wagaana
0
115
Member Avatar for DS9596

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 …

Member Avatar for nullptr
0
410
Member Avatar for daniel1977

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) …

Member Avatar for ravenous
0
169

The End.