49,757 Topics

Member Avatar for
Member Avatar for sykopwinx

write a program to take decimal number and to print equivalent character?

Member Avatar for Ancient Dragon
0
102
Member Avatar for Mazi007

Hey guyz. It's my task to write a code in C++ which indents a pre-written code. Can any one here help me writing this ?

Member Avatar for Moschops
0
77
Member Avatar for emorjon2

Hi everyones! I have explore and development on many programming languages as C++, python, perl, java(a little bit) and Assembly (a little bit),and web languages like html, javascript(a little bit) and PHP. Now I'm wanna create my own OS. My OS will have a simple boot file as starting up …

Member Avatar for muazzamalikazmi5
0
388
Member Avatar for man.chester.581

1- implement a double linked list (node contains data and left pointer to the previous node and right pointer to the next node)

Member Avatar for rubberman
0
170
Member Avatar for Dang_1

I try copy a string to another string, but it has error with "_ps->copy(_pt,_beg,_end);". This is my code( but it is not full code): string* find_The_Longest_Word(string* _ps, int _beg, int_end) { string* _pt; _pt =new string(); _ps->copy(_pt,_beg,_end); return _pt; }

Member Avatar for Dang_1
0
106
Member Avatar for prince777
Member Avatar for Vikram Sehgal

hello again, so i want to make a programme where the file saved is saved with different names at every loop.. like at first loop it will save as file1.txt, 2nd loop file2.txt, so on... so this is my code... #include <iostream> #include <fstream> using namespace std; int main() { …

Member Avatar for deceptikon
0
510
Member Avatar for Abdul_23

This is a program..to create and search for Binary Tree.. An error is occoured for class tree ..as " Too many types in declaration". I would be glad if anyone can tell me to solve this problem. Thanks for all the support. #include<iostream.h> #include<conio.h> struct node { int data; node …

Member Avatar for Abdul_23
0
200
Member Avatar for Vikram Sehgal

hello guys, i found a piece of code in the net.. this code is a progress bar loop programme. I am new to programming, and i am not able to understand this code. PLEASE can anyone explain it or tell a simpler version of it. thanks(sorry for my english) #include …

Member Avatar for Vikram Sehgal
0
201
Member Avatar for Vasthor

error: [Click Here](http://s27.postimg.org/syfgdiagz/New_Bitmap_Image.png) snippet from main.cpp: std::ifstream inFile; inFile.open ("in.txt"); TextQuery(inFile); inFile.close(); snippet from TextQuery.cpp: TextQuery::TextQuery(std::ifstream &in) { std::size_t countLine = 0; std::set<std::size_t> bucket; std::string line; while (in >> line) { m_wordStore.push_back(line); ++countLine; bucket.insert(countLine); m_queryMap[bucket] = m_wordStore; } } been trying to use std::cin to replace it as input feature …

Member Avatar for Vasthor
0
355
Member Avatar for PulsarScript

Hi to all! I decided to make project about cars and their makes. Can anyone suggest some interesting functions that it might have,to make it interesting Thank you,i opned for ideas 24/7

Member Avatar for vmanes
0
102
Member Avatar for fortranlover

please i need help with my work.. write a program in c++ that accepts a real number with two decimal places and output the vallue in words.. [assume that no amount will exceed 999999999999.99

Member Avatar for vmanes
0
230
Member Avatar for alaa ashraf
Member Avatar for tharindu123

#include<iostream.h> #include<conio.h> #include<dos.h> void main() #include<iostream.h> #include<conio.h> #include<dos.h> void main() { clrscr(); char un[4]="123",pw[4]="123",unn[3],upw[3]; for(int x=2;x<=79;x++) { gotoxy(x,2);cout<<"Û"; gotoxy(x,24);cout<<"Û"; } for(int y=2;y<=24;y++) { gotoxy(2,y);cout<<"Û"; gotoxy(79,y);cout<<"Û"; } gotoxy(5,3);cout<<"fly aboard system"; gotoxy(3,4);cout<<"username";cin>>unn; gotoxy(3,5);cout<<"password";cin>>upw; if(un[3]==unn[3] && pw[3]==upw[3]) { for(int a=1;a<30;a++) { delay(100); sound(555); cout<<"Û"; } nosound(); } else { gotoxy(3,6);cout<<"wrong"; } getch(); }

Member Avatar for Ancient Dragon
-1
145
Member Avatar for man.chester.581

i just want to know how can i start to code my private GUI in c++ what libraries can i use? and is there any book or bdf can help me ?

Member Avatar for glenwill101
0
297
Member Avatar for xidike

I'm having a great trouble in compiling a custom header file in my project, with Visual C++ 6.0, when I open my source files and click builds, every thing goes fine, but when I try to compile header file, I receive following error, " Cannot compile 'D:\Programs\SalesP.h'; no compile tool …

Member Avatar for xidike
0
190
Member Avatar for jainasamiento

related on the first question...which is getting the commission,,, let me correct it..if you run this code the sample output will be like below; the problem is I dont know which one will be first to make a code. the output will be like this; sample output monthly sale=15250 commission=610 …

Member Avatar for pritaeas
0
94
Member Avatar for amzz

I have created a class with few public and private functions to create an sqlite database and related operations.consists of 2 private member variables **A & B**. **Public functions:** to check whether database exists ,if exists open and read data A & B else call the 3 functions from private. …

Member Avatar for amzz
0
852
Member Avatar for Amir_6

Hi, I'm developing a software in C++/Qt5 and I would like to create a button, which when u click on it, a "status" is posted on the user own wall. So I created a facebook app on https://developers.facebook.com/ but I don't know how to configure it. Also I tried to …

Member Avatar for Amir_6
0
429
Member Avatar for mirchi mirchi

tell me a different program in which function,array,loops and structure are used? i present it on tuesday

Member Avatar for mirchi mirchi
0
114
Member Avatar for andreas.petrou.967

I have this program Define a function hypotenuse that calculates the length of the hypotenuse of a right triangle when the other two sides are given (22__hsideasideb=+). Use this function in a program to determine the length of the hypotenuse for each of the triangles shown below. The function should …

Member Avatar for andreas.petrou.967
0
2K
Member Avatar for ashishkadam0220
Member Avatar for biljith

isnt this the shortest method [code=c]#include<iostream.h> #include<conio.h> void main() { clrscr(); int a,i=0; cout<<"enter a number"; cin>>a; while(a>0) { int b=a%10; a=a/10; i=i+b; } cout<<"sum="<<i; getch(); }[/code]

Member Avatar for ReaseySo
0
268
Member Avatar for acmarshall

You will write a program that uses a multidimensional array having 3 rows and 8 columns and sorts each of the rows using both a bubble sort and a selection sort. You must declare the array inside of main. You will have a for loop containing the calls to bubbleSort …

Member Avatar for vmanes
0
204
Member Avatar for bustamorg

Hey I am inputting this string into a this function " A toyota's a toyota". The code should count the frequency of the word and letter count and display it. The issue I am having is that is does not count them all, it misses the last word counts. Here …

Member Avatar for rubberman
0
229
Member Avatar for fahadmunir32

what difficulties most of the beginners in c++ programming student face i guess logic building ** i have a blog about c++ programming for beginners on which i try to things the as simple as i can so every beginner can understand the logic of program. Because once they are …

Member Avatar for rubberman
0
514
Member Avatar for king13

A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $.50 per hour for each hour [I]or part thereof[/I] in excess of three hours. The maximum charge for any given 24-hour period is $10. Assume that no car parks for …

Member Avatar for radhakrishnan.akshai.3
0
24K
Member Avatar for chubbyy.putto

can anyone tell what did i wrong on this random number? http://pastebin.com/M3J9u5sR

Member Avatar for DavidB
0
152
Member Avatar for DavidB

I am trying to use Visual Studio's debugging features more effectively; I certainly do not know all its ins and outs. At the moment, I would like to quickly see the values of an array. See the attached screenshot of the Watch Window. The variable **k** is a global array …

Member Avatar for DavidB
0
945
Member Avatar for acmarshall

I am doing a programming assignment. This program asks you to collect statistics on precipitation and temperatures from the four quarters of a year and print the calculated results. It is an exercise in using enumerated types and arrays. The measurements are entered at the end of every quarter. Major …

Member Avatar for acmarshall
0
170

The End.