49,761 Topics
| |
hi i am student and a begginer to c++..i dont know what to do regarding this problem i need help.please help me to solve my assignment. Q:To Write a program in C++ that reads the name of a file as input and copies the contents of the file in reverse … | |
I am having several issues, besides figuring out how to word this request. [INDENT]1. Trying to integrate some sort of looping to increment class object. 2. Properly declaring #1 3. The use of Static member function to Subtotal and Total data. 4. ? What ever is messed up.[/INDENT] [CODE]#include <iostream> … | |
Any help would be greatly appreciated. I am constructing a compiler for a sub set of c++, which needs to be able to read floats and integers. Trouble is i am only reading in a character at a time and i am struggling designing a sub program to correctly parse … | |
Hi. Can somebody help me with finding out how to handle directories in C++. Let's say I want to do something with a number of files located in a specific directory, i.e. I need to know the content of the directory. How can I extract this information? In all the … | |
[FONT=Arial Black]undefined[/FONT] Hello there Im getting back into programming and looking to get into game design/programming where would a good place to start i have some c/c++ experience? Thanks FlickGuY... :cheesy: :twisted: | |
How are machine language and assembly language similar? What is involved in translating a single assembly language instruction to a machine code instruction? How informative are the snytax error messages of this compiler, as compared with those generated by the assembler? Why is the compiler so fussy about C++'s syntax? | |
#include<iostream.h> #include<stdlib.h> #include "simmons.h" const int MAXCHARS = 500; char st_line[MAXCHARS]; char ch_option; int i_va; int i_ve; int i_vi; int i_vo; int i_vu; int i_letters = 0; int i_count = 1; int i_number = 0; int i_vowel = 0; char ch_char; void hope(); void vowels(); void letter(); void mike(); void … | |
Hello I was wondering if you guys could help me out; I have set up a camera that produces a colour bitmap image, but I have to convert it to a greyscale image, is there an algorithm that exists in c++ that can do this conversation. Thanks guys for your … | |
I have been asked to create a program that scans for a virus,detects the virus and removes it,it also has to scan the boot sector.I am very new to programming so this is a big task for me especially that i cannot find anything of any use to me, i … | |
Hi, guy how do I generate a code to print all combinations of a 4 digit code betwwen 1 and 13 | |
Hi, this is the first time that I've used C. Anyway, I downloaded a C compiler (dev-C++), and I typed in this: #include <stdio.h> main() { printf("Hello, world!\n"); return 0; } When I run the program, it doesn't print the "Hello, world!", but I just see a dos window quickly … | |
Hi, I am new to MFC and have been practicing and currently have run into a problem: I have a "Quit" button and its mapped to a function already but how do I abruptly end the program? What function do I call? Thank you, Mitchell H. EDIT: Ive just added … | |
the question is to be solved using loops,decisions and arrays!! QUESTION: [B]Statement of question: “AIRLINE RESERVATION" Write a program to assign seats on a 10-seater plane. Your program should first ask a user to enter 1 for First Class and 2 for Economy class. First 5 seats are economy and … | |
:sad: hi friends my name is A.Siddhartha currently iam pursuing my masters in information technology and i have to do project in C++ as iam very new to information technology as my background is chemistry so iam having problem in doing this project. so pls help me how to do … | |
can some please tell how can u hide whatever u are typing when typing in c++ exe. file? | |
:o [COLOR=Red]When I start the program it just spits out a continuous line of numbers; Can anyone give me any suggestions, OR better yet, just tell me how so I can start my Thanksgiving break early?[/COLOR] :o [CODE]/* Program Description: The program will read a file named Scores.dat, and will … | |
I am a beginner. As I know stdlibc++ v2 includes a random variable geneator class. but stdlibc++ v3 does not include those classes. what I want is to generate Normal random variable. anybody can tell me how to use stdlibc++ v3 to do this? Thanks! | |
I just can't figure out why this program isn't reading in the entire file. It will only read in the second line, nothing else. Here are my read and write functions: bool Write(string Text,string FileName){ fstream Write; Write.open(FileName.c_str(),ios::out|ios::app); if(!Write){ cout<<"Error in opening file"; return 0; } Write<<Text; Write.close(); return 1; … | |
You know, when my brother was learning C in college I took an interest and learned a little (that was back in 1998. I have forgotten C by now) but shall I tell you what really put me off ? In his class, they were teaching him one version of … | |
I need help ladies and gentlemen, I am writing a program that validates ISBN numbers both from file and from console input. However my program is unable to open the file even though I have it in my Debug folder. Here is a piece of my code. I need help … | |
hi every body can any one help how to start with this project using the c++ ADT class ,write aprogram that simulates the operation of telephone system that might be found in asmall business, such as your local pizza parlor.Only one person can answer the phone(aingle server queue). but there … | |
hello there..! can somebody help me how to call this function...the program function will appear when i select the case no 3 at swich code... however there is an error appear...bytheway is it correct i using ` "void loan_schedule ();"`..to Generate loan payment schedule coding...when i choose number 3 at … | |
hi..im new here and i am having trouble with my program..using DOS-based C++, i have to create a program that will use a mouse pointer but unfortunately i don't know how to create one because that is beyond our topic..so if anyone could help me..please give me the code and … | |
Days since 1/1/1800,that day was Wednesday. Need to convert a date in the form mo/dy/year into this single number. Need a function to print out the day of the week, and a function to print out the date in the form month day, year where the month is completely spelled … | |
I am working on a project which involves a server/client model running over a network. The server is written in Java, and the client is a C++ addition to an existing product (which is written in VB and C/C++). I chose to write my section in Java simply because I … | |
Hi, This is really a logic problem more so than a stright up C++ problem. For class I have written a program that takes dates from a text file and then finds the number of days from January 1st 1800 that days is. The program also has to be able … | |
Apache Web server for windows I wrote a helloworld.pl and that works fine when i try to view it through a webbrowser. I then wrote the following: #include <iostream> using namespace std; int main() { cout << "Content-type: text/plain" << endl << endl << "Hello, World!"; return 0; } compiled … | |
Hello ladies and gents, could someone explain what I'm doing wrong here, the ideas of this excercise is: - Declare an array with 10 firstnames using pointers! - Show the array on screen using a function! - Sort out the names alphabetically and show the array again sorted! I want … | |
[FONT=Verdana]New Member[/FONT] Hi everyone. I am brand spanking new. Like, just a few minutes born to the new kid in the DaniWeb block. Today I will just get the feel and browse. However, I will host a lot of questions that my experienced curiosity has brought to mind and many … | |
I need help with my homework assignment. The assignments asks to enter a list of double values with the maxium to be entered is 50. I need to print out the list entered and find the largest and smallest values entered by the user. This is what I have but … |
The End.