General C++ Programming - October 2013 (Page 39)

Sort function for Linked list program
 
I'm having trouble getting my sort function to work, void Linkedlist::sort(int num) { node *q; node *a; int input=num; a = new node; a->da...
[7 replies] Last: I fixed it! thanks for the help but i got a friend to help me out vo... (by Mchubbs)
MS Visual Studio exeptions, breaks??
 
I know what errors are, but there are times where after I compile, MS Visual Studio (2010) goes into some wierd mode, the program doesn't show up, but a pop up ...
[1 reply] : You're feeding SDL functions NULL values for arguments it expects will... (by cire)
Function Leading to Another Function
 
I have a program that I'm making and I want to have the completion of one function lead to another function. So once one equation is done, I want for another eq...
[2 replies] Last: http://www.cplusplus.com/doc/tutorial/functions/ (by keskiverto)
how to find first element in an array
 
let assum i use array of 100 the i input 50 element and now i want to find which one is first in array... without using pointer
[2 replies] Last: array ; Because you start counting from 0 not 1; (by vasilenko93)
A vending machine that can dispense both hot and cold drinks of your choice
 
i was asked to design a vending machine that dispense both hot and cold drinks the requirement are as follows 1) turn on the machine. 2) select hot or cold...
[2 replies] Last: I just got the homework a day ago, am actually working on it. still on... (by clifford007)
Need Help
 
Can anyone help me with my project :) ill upload the instruction. here is the link [URL=http://depositfiles.com/files/16mchkp2c]http://depositfiles.com/file...
[1 reply] : Please note, that it is not a homework site. We won't do your homework... (by MiiNiPaa)
by delio
Need help!
 
I'm a beginner. Please help me I want to detect colors that in the black rectangle. http://upic.me/i/1p/qywet.jpg How can I do? What library should I use? ...
[7 replies] Last: Check this out for the installation of OpenCV http://www.youtube.com/w... (by CroCo)
Quadratic Equation
 
This is my code for the quadratic equation. It keeps telling me that my else is illegal since no matching if statement and my else statement is missing a statem...
[3 replies] Last: Exactly as it says ;) You declared your Boolean bFail and have it tes... (by Austin J)
by Daleth
Black Jack program
 
I'm pretty burned out on this project... So how willing would any of you be to scour my project files for problems? Some details about the problem I am st...
[3 replies] Last: In BJGame_Flow_Handler.cpp:230 you have if(!m_p_handle->split(name, h... (by ne555)
displaying commas in loop
 
If the number 4 is entered, the output should be the following: 1: 1 2: 1, 2 3: 1, 3 4: 1, 2, 4, My output, however, is different but I know its an err...
[1 reply] : Please don't double post (by Yanson)
Why can a char be signed?
 
The signed keyword indicates a value that can be both negative and positive like a negative and positive number. For example, 1 byte represented as a signed int...
[6 replies] Last: I know, I just wanted to point out that it was a distinct type. (by LB)
by print
while loop problem
 
hi, all.. I have question about my while loop program, here is my code #include <iostream> #include <cmath> using namespace std; int main() { ...
[2 replies] Last: oh yea, that was my bad, because i was copying from do-while back to w... (by print)
by swaria
MAze programming ..need help
 
Design and write a program that: 1. Uses the given Windows graphics system. 2. Designs and draws a random maze on a 16 x 16 grid. 3. Solves the maze by calcu...
[no replies]
Classes and header files
 
// header1.h class a { public: void func(b* item); } // header2.h class b { public: void func(a* item); } I want to be able to use the a class in class b, ...
[18 replies] Last: Atleast now I know why my c++ book insists on using a seperate file fo... (by closed account ETAkoG1T)
Time Calculator && Some more code.
 
Hello, folks. I am posting this code in order to see if anyone can help me solve the time calculator problem. The book states """ ...
[2 replies] Last: Hello MiiNiPaa: thanx for the comment. yes your right. I do need the ... (by tetricsteel)
by Bya413
How do I read a .txt file character by character?
 
In my program, I'm supposed to read a text file (the name of which is given to me as a command line paramater, as long with an integer), and display the text in...
[10 replies] Last: [quote=DTSCode]@andy: look at line 1 of your code Thanks - have fixed... (by andywestken)
by ne555
Some things to consider before even asking about runtime errors
 
So your program crashes and you are looking for help. Before that, make sure to consider the following points in order to provide the necessary information. In...
[4 replies] Last: http://www.eelis.net/iso-c++/testcase.xhtml (by ne555)
C++ inverted trapezoid dispay using nested for loops
 
The user will enter the number of '*'s on the 1st row (ntop) and then the number of rows forming the trapezoid (nrows). (using <iostream>, cout) For instanc...
[2 replies] Last: The 7 was just an example. The user inputs the number of asterisk In ... (by closed account i8T4izwU)
by VuKid
need a little help on arrays sorting....
 
I have a set of data imputed into a set of arrays as the following: for (int i=0;getline(file,(cities ),',');i++) { getline(file, countries , ','); ...
[3 replies] Last: Easy way: use structs and let standard library do their work for you. ... (by MiiNiPaa)
Morse code translator
 
Problem solved. PM user for solution.
[3 replies] Last: Yay, it works! Thank you for the help. @xerzi: I'll keep that in m... (by Inaerius)
October 2013 Pages: 1... 3738394041... 46
  Archived months: [sep2013] [nov2013]

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