General C++ Programming - April 2016 (Page 9)

Chess program issues
Hi everyone, I've been writing this chess program for a class with QT Creator, and I have this error that's telling me I'm not defining a function, even though ...
Apr 20, 2016 at 10:44am
[2 replies] Last: I have literally no idea how to put it up hear in the original format... (by Moschops)
I cant figure out what i did wrong.. please help!!
Using what you have learned about value-returning functions, create one of your own named isVowel that returns the value true if a character is a vowel and othe...
Apr 20, 2016 at 9:51am
[4 replies] Last: I only see one for statement in your code. What are the actual error ... (by MikeyBoy)
C++ String Manipulating Problems
Hey guys, I am having a problem with a program I created. I am trying to count the number of vowels in a string and then erase said vowels and display the new s...
Apr 20, 2016 at 8:41am
[1 reply] : Your code is far to complicated: Here is a simple demo: #include <io... (by Thomas1965)
by Dkob1
Getting error, plz help?
I'm still getting one error not sure why? Error 1 error C4700: uninitialized local variable 'arranged' used 74 Thanks! #include <iostream> #include <iomanip...
Apr 20, 2016 at 8:34am
[14 replies] Last: oh, Thanks! (by Dkob1)
'
It works on VS.. but not on CodeBlock. Thank You
Apr 20, 2016 at 7:28am
[1 reply] : int main() { int num; double data; there are two uninitialized ... (by littlepig)
Problem with Program
I have to write c++ program using a do while or while loop that will allow a user to input two integers, calculate and print the sum of the integers, then ask t...
Apr 20, 2016 at 5:22am
[3 replies] Last: you declare the var choice twice. And num1, num2, sum seem not to be i... (by littlepig)
Please help!!
I have to change cout << MONTHS << " " << actual << " " << rain << " " << diff << endl; cout << "___________________________...
Apr 20, 2016 at 5:17am
[2 replies] Last: I don't know what is your problem. I think you can format your code us... (by littlepig)
migrating c++ code from Solaris Studio 12.3 to 12.4
we are upgrading c++ compiler from Solaris studio 12.3 to 12.4 I am having a problem compiling one executable below is the error Undefined symbol const std::...
Apr 20, 2016 at 3:26am
[2 replies] Last: Thanks for your response coder777, I believe you never used RWTValOrde... (by wolfycplusplus)
Using /tmp in with C++ scripts
How does one create data files to write to in the /tmp directory in a C++ script?
Apr 20, 2016 at 1:40am
[3 replies] Last: It is not clear to me at all how to do any of this. For example, even ... (by glasses)
Abort() Problem
Hey guys, so I made a program for my class and it works great, but it gives me an abort() error so its not able to end itself correctly. The program works and d...
Apr 19, 2016 at 11:57pm
[1 reply] : http://www.cplusplus.com/forum/general/112111/#msg612043 sorry, can't ... (by ne555)
How do I create a Library in Visual Studio 2015
I have the following code that was written in VC6: #include <iostream> using namespace std; #include "ThreadLib/ThreadLib.h" void PrintThread( void...
Apr 19, 2016 at 11:01pm
[3 replies] Last: This worked once I figured out to add the path correctly. Thanks for ... (by bishoposiris)
Help with sudoku checker
bkn
Apr 19, 2016 at 7:55pm
[1 reply] : for (int j = 0; j<0; j++) This will never be executed. (by Thomas1965)
Naming convention for headers that contain forward declarations
I have a big enum class that is used from many files. The enum class is constantly changing as I add and remove things which causes a lot or recompilation. ...
Apr 19, 2016 at 6:53pm
[6 replies] Last: cire, good point. EnumClass_fwd.h it is then. (by Peter87)
the difference between p++, ++p, p-- and --p
hello, as the tittle says i have a simple question. Our teacher told us that there is a difference between those ++ and --, when used as prefix or postfix in a...
Apr 19, 2016 at 6:46pm
[3 replies] Last: An example in which they make a difference is in this for loop. #inc... (by rabster)
I need help with this project
I want to do operations on courses, exams and students data. The program use a defined string format to represent courses exams and students. All courses exams ...
Apr 19, 2016 at 6:17pm
[2 replies] Last: Students data of the same student are separated by comma User can ent... (by Abanoub 155)
hard logic error in queue manipulation..help!
I want to read from the text file and want to add and remove the data in queue depending on arrival time and total time to server. I can do this for some only b...
Apr 19, 2016 at 5:47pm
[2 replies] Last: Even commenting /*&& server.serverBusy==1*/ prints out similar values.... (by csstudent123)
Binary Search Tree for strings?
So I have to write a program to use a binary search tree for a movie database by reading in a file that contains movies and actors, and display information base...
Apr 19, 2016 at 5:33pm
[1 reply] : Below is my header file #include<iostream> #include<cstdlib> #inc... (by Rodr1697)
Is this standards compliant?
As the title suggests, I would like to know if the following simple linked list sways in any way from the c++ standard. More specifically, if any of this *shoul...
Apr 19, 2016 at 4:51pm
[5 replies] Last: Oh damn! I feel so stupid I can't believe I missed that. I'm going to ... (by ChemicalBliss)
by kgrl
<
<<<
Apr 19, 2016 at 4:06pm
[1 reply] : I need a help about OOP for matrix operations(multiplication,transpos... (by chicofeo)
how to begin the programme
i need to create a class that represents a polynom of the fourth degree with int coefficients. Define suitable interface to the class as a constructor(s), set ...
Apr 19, 2016 at 3:13pm
[1 reply] : Go through the problem sentence by sentence and see if you can sketch ... (by dhayden)
April 2016 Pages: 1... 7891011... 23
  Archived months: [mar2016] [may2016]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.