Beginners (Page 6)

by xxvms
Inline function
Hi There, In modern C++ do we still use inline function? Like in this format? inline flo...
[3 replies] Last: Yes, but it is only a suggestion to the compiler, not a command. Some... (by jonnin)
by xxvms
float vs double
Hi there I am reading fairly old book Object Orientated Programming in C++. What I have noticed i...
[9 replies] Last: The performance should be nearly the same for all types on intel and s... (by jonnin)
How to gurantee destructor is called in exception handling ?
I have two sample codes written by my prof. 1. void error_test8() { // v has a private p...
[3 replies] Last: to be fair, that example easy to make useful, if the vector is not har... (by Cubbi)
by Ninalc
I need help with functions and arrays!
I am trying to create a program that will print multiple rows of lottery pick basically, the number ...
[1 reply] : Hello Ninalc, If you want a response show what you have done and ask ... (by Handy Andy)
by mbag
download image using libcurl
Hello everyone! I am trying to download an image from an URL using libcurl, and I have found an app...
[no replies]
What is wrong with my output file?
Trying to teach myself file I/O and I have two text files that are communicating with this program. ...
[2 replies] Last: Hello bmakloski, Based on the input file I made this is how I changed... (by Handy Andy)
Created a Super Mario program,But not compailing
i have created a super mario game in c++, But there is some Build Errors, the compiler output says...
[2 replies] Last: We probably can help if you post the error message, or the code, or bo... (by Peter87)
Making a const array of data and defining enum values, at the same time?
Hello, I have a set of items in a program, whose items' properties can all be defined from const ...
[1 reply] : Use {}: const ItemData ItemDataArray = // Note: The compiler calculat... (by coder777)
[Input Counter]
Hello Community! I kindly ask for your help once more, this time with the following. I wish to im...
[no replies]
Table Manipulation
This problem is an exercise in organizing a one-dimensional list of numbers into a 2-dimensional ta...
[no replies]
by df98
Calculating a Percentage Discount
Hello. I just started learning C++ and need help calculating a percentage discount. I missed the cla...
[1 reply] : cin is explained in the following tutorial from this site under standa... (by kemort)
Why is the output in random order?
Also what's with the random 0? Here's what I put in the input file: 3.80 5.2 4.7 6.3 3.9 0....
[1 reply] : Pleas use code tags: See ... (by TheIdeasMan)
Pointer to Class Array Objects
My program is erroring out when I try to add a second set of values to the Hourly class. When I swit...
[3 replies] Last: @Handy Andy The pointer of type "Employee" being set to an address ... (by TheIdeasMan)
by irize
Beginner asks for suggestions
Hello! I cant figure out the best way how my database should look like, so my problem is the foll...
[3 replies] Last: > if first and second iterators returned by std::unordered_multimap::e... (by JLBorges)
Recursive Binary Search C++
*** Comment *** This code works fine, but I have a question about how binary_search works. I under...
[4 replies] Last: So you mean that this is not the right way my recursive binary search... (by mbozzi)
Pointers, Herber Schildt ... not working
Hey, guys! This part of my program does not print anything on screen. Any suggestions? It shoul...
[5 replies] Last: @Alex1993, it is your choice which index of the array a[ ] you want to... (by Kourosh23)
To-Do List App (Best way to get user input and output list?)
I'm about to write a program that allows you to enter tasks, like a to-do list. I want the user to b...
[1 reply] : Take a look at online to do list programs written in c++. I copy paste... (by Kourosh23)
Finding a number in an array.
So I need to make a bank account program,and at one point I need to have the user input an ID to che...
[5 replies] Last: try and use the standard library algorithms wherever possible, like in... (by gunnerfunner)
Character Count Program Issue
Edit: solved.
[4 replies] Last: while(!input.eof()) { for (int i = 0; i < 256; ++i) list = 0; Wh... (by jlb)
Void Function
Hello again. I need to add void functions to a program, and I'm having had a hard time understanding...
[1 reply] : If you haven't solved your issues yet: // Hello again. I need to add... (by Enoizat)
Pages: 1... 45678... 68
  Archived months: [feb2017]

Cannot post in this page. To post a new message, go to the first page.