49,757 Topics

Member Avatar for
Member Avatar for WargRider

Dear Community, So I am making a 3D game using UDK and I have implemented / scripted everything I have wanted in the same so far. Then it occured on me today, why not have some cool speech recognition, so for those that dont know UDK (Unreal Development Kit) gaming …

0
86
Member Avatar for cogitoergosum18

hello, i need to write a program that computes an equivalent resistor value if it is in either series or parallel . (in c++). how will i write this in c++ : [TEX] R_\mathrm{eq} = R_1 \| R_2 = {R_1 R_2 \over R_1 + R_2} [/TEX] (parallel) [TEX] R_\mathrm{eq} = …

Member Avatar for mrnutty
0
138
Member Avatar for aaronmk2

I am getting this error message error: expected primary-expression before 'enum' I can't figure it out. [CODE] #ifndef ROCK_H #define ROCK_H enum RockName {BASALT, DOLOMITE, GRANITE, GYPSUM, LIMESTONE, MARBLE, OBSIDIAN, QUARZITE, SANDSTONE, SHALE, ROCK_OVERFLOW}; class Rock { public: Rock() {myName = BASALT;} Rock(enum RockName) {myName= RockName;}//here is where I am …

Member Avatar for mrnutty
0
137
Member Avatar for parrishnewbie

#include <iostream> #include <string> using namespace std; int main() { //Declaring values. string oneWord, twoWord, threeWord, fourWord, fiveWord, fullWord; //Assigning values oneWord = "One"; twoWord = "Two"; threeWord= "Three"; fourWord = "Four"; fiveWord = "Five"; // Now we will define the full word fullWord = oneWord + ", " + …

Member Avatar for Fbody
0
100
Member Avatar for miznogud
Member Avatar for TinhornAdeniyi
0
69
Member Avatar for ayoitzrimz

Hello all, I am having an issue with ifstream. Short explanation: 1. I ask the user for the filename and read it via cin 2. I store the input in a c++ string 3. I use the input as the filename Here's where it fails: When a user enters something …

Member Avatar for VernonDozier
0
240
Member Avatar for binoo0324

I'm a beginner (3wks into C++) Payroll program is due in 1hour. I can't figure out what is wrong with my program. it compiles, builds, and runs but when I enter the name, it goes straight to the end of the program. heres the code <code> #include <conio.h> #include <iostream> …

Member Avatar for burcin erek
0
290
Member Avatar for |hex

ive been able to make this simple else if statement work, the problem is, i keep getting the same message when i call the showcase. i want the user to enter a name or object after the word 'show', if they dont, i want a mesage to display stating so. …

Member Avatar for Fbody
0
175
Member Avatar for parrishnewbie

Hi everyone, I am very new to C++ I have never done any type of programing also. I am really having a hard time learning how to write programs. I am using a book called C++ programming by larry ullman and Andreas Signer. The problem is I am following the …

Member Avatar for Fbody
0
149
Member Avatar for madmaze
Member Avatar for muze

hello guys...I want to learn the above mentioned topic. Can you suggesst some book or forum to learn this?? thanx

Member Avatar for Ancient Dragon
0
122
Member Avatar for shabir_24

heyy guys wats up !?? i am trying to convert a list(c++) in qt list... i have no idea how i can do that.... the list is a list of employee objects.... (id , name, rate) i want a list of qtlist which containts the employee objects or at least …

Member Avatar for Banfa
0
116
Member Avatar for ehsantl

Hi guys I'm trying to finish my assignment, I stuck in a weird situation. I'm trying to create a pointer a linkedlist. This linkedlist contains pointer to a user-defined objects (City) and I'm trying to add City to this linkedlist and then iterate through the linked list to find and …

Member Avatar for ehsantl
0
169
Member Avatar for TinhornAdeniyi

I cant figure out what is wrong with this code These are the instructions [ATTACH]17304[/ATTACH] [ATTACH]17305[/ATTACH] [ATTACH]17306[/ATTACH] and this is my code [CODE]#include<iostream> #include<fstream> #include<iomanip> using namespace std; void Get_Info(string[],int[][3]); void Get_Average(int[][3]); void Prt_GradeBook(string[],int[][3],int[]); int MakeUps(int[][3]); int Grades[5][3],average[5]; string Students[5]; int main() { Get_Info(Students,Grades); Get_Average(Grades); Prt_GradeBook(Students,Grades,average); cout<<"There are"<<MakeUps(Grades)<<"Makeup(s) to arrange. …

Member Avatar for VernonDozier
0
189
Member Avatar for samuel_1991

Ever since the "disatrous" Adobe Encore (CS4 and 5 does not matter)'s way of storing the installation directory details in Sqlite database file and some uninstall string in the registry, I would like to create dll to get the install directory from Sqlite database as per recommended by the Inno …

Member Avatar for samuel_1991
0
717
Member Avatar for rena0514

I have to create a program that uses a class that adds, subtracts, multiplies, and divides fractions....and then reduces them....I did the program to make sure calculations worked and they did....I just began trying to reduce the fraction but I'm stomped. I have many errors concerning my get and set …

Member Avatar for StuXYZ
0
192
Member Avatar for flowerzink

Hello, I have a problem, and I'd be grateful if someone could help me solve it. It's divided in two parts: 1. Record a sound using only code (Doesn't have to be in c++) 2. Being able to use the sound of a hanclap and use it to trigger an …

0
91
Member Avatar for ana_1234

Hi everyone, I have an assignees that I've been working on and I'm stuck on the last function. use the function void Increment(int numDays = 1) This function should move the date forward by the number of calendar days given in the argument. Default value on the parameter is 1 …

Member Avatar for brandonrunyon
0
236
Member Avatar for VBNick

Hi. I was wondering if someone could offer a bit of advice on this. I have made a web server, and everything seems to be done correctly as far as I can tell. It works and loads web pages just fine. The problem is, that when big files are requested …

Member Avatar for VBNick
0
277
Member Avatar for Peter_morley

Ive pasted the code for actor.cpp, date.cpp and the main function. This is alot of stuff I pasted but I believe it is necessary to show my problem. At first I get the date of the individuals birth and that gets displayed and everything turns out as it should. When …

Member Avatar for Peter_morley
0
151
Member Avatar for TheWolverine

Hi all, I am currently working on a large software project for scientific computing for my PhD research. I am working on the architecture for part of the project now, and I am struggling with how to working with a polymorphic pointer as a function input parameter, by reference. The …

Member Avatar for TheWolverine
0
297
Member Avatar for vjekob

I've been give a task to write a short C/C++ program to extract files from a .deb file on windows platform I know there are tools like 7zip that do it but I need to code it). Could someone please give me a push in the right direction (too much …

Member Avatar for Aranarth
0
219
Member Avatar for LevyDee

When creating a resume for a programming job, you want to include some source you have written right? I am updating my resume and have added 4 pages of source, is that to much? THanks

Member Avatar for VernonDozier
0
93
Member Avatar for coolboym99

I'm writing up a program for a class I'm taking where I need to make a linked list stack & queue. Right now I'm not quite done, but I'm having problems calling the functions from the .h file. What's happening is in the while loop, I'm trying to get data …

Member Avatar for coolboym99
0
200
Member Avatar for Fadam360

Hello everyone, I need to make a program for Java that has the user enter in 2 numbers,1-9, then prints a top row and column with those numbers in it, then prints a multiplication table for those numbers. I need to use a for loop or for loops. Ex. 2 …

Member Avatar for VernonDozier
0
79
Member Avatar for Kanoisa

Hi guys, Im working on a small console app to seek out all those pesky and disk consuming .ncb files and debug folders left from VS and destroy them so the space i need to backup the files is considerably reduced. I have got my recusrion algorithm to scan as …

Member Avatar for Kanoisa
0
2K
Member Avatar for alexchen

How can I move bitmap using time. Suppose I press Key_right. A square must move 10 pixel/second. How can I solve it? [CODE] #include <iostream> #include <fstream> Bitmap*square; [/CODE]

0
56
Member Avatar for |hex

how would i be able to make sure the user inputs the correct data. for example, if i wanted a command in my code to be run (filename). how can i display a message if the user forgets to add the name of the file or the 'filename'. i hope …

Member Avatar for |hex
0
366
Member Avatar for neoraghav

Hi, I want to create a log file that captures all the actions happening...anyway i got code for that from internet. Now what i want to do is, make that [COLOR="Red"][U][B]file read only[/B][/U][/COLOR] so that the data is not modified by external application or user. [code=c++]log(char* msg) { time_t now …

Member Avatar for neoraghav
0
2K
Member Avatar for johnray31

Hello Guys, I am new to C++ , I was trying to create a map key that contain multiple attribute and i write my own compare function. But i am getting strange output with that may be my compare conditions are not right? I write code as below [CODE] #include …

Member Avatar for mitrmkar
1
124

The End.