General C++ Programming - February 2015 (Page 23)

by I14R10
What to use instead microphone input
 
I got one program running. It receives data into microphone input and recognizes ones and zeros and translates them into data. But sometimes I get some noise an...
[3 replies] Last: What I wanted to ask is - is using serial port better than using micro... (by I14R10)
Problem with compilation
 
I have a problem with compiling the Allegro5 library: "Cannot find allegro-5.0.10- monolith.mt" source: #include <allegro5/allegro.h> #include <allegro5/all...
[1 reply] : Well, what I would do is put code tags on, and look at another tutoria... (by poteto)
Error no matching function
 
I keep getting these errors and don't know how to fix it. Bank.cpp||In constructor 'Bank::Bank()':| Bank.cpp|5|error: no matching function for call to 'Account...
[6 replies] Last: Sorry fun2code and Disch. I still caught my error because of what Disc... (by cppnoob25)
Homework Code Help
 
f. Write the definition of function main that tests each of these functions. To test nextCharByVal and nextCharByRef, initialize z to the space character (‘ ...
[7 replies] Last: I will give you a hint. Create a for loop to iterate 94 times and duri... (by OUIJ)
rapidXML fails to save XML doc properly
 
I'm trying to write a wrapper for rapidXML in order to use it in my projects however I've run into a curious bug that's preventing me from properly saving the X...
[1 reply] : Try using the rapidXML API to load your file: bool rXMLwrapper::parse(... (by norm b)
spinwheel type system for picking numbers random
 
if there is a spinwheel that has 20 or so numbers. can spin the wheel until stops and that is the number to use. am new here how to make a program that pic...
[2 replies] Last: actually simulating a spinwheel may be difficult to do. the spinwheel ... (by program821)
by Jt253
Numbers Class
 
Hey guys, I'm working on this program that I have to design a class Numbers that can be used to translate whole numbers to the English description of the num...
[4 replies] Last: wow that's crazy haha Ill have to keep this idea program in mind (by Jt253)
GMT to MST conversion
 
Hi Team, We have a requirement as follows. we will be given a timestamp in GMT, we need to convert that into MST satisfying day light saving time changes, l...
[no replies]
Problem that has been haunting me!
 
Can someone explain to me the mathematical principles behind solving this problem? http://orac.amt.edu.au/cgi-bin/train/problem.pl?problemid=688&set=aio13int H...
[2 replies] Last: I just need a more indepth explanation to understand how to apply that... (by closed account ETAkoG1T)
pass function point as argument C++
 
Hello Thanks for taking a look. Trying to pass a function pointer as an argument. The compiler is reporting invalid conversion. Using g++ compiler on linux...
[5 replies] Last: I believe XlFEvent is somewhat depricated. I have discovered more gra... (by haydavis)
Error "Program g++ not found in PATH" : eclipse LUNA
 
Hi. I'm new to eclipse LUNA for cpp. when i try to create a hello world project and select Cross GCC compiler , after i click finish , i see this error: Error...
[7 replies] Last: I know what is MinGW !!! --> Minimalist GNU for Windows. But i want t... (by King Of CPP)
Call Stack General Question
 
Hi, I have a general question on Call Stack of Embedded uCs. The Call Stack should include all the Active Sub-routines. For example, in the following sequenc...
[1 reply] : You might be able to get a core dump from the controller, but this is ... (by dhayden)
I cant seem to save a file.
 
Hello Everyone. Im doing an assignment and is only 1 little step away from finishing it. Basically. I read a file called "players.txt" using ifstream. I read in...
[7 replies] Last: You're welcome - glad it worked out! (by MikeyBoy)
How to get a type alias from a template class without specifying template arguments and without instantiating it
 
For example I want to get the type of std::vector<>::size_type without specifying a template argument. Here's what I want to do: std::vector<>::size_...
[4 replies] Last: @BasV @MiiNiPaa Thank you so much for answering my question! (by benbalach)
cout error c2679
 
When I using a string, leading, followed by an int root-value. It prompt C2679 error. How should I fix it? cout << leadings << root->value << endl; Error ...
[2 replies] Last: Thank you! It works. (by liyingbo)
by cosmos
since c++11 introduce move, is it necessary to define a swap for our own type?
 
according to item 25 in effective C++ 3rd edition, if we have a class with a pointer to another type that contains the real data, we need to define a swap for i...
[2 replies] Last: > if we have a class with a pointer to another type that contains the ... (by JLBorges)
clreol() and gotoxy() in qtcreator
 
Hello! I am trying to create a password field programming in c++ in qt creator. On compiling the program, the compiler is giving an error at the clreol() and ...
[3 replies] Last: [quote=MiiNiPaa]Some compilers do include some most often used functio... (by MiiNiPaa)
Dynamic Programming: Image Comparison
 
Greetings, I'm hoping to attain assistance with the following assignment: Design an algorithm (using pseudocode) that takes in as an input, two 2-D int a...
[no replies]
Coding Lab
 
I am working on a continuous lab assignment and I was wondering if someone could help me with the coding. HERE IS THE ASSIGNMENT: Not all people are ligh...
[7 replies] Last: I cant seem to grasp the request for user input The earlier program ... (by keskiverto)
How to search for a specific character in a string?
 
Hi, i'm doing a validation exercise program. Just a question, how do i search an inputted string for a certain character? For example: Hello.World I wanna det...
[4 replies] Last: Thank you! That gave me an idea. (by Zanmato)
February 2015 Pages: 1... 212223242526
  Archived months: [jan2015] [mar2015]

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