General C++ Programming - November 2015 (Page 11)

Need help
 
I need to write a function that gets its array set from a text and my compiler keeps telling me there is "no matching function for call" #include <iost...
[2 replies] Last: For better reading and to have a line reference: #include <iostream>... (by tcs)
help me please...
 
Hello everyone good forums, C figures through a file, letters or characters that consist of symbols such as 8 precious 8 valuable pulled another file to reprin...
[2 replies] Last: Despite my lack of knowledge about the question, I have made some chan... (by jasonwynn10)
Help on Binary to Decimal program
 
Im having trouble with my binary to decimal program. I have whats below already, although there are no errors it still is probably wrong, a little backstory is ...
[no replies]
How to pick a random word from a user entered .txt file (HANGMAN GAME)
 
I need to pick a random word from a user entered .txt file, and use that word in my hangman game. I can get it to work if I manually enter a word, but cannot fo...
[8 replies] Last: Hello rayruth292 I'm sure you want to solve your problem but why do... (by closed account 48T7M4Gy)
I can't see the missing thing in the algorithm
 
In code below, each unit works fine, tested well(checkArrs, flipX and flipY). To summarize, question is like this: You have red, blue and green unit cubes. Yo...
[2 replies] Last: Thank you very Much!!! How did I miss that! I get the correct answer :... (by istemihan)
How can I exit a for loop without the use of break?
 
Hi, I've written code to swap integers in multiple arrays and I was wondering is it possible to exit this for loop without the use of break and keeping the logi...
[5 replies] Last: Or perhaps modify the condition in the for loops for (int i = 1... (by Chervil)
receiving vectors of unknow size in function call
 
I am working on a commnication between two different codes and I have a problem passing arrays and vectors as follows: 1 There is an interface header file cont...
[3 replies] Last: Why are you using a C wrapper around a C++ API from C++? Looking at t... (by cire)
Using time function to make Sound ?
 
Hello everyone,, I'm confused about this question! Please, I need your help .. Q: Use the time function to generate 5 Beeps every 10 Seconds for 3 ...
[2 replies] Last: when you highlight everything, you miss the important parts "every 10 ... (by ne555)
Question about successful programs written in C++
 
Hello all, I have a question about successful c++ product like Adobe Photoshop , Acrobat. We see that all of these products were written in C++ , but i do n...
[no replies]
undef class
 
Hi, I have found this statement in a .hpp file just before declaring class DLLEXPORT newClass { .... } What is the reason for #undef class? Thanks
[4 replies] Last: Very clear, thanks again! (by Opariti)
by zone
manipulating records
 
I am having a hard time doing solving this question if someone can help me it would be great.. To blend the above two images, sort of like a cross-fade, we w...
[1 reply] : What is your problem? The instructions are clear. Define a record ty... (by Thomas1965)
Code Blows up Computer...
 
Can anyone explain to me what in this code is causing it to blow up? I think it's on line 38 but i'm not sure. #include <iostream> #include <string> #include <...
[9 replies] Last: > temp already has a starting value for comparison. No, it doesn't. `t... (by ne555)
Mastermind
 
I've tried to make a codebreaking game but cant create loops that work help please. # include <iostream> #include <cstdio> #include <stdlib.h> using namespace...
[4 replies] Last: sorry I'm new to c++ thanks You need to read the tutorials on this ... (by mutexe)
file input/output
 
so, I am trying to write a program that it reads a list of numbers from a file output the numbers and get average, max, min and scores higher than average I hav...
[3 replies] Last: now I am having trouble with the code to get the scores which I have a... (by antonio8574)
Terminate a loop with a char
 
I would like the loop to terminate when the user enters q, to quit. Here is what I have so far: #include <iostream> #include <fstream> #include <string> using...
[1 reply] : Hello. Please Edit your post and use code tags for your code, it's oth... (by TarikNeaj)
Algorithm for my codes
 
Please can somebody make an algorithm for the code below, so i can compare with what i have done. thank you!!! /* A program that calculates the area of a tria...
[5 replies] Last: A few points you should address: 1. Why Area is an int? It does not ma... (by ats15)
by aeck
Write an algorithm which will evaluate Pn (x) = (N + 1)xn + N x n - 1 + ... + 2x + 1
 
i am trying to write an algorithm which will evaluate: P n (x) = (N + 1)x n + N x n - 1 + ... + 2x + 1 So far I have this, but my professor says that the...
[1 reply] : Except for your termination condition, your algorithm is correct. I s... (by Duthomhas)
Bar3d Barrel Roll
 
I am experimenting with my new found graphics.h Library/Header and found the bar3d function. I am trying to make it do a full barrel roll showing every 10 degre...
[1 reply] : Can anyone Help me who has the Graphics.h Header file able to be used? (by jasonwynn10)
by amar27
please help me develope this code!!
 
hey there, i wrote this code for the craps game which gives just select its own numbers and chooses if the win or looses. but i want the main program to read t...
[2 replies] Last: Don't duplicate posts please. It disrupts the communities way of helpi... (by jasonwynn10)
First Array Help
 
http://www.cplusplus.com/forum/general/178970/
[4 replies] Last: Agreed @Kemort (by jasonwynn10)
November 2015 Pages: 1... 910111213... 26
  Archived months: [oct2015] [dec2015]

This is an archived page. To post a new message, go to the current page.