49,761 Topics

Member Avatar for
Member Avatar for CRD

The version of DEV-C++ I Do not Know. However I would appreciate any information as to where I might find information as to how you can access Drives and the Printer on my machine with C++ commands. at present I'm unable to do anything in my C++ Programs other than …

Member Avatar for CRD
0
174
Member Avatar for jrivera

I have a hw project and I need to write my own reverse iterator. The problem is i don't know for sure if I'm starting off ok. Here is the code I have so far and a simple test in main keeps giving me an error stating no parameter's for …

Member Avatar for vijayan121
0
1K
Member Avatar for Skyblue

hi everyone i really need a maze game in C++. i know its not fair for me to just ask for the program but its due tomorrow and i really don't know how to do it. can somebody help me out with this. thanks

Member Avatar for John A
0
92
Member Avatar for shamma

What is the time complexity T(n) of the following portions of code? For simplicity, you may assume that n is a power of 2. That is, n = 2k for some positive integer k. a) … for (i = 1; i <= n; i++) { j = n; cout << …

Member Avatar for Ancient Dragon
0
95
Member Avatar for aberlynn

hi folks - i'm quite new to c++ and have written a program where i have used a linked list to simulate 3 printers working in a queue according to their priority. After much blood, sweat and tears I got that bit working. Now I'm onto the second "easy" bit...I …

Member Avatar for iamthwee
0
113
Member Avatar for scarface3288

Hi every one I have a big problem, I need help with creating a program which reads every third word in a text file and excludes puncuation like -,?.!'" etc.. so far none of my work need code or suggestions just plain help(newb) [code] #include <iostream> #include <fstream> #include <string> …

Member Avatar for iamthwee
0
4K
Member Avatar for wheelie

Hi, Im trying to make a sysmple program that plays different .wav files when an appropiate key is pressed. Its going to be keyboard drumkit kind of thing, anyway, ive got it to play the sounds, but they always seem to have a short delay, from when the key is …

Member Avatar for wheelie
0
89
Member Avatar for MukeshZ

hi All, I want to fit "10"(Integer) in format like 000001 00 i.e. first number in six bits and second in two bits so that finally i read it as 04 in Integer could anyone suggest how can i do this ? I am trying with struct number { UINT …

Member Avatar for vijayan121
0
140
Member Avatar for MukeshZ

hi I want convert Binary String to intger Format in c++. like "00000100" should give me as "04" or "4" could anyone suggest me the solution for it. thanks Mukesh:)

Member Avatar for vijayan121
0
158
Member Avatar for Lavitz

hey guys. i was given a project today in my C++ class. The directions are as follows: A. solicit from the user a positive integer n. B. Generate and display a list of all the possible permutations of the first n integers. in other words, the user inputs 3, the …

Member Avatar for Lavitz
0
158
Member Avatar for PancoMaan
Member Avatar for jhdobbins

Alright.. I have to rewrite a program. The thing is, I have to rewrite it using parent and children... With processes (pipes) or threads... How do you create the parents and children with either of these? I am basically asking for a tutorial on how you would create these with …

Member Avatar for ndeniche
0
307
Member Avatar for RaCheer

I am trying to write a program that will scan another file for comments only. It will scan for comments of both types, // and /* */, and then print these comments. The code I have written so far works, but it prints the entire code. I would really appreciate …

Member Avatar for RaCheer
0
140
Member Avatar for squinx22

I have these files in SOURCE folder: main.cpp header.hpp implement.cpp I want that when I compile these codes, the object files and the .exe files will be found on the different folder, let's say in folder EXECUTE that is outside the folder SOURCE. Like this: /home/usr/SOURCE * main.cpp * implement.cpp …

Member Avatar for Ancient Dragon
0
80
Member Avatar for jonnymac5987

Here is a program which finds prime numbers, but because the compiler i need to use for my class does not use a boolean variable i am having trouble figuring this out. Please help me find how to find prime numbers without using a boolean variable. [code=c] #include <iostream> using …

Member Avatar for Infarction
0
78
Member Avatar for dacs

:( please help me in my laboratory exams in c++ programming... please give me a source code and .exe file on the following program: FOR STRINGS Write a program that inputs 4 string that represent integers, converts the strings into integers, sums the values and prints the total of the …

Member Avatar for Madzts
0
139
Member Avatar for wallish

Well, I'm working on a simple project but I've hit a snag in my progress so far. I'd like to take a file that has text which will be something similar to: [code] Placemarker 1 = words/numbers Placemarker 2 = words/numbers Placemarker 3 = words/numbers [/code] so you'll have a …

Member Avatar for wallish
0
295
Member Avatar for adam37

Hi All, I have a question about the following C++ program: How does the C++ program know which of the sqr functions to use in this program? [code] #include <iostream.h> // This program illustrate the use of Function overloading int sqr(int x); float sqr(float x); double sqr(double x); int main(void) …

Member Avatar for thekashyap
0
116
Member Avatar for RossSCann

I have tried Beep() and MessageBeep() which compile fine, execute with no error but there is no sound. Are there better sound/tone generating fns avail for SDK? Ross

Member Avatar for RossSCann
0
87
Member Avatar for gabs

hi! In a GUI I'm making, I'm using a dialogbox, and I want the user to have an option to load a picture from file, and to see it on the dialog box. but here is where I need help. how can I display a picture on a dialog box? …

Member Avatar for ~s.o.s~
0
88
Member Avatar for revenge2

Hello there, does anyone know of any free beginner c++ videos on the net? . Thanks-:cheesy:

Member Avatar for qwertydid
0
83
Member Avatar for Luckychap

Hi, I am doing a project on finger print authentication. I am using finger print bitmap(4-bit). can any one help me with how to trace all the rigids on finger print so that i can find minutiae points for creating my template database. any links are also valuable.. Thanks.

Member Avatar for thekashyap
0
119
Member Avatar for zak2710

[B]Would u help me with this task, I am new in C++ programming, this codes have alot of errors, I have never work with graphs before, I am using Borlard C++ Ver 5.02. I was told u can not run a graph task using text editor. If that is the …

Member Avatar for Ancient Dragon
0
100
Member Avatar for virus.exe

How can I hide the C++ window that pops up? I used to have a the code the made it run in the backround or processes but I lost it. Please help im using Dev 4.9.9.2 and Windows xp. Thx guys.

Member Avatar for Ancient Dragon
0
55
Member Avatar for louis7370

[code=c] #include<iostream.h> #include<fstream.h> #include<conio.h> ofstream Ofil("ROW-COLUMNAR.DAT",ios::app); class application { private: int number; char application [20]; public: void accept_data { cout<<"enter application: "; cin>>"application: "; Ofil<<"application"<<endl; } void display_data() { char appl; ifstream Ifill("ROW-COLUMNAR.DAT",ios::app); while(Ifill) { Ifill.getline(appl); cout<<appl; } } }; class Calculator:application int mc(int x, int y) //Multiply two numbers …

Member Avatar for Ancient Dragon
0
320
Member Avatar for machspud

I was assigned to create a program that lets the user enter the total rainfall for each of the 12 months, into an array of doubles. Then it needed to calculate and display the total rainfall for the year, the average monthly rainfall, and the months with the highest and …

Member Avatar for WaltP
0
2K
Member Avatar for BarryKamp

Hi, Im a beginner at C, i just need some help getting something sorted where i can display information. I can add more to it for what i want to do, i just wanted to know why the error "ISO C++ forbids comparison between pointer and integer" comes for all …

Member Avatar for Aia
0
161
Member Avatar for addicted

hey, i just read about passing arrays to functions in C++ like this function modifyArray(arrayname, arraysize); i need help with sending an array and another variable to a function... since the array size is an integer and the second integer is also going to be in the argument... i dont …

Member Avatar for addicted
0
114
Member Avatar for hpzer0

HI, I need help in this project and I do not have any experience in C++. I have to creat a program that display the custumer record. it include a menu : · Add new Account · Deposit money to customer account · Withdraw money from customer account if balance …

Member Avatar for stymiee
0
80
Member Avatar for persianprez

[COLOR=Red]The problem is that i dont know where to put the array to keep inventory expanding...someone please help.[/COLOR] [code] #include <iostream.h> #include <lvp\string.h> #include <lvp\vector.h> struct rec{ long sku; String artist; String album; long quantity; double price; };//end struct struct inv{ inv();//constructer vector<rec>album; }; inv::inv() :album(0) {} ///////////////////////////////////////////////////////////////// void read(rec&rec);//reads …

Member Avatar for iamthwee
0
145

The End.