Beginners - April 2013 (Page 76)

warning C4227: anachronism used : qualifiers on reference are ignored
 
So I get that error when I try to do this: typedef double const (*t_p_training_function)(std::vect...
[4 replies] Last: My mistake, the error was cause on the line after that one... Sorry ... (by ausairman)
Need help with my homework.
 
I get the following error in my switch within the operations function Error: more than one instanc...
[5 replies] Last: @ booradley60 thanks for the insight took a look at what I did and you... (by ejhernandez381)
by misssy
Printing in increasing order
 
I having trouble completing my output function. The directions I was given were to: create copy of...
[no replies]
pass vector to function?
 
Does anyone know how to make that work? #include <iostream> #include <vector> using namespac...
[2 replies] Last: Thanks. What does adding the const do? Because the program runs, and i... (by eagleman)
confusion on why the void function won't recognize my declared variables
 
So my code is as below. #include <iostream> #include <string> using namespace std; void...
[8 replies] Last: Yes, declaring the variables globally. Thank you. I never thought of... (by jackbruns28)
keypress in dialog form
 
hi, I want to control robot, using keyboard, for example if I press s the robot will move forward...
[6 replies] Last: Thank you .. you solve my problem (by Daniel Sutopo)
Need some polishing advice or direction on this project.
 
I used "//" needing attention and direction. This program will compile if anyone is interested in g...
[no replies]
by Shala
std::cin, std::cout, peek, ws
 
Im going through my class notes online and my professor talks about ws and peek but i don't exactly ...
[2 replies] Last: std::cout is for output (C++ OUTput) to the console window, like in th... (by LB)
Arrays
 
18 E:\hw6aKJJ.cpp uninitialized const `array' //program will take a user inputed list of integer...
[1 reply] : The error tells you word for word what is wrong. You're declaring a c... (by booradley60)
by fiodis
Possible Memory Leak?
 
I've written a short, multi-source file program in native C++ using VS 2010 (I'm on Windows 7). I h...
[5 replies] Last: Sorry for all the walls of text, it's why I wasn't sure if I should po... (by fiodis)
by Daleth
Using getline properly
 
The following code works for half the time when getting user input. However, sometimes if the user p...
[7 replies] Last: I don't know of any problems other than not being able to use a custom... (by LB)
Cout/Print
 
I'm new, I am using Dev-C++ as my compiler. My program is compiling but does stay on the screen, i...
[1 reply] : http://cplusplus.com/forum/beginner/1988/ (edit: at least you didn't ... (by Splux)
Converting a Variable from a BTYE type to a WORD type
 
First post on C++.com so apologies if this has been answered else-ware (I couldn't find any answers ...
[3 replies] Last: Thanks guys. The MAKEWORD macro worked really well (after I worked ou... (by graham terry)
Enums in function parameters
 
I'm trying to make a function that will take a enum from a class and set it equal to whatever I call...
[5 replies] Last: Thanks again! (by Austin J)
Arrays and Averaging
 
I know what I need to do in this program, I just don't know how to do it. This program needs to s...
[10 replies] Last: Thank you Jilb for all of the encouraging words. you helped me a lot..... (by redheadAlyssa)
How TO Produce animal voices.. In c++ code
 
as we know about Beep(523,500); But How it will produce animal like horse voice
[4 replies] Last: You'd need a library that supports sound output. You need to load the ... (by Bourgond Aries)
How to generate random numbers using "random_device"?
 
HI! What is wrong with this piece of code : #include <random> #include <iostream> using nam...
[3 replies] Last: In Code::Blocks you go to settings -> compiler -> and you check the bo... (by Vidminas)
Delete last vector entry
 
Hello, How do I remove the last entry of an int vector? Thanks.
[6 replies] Last: booradley60, thanks, I'll look for the problem in my code. (by SoapChicken)
What kind of degree should be taken?
 
Hello everyone, I have somewhat recently found an unfathomable interest in programming. I have boug...
[3 replies] Last: Thanks for the reply Smac. I just needed to know if I HAVE TO take a g... (by TripCode)
by Pixlr
User inputs from cin inside if statement
 
Hello, I am trying to do user input where a user types in "d(i)" where 'i' is a variable when the...
[2 replies] Last: Hey, Thanks a bunch. It works, but I am having problems to detect inpu... (by Pixlr)
April 2013 Pages: 1... 7475767778... 83
  Archived months: [mar2013] [may2013]

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