General C++ Programming - January 2014 (Page 6)

Code works except for one part min max
 
#include <iostream> using namespace std; int main(){ int numbers; // Variable to stor...
[2 replies] Last: Commenting less than you should have is better than over-commenting. ... (by JLBorges)
Code works except for one part min max
 
#include <iostream> using namespace std; int main(){ int numbers; // Variable to stor...
[2 replies] Last: Please use [ code] tags -- it makes your code a lot easier to read.... (by long double main)
R6010 -abort() has been called
 
Hi all and thanks in advance for any help that you may bring. I'm an avid reader of this site and us...
[2 replies] Last: ne555 saying i love you would be an understatement. I knew it was some... (by Sn0wed0ut)
by Snaksa
Qt Display double number into Label without exponential form
 
Hello! Let’s say that I have a double number: 1679616. When I try to set text to label, the number...
[no replies]
Create a thread to a class function
 
I'm trying to create a thread to a class function, but it doesnt work for me... The function : ...
[1 reply] : > term does not evaluate to a function taking 1 arguments" > Why so? ... (by JLBorges)
What's wrong with my simple code?
 
Hello; I wrote a code that counts numbers of words in a sentence, simply by counting spaces... bu...
[8 replies] Last: Okay, I'll try to use Microsoft's Visual Studio. Thanks, I think I ge... (by D4N005H)
operator overloading addition
 
solved
[4 replies] Last: First implement the compound assignment operators operator+= , opera... (by JLBorges)
by Kubani
Linker input modifying for graphics projects of C++ (PPP)
 
Hi all, I wanted to do the exercises of chapter 12 of Programming Principles and Practice using C++...
[no replies]
Program Not Reading .txt File
 
So My Problem I have a program that makes a .txt file and I am trying to read it and it won't so I w...
[13 replies] Last: Awkward. Not working in any sense. (by StarSonic7)
Rational Number Help
 
fixed
[5 replies] Last: You're missing a fair amount of consts in the class definition: #ifn... (by cire)
by eastw
Read Matrix From a file
 
Hi guys,how do i code my stuff in order to read the following data into array? Assume in a text fil...
[8 replies] Last: thank you for all the assistance..appreciate it !!;-) this is juz my ... (by eastw)
by Jyan
How do you implement this functionality?
 
I'm studying AI and robot control, and at the same time trying to improve my C programming skills. ...
[no replies]
c++ with sqlite3 insert function(not inserting values)
 
I am using c++ with sqlite3 I have a database(test.db) with a table of testTable inside the te...
[2 replies] Last: I see. I fixed everything up already. guess I am too tired yesterday t... (by thomas chin)
Excercise help
 
Hello guys, can anybody help me in this excercise? Its about a pacman game. here's the code ...
[1 reply] : You want somebody to do your game for you? (by vasilenko93)
program to return english words for numbers (1,2)
 
i need a program which can convert numbers you enter into their respective words till 1 million. fo...
[21 replies] Last: If we really want to be pedantic, return is a keyword. return; is... (by cire)
Error with free()
 
Hi, I am trying to play around with malloc() and free() to learn and test them. So I wrote a little ...
[4 replies] Last: Thank you all for your replies and sugessions. :) (by Stormboy)
Using a for loop to input and output array values Also calculate the average
 
I have this code that im stuck on what i need to do is Extend the code such that when it starts the ...
[1 reply] : Please do not double-post: http://www.cplusplus.com/forum/beginner/122... (by LB)
Using a for loop to input and output array values
 
so i got this piece of code today having some slight errors with it can you guys tell me how its act...
[3 replies] Last: I was to Extend the code such that it also counts all entered values i... (by bubblegum1001)
Change Allegro Background Color
 
Hey guys! how are you? I just started some tutorials on Allegro and I dont know how to change the b...
[no replies]
Multiple data streams in one class, handling all in one member
 
I have to implemente the to_string method. Whats the fastest way? Stringstreams. But I have to use C...
[8 replies] Last: > handling all in one member Write a bunch of overloads; one per supp... (by JLBorges)
January 2014 Pages: 1... 45678... 25
  Archived months: [dec2013] [feb2014]

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