[try Beta version]
Not logged in

Beginners - March 2017 (Page 19)

stuck on this ambiguous error
 
HI, after running the program, I receive an error that states, "Person is an ambiguous base of Staff...
Mar 15, 2017 at 10:56am
[2 replies] Last: This is a duplicate of: http://www.cplusplus.com/forum/general/210962... (by MikeyBoy)
Stuck..need help please with while loop
 
I'm having a problem with the while loop. I'm trying to create a combination that will exit the prog...
Mar 15, 2017 at 9:58am
[1 reply] : Hey, make sure to initialize those variables x, y, z, printsum and eve... (by MokkaTech)
QFile does not overwrite the
 
i have a program here and it does not overwrite as it should it say file is not open QFi...
Mar 15, 2017 at 9:57am
[3 replies] Last: It seems you can't write to a resource file https://forum.qt.io/topic/... (by Thomas1965)
Establish SPI communication between two components
 
I am new to microcontrollers programming and I am trying to establish SPI communication between PIC2...
Mar 15, 2017 at 9:30am
[no replies]
This dot product function dose not multiply correctly. Or something... this has me really stumped..
 
I'm trying to create a dot product function for a larger project. provec0 and provec1 are the two ou...
Mar 15, 2017 at 8:59am
[2 replies] Last: Does this help? http://en.cppreference.com/w/cpp/algorithm/inner_prod... (by TheIdeasMan)
Error in template class
 
On line four I am getting the errors "expected template name before '<' token", "expected { before <...
Mar 15, 2017 at 8:47am
[4 replies] Last: If you want Stack to inherit from NumStack you should include NumStack... (by Peter87)
SDL 2: Render image to screen?
 
So, I am trying to render a gif to the screen. However, the gif does not show up on the screen. All ...
Mar 15, 2017 at 4:43am
[4 replies] Last: Great. It worked. I just needed to remember that you only pass the var... (by ghostk91)
Runtime error with sorting code
 
I'm doing a bubble sort code but I'm getting a debug error "Run-time check failure 2 - s". I did the...
Mar 15, 2017 at 3:32am
[2 replies] Last: Thanks a lot that worked. Isn't it strange that it worked for the desc... (by avatar97)
How to make my program compare line by line from input file?
 
deleted
Mar 15, 2017 at 2:57am
[no replies]
Having problems writing constructors
 
I am trying to rewrite the constructors in this code. For this problem it says the written program a...
Mar 15, 2017 at 2:27am
[1 reply] : line 21: error: 'Student::Student' has the same name as the class in ... (by gunnerfunner)
code functions that will perform the various arithmetic operations and then call the functions in main()
 
The calling statements that are placed in main() should replace the calculations that are currently ...
Mar 15, 2017 at 2:20am
[5 replies] Last: 1. define all the functions before main as arbwok did with addition() ... (by gunnerfunner)
Need help please
 
Can't figure out how to do the last part of the paragraph: The main program will call a function ...
Mar 14, 2017 at 11:48pm
[4 replies] Last: Got it! Thank you so much! I need to get more sleep :-) (by esokoletsky)
How can I change what the nodes are called in a function?
 
I wrote code that does what I want but I know I can make it shorter I just don't know why I can't ch...
Mar 14, 2017 at 11:15pm
[2 replies] Last: @BAC Sun, thank you, I was able to fix it. For my second question I me... (by idknuttin)
Best C++ Book
 
Hello! I dont know if this is the right place to post but i really needhelp. I have learn some basi...
Mar 14, 2017 at 10:03pm
[4 replies] Last: You can find them here: http://www.gotw.ca/gotw/ (by mbozzi)
Reverse
 
So..keeping it simple..I have to display the reversed numbers of a string.Example: 1 2 3 4 5 6 .......
Mar 14, 2017 at 8:45pm
[1 reply] : I'm confused as to why you're using so much code. Why not just count d... (by BAC Sun)
Heap Corruption in overloaded operators
 
I've been building a Big Integer calculator. If I use a member function to multiply the BigInts toge...
Mar 14, 2017 at 8:40pm
[2 replies] Last: The problem was in my overloaded + and my setdigit functions apparentl... (by BAC Sun)
Turning a non-constant value into a constant
 
I'm writing a program where I need to count the number of integers in a given file, then pass those ...
Mar 14, 2017 at 6:00pm
[6 replies] Last: Make it bigger than you are likely to ever need. If you think you ne... (by jonnin)
Problem with List Control in visual c++
 
Hi everyone! I have problem using list control in visual c++. I tried to create a table which appear...
Mar 14, 2017 at 2:44pm
[no replies]
Formatting the output..
 
Hi, My program prints out on the console numbers up to a number specified by a user and prints all t...
Mar 14, 2017 at 2:05pm
[3 replies] Last: This is a way of checking if you're at the beginning of a line (numOu... (by dhayden)
What exactly are global variables?
 
My professor specifically told us not to use global variables for our assignment. From my understand...
Mar 14, 2017 at 12:30pm
[2 replies] Last: There are globals, but they are there for a good reason. The std::cin ... (by keskiverto)
March 2017 Pages: 1... 1718192021... 36
  Archived months: [feb2017] [apr2017]

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