49,761 Topics

Member Avatar for
Member Avatar for maysda19

I'm trying to display the output on the console, but when I run it all I get is "Join processing is starting" and that's it. Is there something that I'm doing wrong? [code=c++] / Join customer and transaction files on customer cout << "Join processing is starting. \n\n\n"; transFile >> …

Member Avatar for vmanes
0
95
Member Avatar for Slavrix

hey im tryin to get this program me and my mates are writing to work, but for some reason i ge these errors upon compilation im using MSVC++ Express Edition and ive downloaded PlatformSDK because it doesnt come standard with it. [CODE]1>------ Build started: Project: av_bot, Configuration: Debug Win32 ------ …

Member Avatar for Slavrix
0
185
Member Avatar for Scotty Turbo

Run-Time Check Failure #2 - Stack around the variable 'board' was corrupted is the error I'm getting. The program generates it's own maze and then will solve it. The error seems to happen after the program is done with EVERYTHING. I'm using Microsoft Visual Studio 2008 beta. [code="c++"] #include <iostream> …

Member Avatar for vijayan121
0
202
Member Avatar for cllgegrl

I am writing a simple program that takes a string input from a user, stores it in a dynamically allocated array, changes it to upper case, and then prints. It works for all letters and symbols but when I use a space character, the program automatically exits. Can someone please …

Member Avatar for joshua.tilson
-1
91
Member Avatar for neilyan

ok my teacher wants me to write a program using these instructions : A small airline has just purshased a computer for its new automated reserations system. You have been asked to program the new system. You are to write a program to assign seats on each flight of the …

Member Avatar for neilyan
0
106
Member Avatar for codder

i am using boarland c.and i want to know how to generate random numbers...is there any functions which allow me to do this?

Member Avatar for joshua.tilson
0
106
Member Avatar for phasiro

Hi, noob on board. I have some issues with the spliting data according to tab. What i need is to grab multiple inputs from a txt file and generate it into result txt file. the input file reads like; Johnny Bravo /tab S1234567 Systems /tab/tab DT012 VB /tab/tab DT234 Adv …

Member Avatar for phasiro
0
123
Member Avatar for Koldsoul

I have to write a program for school that has user input ten movie titles and their corresponding ratings. This program must use parrallel arrays. There is more to the program but not needed for the issue I am currently having. I cannot seem to get the string for the …

Member Avatar for Salem
0
100
Member Avatar for jaepi

Hello there, I have here a bit of confusion with fread. I have here a .cue file generated in windows. I tried to read through the entire file in windows and when I printed the buffer, it gives me the correct content of the file, but when I read it …

Member Avatar for ithelp
0
126
Member Avatar for Fabledmetal

Basically me and my friend are making a C++ hangman project in our programming class and we're having troubles trying to find a way (with our limited knowledge) on how to display certain letters if their guess is correct. E.G ____ __ (they input the letter i) displays __i__ _i …

Member Avatar for WaltP
0
91
Member Avatar for Duki

How important are data structures in C++? I'm majoring in networking and going to grad school for MISM with a focus in networking. If I have a firm understanding of C++ concepts such as encapsulation, inheritance, recursion, polymorphism, templates, and exception handling will topics in data structures benefit me at …

Member Avatar for Duoas
0
108
Member Avatar for Duki

Could someone explain the difference between Overloading, Redefining, and Overriding functions? A nutshell answer will work fine; I just need something to stick in my brain for tomorrow's test. I know the concepts behind these tools, but I just need a simple way of defining the difference between them.

Member Avatar for Duki
0
6K
Member Avatar for guitarrick

I am a newbie and have been working on this project for several days. I have received help thus far from Dani and it's been fruitful. The project entails a "memory matching" game with 16 cards, labeled 1-8 in pairs. The cards are "shuffled" and placed face down on a …

Member Avatar for Duoas
0
93
Member Avatar for dblbac

i have been fooiling around with my program for class trying to get it to work, but now i get this error message: error C2064: term does not evaluate to a function taking 1 arguments it is referring to this part of the program: num = (rand() + time(0)) % …

Member Avatar for maxmaxwell
0
123
Member Avatar for WillEthin

A common memory matching game played by young children is to start with a deck of cards that contain identical pairs. For example, given six cards in the deck, two might be labeled “1,” two might be labeled “2,” and two might be labeled “3.” The cards are shuffled and …

Member Avatar for Duoas
0
812
Member Avatar for qfar96
Member Avatar for zandiago
0
28
Member Avatar for k4Q3A

"hello world". i have a question about gui programming in c++ or java. i would like to have a basic tutorial about gui's. could anyone help me about this. thanks! i am a k4Q3A

Member Avatar for zandiago
0
18
Member Avatar for holeejo

Gang, I am so confused by all the descriptions of different Visual C++ stuff, API, MFC, I don't even know how to tell you what I am trying to use - other than: I created a Windows Form Application using Visual C++ 2005 Express Edition. I have a textBox1 which …

Member Avatar for sillyboy
0
256
Member Avatar for sean25hun

This is the code ive got so far [code=cplusplus] #include <iostream> int main() { int a[10] = {0}; //sets an array of ten zeros int x; //intialises x int y; //intialises y std::cin>> x; //reads in x input std::cin>> y; //reads in y input if ( -1 < x && …

Member Avatar for Lerner
0
89
Member Avatar for helixkod

here is my current code: [CODE]#include <iostream> using namespace std; int bubbleSort(int [], int); int selectionSort(int [], int); void showArray(int [], int); const int SIZE = 20; int main() { //The array with unsorted numbers int numbers[SIZE] = {23, 44, 2, 6, 15, 70, 45, 80, 46, 30, 0, 11, …

Member Avatar for Koldsoul
0
81
Member Avatar for Ratte

Before I write this, I realize there are way better ways to accomplish what I am asking, but I am JUST wondering if it is possible to do it the way I am asking. I have a main function called system. The system has a menu and depending on input, …

Member Avatar for Duoas
0
150
Member Avatar for Ratte

I overheard a conversation in a class the other day about someone being able to "look" into various classes and data storage types and see what is being stored as you run the program. I understand this can be done using the traditional ways of adding breakpoints and such, but …

Member Avatar for Narue
0
110
Member Avatar for Ccrobinson001

Could anyone help me with an issue that I have? I have a program that reads from a data file using an array and the data is structured as a long interger. I am trying to break up a long interger in to pairs i.e 141251 into 14:12:15 using c++.

Member Avatar for Ccrobinson001
0
94
Member Avatar for blakey971

Hey, I am somewhat new to C++. I'm not sure if this is something that is even possible with this programming language, but I am very curious. Okay, so the gist of what I want to do, is be able have an input through the microphone jack on the sound …

Member Avatar for Salem
0
91
Member Avatar for dblbac

i just received some help from zandiago it his help was great and i thank you. when i incorporated the info into my program i received an error when building the solution. it was only one error. it was error C2447: '{' : missing function header (old-style formal list?) the …

Member Avatar for dblbac
0
115
Member Avatar for toneeg

Can someone please help me with this? I have been struggling with this for days now, and for some reason, my instructor's help is not working for me. I am not sure if it is because he is from Germany and I am taking courses on-line, or if it is …

Member Avatar for toneeg
1
339
Member Avatar for Mussa AL_Zyod

20 student apply an exam, the mark of the exam is out 10, write a C++ program to do the following: 1- read students grades and store in student _ grade array. 2- find the frequency (number of occurrences of each grade. 3- find the mode (number that occurs most …

Member Avatar for Ancient Dragon
0
109
Member Avatar for nurulshidanoni

How to choose one element from each array., Which A(i)+B(i)+C(i)+D(i)+E(i)+F(i) must equal to 10. __________________________________________________ i A B C D E F __________________________________________________ 1 3 2 3 3 2 4 __________________________________________________ 2 6 9 4 24 5 7 __________________________________________________ 3 11 28 5 81 10 12 __________________________________________________ 4 18 65 …

Member Avatar for darkagn
0
116
Member Avatar for picass0

i'm trying to read from a text file and store it into a STL List. i able to read from the file but when i wanted to print out my list i get an error - [B]primary-expression before '>' token [/B]which is pointed to the text in red. am i …

Member Avatar for Ancient Dragon
0
91
Member Avatar for Garock

Hi all, i'd like to ask anyone here who may help me solve this problem i compiled an apps which records when is the last time user make an input, either with keyboard or moving mouse, thru' GetLastInputInfo API however, this can't works whenever user logged on as different using …

Member Avatar for Garock
0
160

The End.