49,757 Topics

Member Avatar for
Member Avatar for wicked357

I have to take my current code which displays a menu and repeats until the option 'c' is chosen which quits the program. Now I have to modify that same code to include a function for both A and B. The function for A should have the quantity of numbers …

Member Avatar for wicked357
0
121
Member Avatar for annagraphicart

I really need to do this program, so I need ALOT of help. I want the program to output a question asking "Enter John Smith's Bowling Score: ", and that repeated abotu 20 times with Different names. (DO I need to store the names? if so, how?) What the user …

Member Avatar for Sturm
0
146
Member Avatar for sycc2172

Greetings. I'm currently doing a project on Traveling Salesman Problem. But I'm not asking for answers for the whole project. I just started my programming lessons so I hope can get some help from all of you. About this project: Initially you have to read 2 input files, Input1.txt and …

Member Avatar for iamthwee
0
937
Member Avatar for curt22

I have a single line text box, that is wide enough to hold 20 characters and I was wondering how do I make it so that you can keep typing even though it's got 20 characters in it without making it longer and without a vertical scrollbar? I'm sure it's …

Member Avatar for curt22
0
85
Member Avatar for yassar

I am trying to read source code of a webpage in C++. I haven't gone too much of a way. Can I read it as a text File??

Member Avatar for vijayan121
0
212
Member Avatar for nagramana

I am trying to call a [URL="http://www.daniweb.com/forums/post398239.html#"]C#[/URL] function which returns byte array from C++. Can anybody have some sample [URL="http://www.daniweb.com/forums/post398239.html#"]code[/URL]. Thanks njvr

Member Avatar for Ramy Mahrous
0
54
Member Avatar for curt22

I have a simple program with a button and an entry field, and I'm wondering how can I organize them (like they were in a table) so that they don't overlap? I'm using the windows api. I tried searching but I'm not sure what to call this.

Member Avatar for curt22
0
118
Member Avatar for leolima

Hey guys! CAn u tell me if my program is right? First, I need to get a Pkg and validate; Second,get month and validate; Third, determinate max hours; *If FEB; Fourth, get year and validate(1990-2020) check for leap yr. Fifth, get hours and validate against maxhours; and calculate the bill …

Member Avatar for iamthwee
0
115
Member Avatar for rdanda

Yes, this is homework, but I am trying. The problem is: Simulate coin tossing Program must print Heads or Tails. Toss 100 times and count the number of times each side of the coin appears. Call a function "flip" that takes no arguments and returns 0 for tails and 1 …

Member Avatar for rdanda
0
333
Member Avatar for Journey:Start

I am serching referance books or pubs to get into electronic device handling fundementals with c++. Any heads up message would help me out. Thanx for attention.

Member Avatar for Journey:Start
0
85
Member Avatar for zandiago

So far is what I've got: [CODE] #include<fstream> #include<iomanip> #include<string> #include<iostream> #include<cmath> using namespace std; int main() { float matric = 47.60;//matriculation fee int hrz;//semester hours float regroom = 387.29;//rate for regular room float acroom = 496.49;//rate for AC room float dip = 38.00;//diploma fee float food = 619.66;//rate for …

Member Avatar for iamthwee
0
2K
Member Avatar for Duki

We're discussing constructors. My problem is this: Define a class called Month that is an ADT for a month with one variable as int to represent a month. Include all of the following member functions: a constructor to set the month using the first three letters in the name of …

Member Avatar for Duki
0
139
Member Avatar for pmahalakshmi

Experts we are final year electronic students we are doing a project involving carbidec++ but we have no idea about it we only know about turbo c++.so please guide us fromthebasics of carbide c++

Member Avatar for vijayan121
0
95
Member Avatar for jessemr

Hi, I'm trying to figure out how to do this assignment, but I don't even know where to begin. This is a beginning project, all I know is arrays are not allowed. Can somebody get me started? The assignment is.. In cryptarithmetic puzzles, mathematical equations are written using letters. Each …

Member Avatar for iamthwee
0
252
Member Avatar for SurviBee

I'm writing a simple program that would assign each letter and several symbols to a randomly generated 8bit binary pattern. I want to take a rand() #, convert it to a 1 byte binary number, and store that number as a string in one row of a two dimensional array/vector. …

Member Avatar for SurviBee
0
86
Member Avatar for cspivey

So i have an assignment to take two input files and combine into one output file in alphabetical order. Example File1.txt Adam B Exam 80 Jane D Exam 87 Tom G Exam 77 File2.txt George S Exam 99 Bob C Exam 67 Output.txt Adam B Bob C George S Jane …

Member Avatar for jusakman
0
145
Member Avatar for waqar40

i have developed a server which broad casts message to n clients at regular interval of time but issue with the server is when LAN got disconnected Server crashes and message sending stoped. I want such a solution that Server must not crash regardless of the status of LAN Please …

Member Avatar for waqar40
0
72
Member Avatar for nash83

Hello to everybody.I am using microsoft visual c++ compilator 7.0 for image processing.I have wrote down a program that opens a 24 bitmap image and loads it on a 800x 600 matrix after making the average of the RGB bytes.This because I would like to visualize it like a grey …

0
62
Member Avatar for yingyuan

i have write the bank system used C++ , but got the error , who can help me solve the error. i use 3 file in this program: 1. bank.cpp 2. manager.h 3. bank.tcp (this file live it blank, save it as "bank.tcp" , this file is store the amount. …

Member Avatar for daniweb2013
0
425
Member Avatar for jarv
Member Avatar for Duki

I'm considering writing a program for my economics class that will allow me to use the multiple variations of the elasticity equation. How can I compile my code to an app that I can place on my desktop and simply double click to make it run? I don't want to …

Member Avatar for Duki
0
83
Member Avatar for anilmpatil01

plz tel me any one . AM SELECTING PROJECT ON HOBBIES . MENU AND CODING. PLZ INFORM ME

Member Avatar for Ancient Dragon
0
35
Member Avatar for jaepi

Hello there, I have here a problem with the compilation of my program. The compiler tells me that my typedefs are redefined, but I defined it only once. Ok, heres the score, I have here a header file (let's name this as file X) that contains all the typedefs that …

Member Avatar for GreenDay2001
0
207
Member Avatar for maverick786

I am having trouble formatting my output of decimal to binary conversions in the format of XXXX XXXX and XX for hexadecimal using numbers 0 to 300. Does anyone have any ideas? Thanks in advance. Here is a copy of my output. DECIMAL BINARY HEXADECIMAL 0 0 0 1 1 …

Member Avatar for Salem
0
93
Member Avatar for ocean001

hi all, i am using visual studio 2005 C++ to developing a pocket pc dialog. But this error occur when i try to compile. Error 1 error LNK2001: unresolved external symbol "public: void __cdecl CTryDlg::OnBnClickedBackBtn(void)" (?OnBnClickedBackBtn@CTryDlg@@QAAXXZ) AddTryDlg.obj can anyone tell me what is the possible solution?

Member Avatar for ocean001
0
171
Member Avatar for boja123

Hi all, I have given this program to convert it to MIPS code in SPIM and print anapshot of the registers and the results . and then assemble the MIPS instructions to machine code writing the out put in HEX format thank you for help //this program compile with C++ …

Member Avatar for boja123
0
89
Member Avatar for jarv

1>.\speedgame.cpp(10) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body please help!

Member Avatar for WaltP
0
102
Member Avatar for complete

[B]Methods before Members or Members before Methods?[/B] In a header file, which do you define/declare first. Do you list all your variables before the methods (also known as functions), or do you do it the other way around? I always thought that you put the variables first. That was the …

Member Avatar for Narue
0
94
Member Avatar for Robin_Dragon

Hey peeps, i am just another lost programmer here looking for some good old fashion help, pertaining to a histogram program. If there is anyone out there that can follow me as to what i will me explaining i would like it if u'd step in make a suggestion or …

Member Avatar for Robin_Dragon
0
155
Member Avatar for tonyaim83

[Code:C++] bool CheckSymmetry(char *File , vector<string>& vertex_set, vector<vector<string>>& edges,vector<string>& char_first) { ............. .......... ........... return true; } Here i m getting the following errors:- error: edges' was not declared in this scope error: `&' cannot appear in a constant-expression error: `>>' should be `> >' within a nested template argument …

Member Avatar for Narue
0
189

The End.