17 Topics

Member Avatar for
Member Avatar for kodak

I have written a Borland C++ database program some time ago that has been migrated to a new machine running Windows 7 home premium. Errors are showing up that suggest a problem with the relationships between tables ( related records are being mixed up ). When I check the tables …

Member Avatar for kodak
0
158
Member Avatar for Jack Martin

# include <iostream> using namespace std; int main() { cout << "By this program you can know about Whether a number is a or not" ; cout << "Enter a number less than 1000 :- "; int a,b,c,e,f,g,k ; cin >> a; if (a < 1000) b=a/10; k=b+2 ; c=a-(k*10); …

Member Avatar for WaltP
-1
164
Member Avatar for shabbo_03

im doing a college project in c++. it is a token system of bank(line,queue..).it waits for a enter key and then it creates a token with entry time and expected leaving time,cashier to attend to and token no. whenever i compile the program it gives no error but after runing …

Member Avatar for mbulow
0
350
Member Avatar for AmerJamil

can any one please tell me am i done my question right? my question is to store store 1035 to 1265 random in a character array and display the array. and im not sure whats this srand is doing? [code] #include<iostream> #include<stdlib> #include<conio.h> int main(){ srand(1035); char b[30]; for(int i=0;i<30;i++) …

Member Avatar for Ancient Dragon
0
177
Member Avatar for AmerJamil

i have two questions 1st is can any one please tell me what is the role of setprecision in C++, why it is used? 2nd is : this statement [code]totalS+=sales[i][j];[/code] is equivalent to what, i.e what is the role of this += thanks alot

Member Avatar for frogboy77
0
144
Member Avatar for AmerJamil

My question is when user enter any key from the keyboard including arrow keys, it should print one asterisk * , when user will again press any key it will add one more asterisk and ,and when user again press any key from keyboard it should add one more asterisk, …

Member Avatar for AmerJamil
0
232
Member Avatar for Aaron26

I need example parking system with C++ programming - logIn - record, incoming vehicles - records, out of vehicle - parking fees if there is a more complete I am very grateful :D I hope friends can help me, thanks

Member Avatar for SgtMe
-4
227
Member Avatar for xshinichix

[CODE]#include<stdio.h> #include<conio.h> void main() { int a; printf("\nEnter number of inputs: "); scanf("%d", &a); for( int x=1; x<=a; x++ ) { for( int y=a-x+1; y>=1; y--) { printf("%d",y); } printf("\n"); } getch(); } [/CODE] im still a noob. i know the output of this one. but i cant seem really …

Member Avatar for XMasterrrr
0
174
Member Avatar for xshinichix

TURBO C ++ HELP! INTERATIVE STATEMENT Im a beginner so please help me. USING FOR LOOP: write a program that will display the following pattern, given the value of n. example: of n=4 output: 1234 123 12 1

Member Avatar for xshinichix
0
370
Member Avatar for fsl4faisal

[CODE] #include<stdio.h> #include<conio.h> #include<stdio.h> void maketree(struct node**); void inorder(struct node**); struct node{ struct node *left; struct node *right; int data; } void main() { struct node *root; root=NULL; printf("Enter root"); maketree(&root); preorder(&root); getch(); } void maketree(struct node **root) { int num; struct node *temp; if(*root==NULL){ //printf("Enter number"); scanf("%d",&num); temp=(struct node*)malloc(sizeof(struct …

Member Avatar for gusano79
0
162
Member Avatar for sethamus

I am having trouble getting my program to run. I can't figure out where this error is...prob. something easy and i'm just to tired to find it. Anyways here is the project details and the c++ code that I have wrote is attached below since I haven't messed with the …

Member Avatar for wisaacs
0
216
Member Avatar for xofth

I have problem in reqruired output [B]the input is[/B] 333-0092-8868389 [B]required output is[/B] Country code is = 0092 City code is = 333 7-digit number is = 8868389 Phone number in correct sequence is = 0092-333-8868389 The full code is [CODE] #include<iostream.h> #include<conio.h> #include<string.h> #include<stdio.h> void main() { [COLOR="Red"]char ch,*str,*country,*city,*digit;[/COLOR] …

Member Avatar for abhimanipal
0
106
Member Avatar for mbrinkley

I have been given an assignment to plan, code, and execute a program to calculate data about a person. I am not here asking about how to code the program, but rather to troubleshoot at what's wrong with my compiler/command prompt. Here's what's happening: I will code a program in …

Member Avatar for mbrinkley
0
224
Member Avatar for aay

I know this has been asked before, but none of the threads I found helped me much. I am a beginner at C++ programming and need help figuring out why this doesn't work. [B]Question[/B]: e^x can be approximated by sum 1 + x + x^2/2! + x^3/3 + ... + …

Member Avatar for WaltP
0
3K
Member Avatar for moonwalk

hi , is there a soft that can convert a visual c++ project to c++ builder ??? I've tried a tool that comes with c++ builder but with no result . thanks

Member Avatar for Ancient Dragon
0
152
Member Avatar for techie1991

Hello, I was trying to implement data structures using file operations. I am using a data structure of two integers, one being the index number and other being the value. My actual aim is to recreate the file containing the data using a log. But, the program isn't running as …

Member Avatar for WaltP
0
453
Member Avatar for vishalkhialani

Hi, I am using Borland c++ builder 2009 and I want to make a graphical application for my project. I need a book that can teach me that. I searched the net but I always found book on version 5 which is over 10 years old. Does anyone know any …

Member Avatar for shaynerossum
0
120

The End.