Beginners - July 2019 (Page 10)

Can you help me?
 
I couldn't find the problem. Can you help me? #include <stdio.h> #include <stdlib.h> int mai...
[4 replies] Last: there is an fmod but I have not ever had a use for it. are you trying... (by jonnin)
Format questions
 
I'm curious to why when using functions to call a file. one uses ostream& and not ofstream& - althou...
[3 replies] Last: > I'm curious to why when using functions to call a file. one uses ost... (by JLBorges)
Help with ofstream within a function
 
Hello all, I have this code and I can't figure out why my ofstream isn't working as it should...
[15 replies] Last: Although it doesn't make a difference in your specific case to use ofs... (by dutch)
casting and reading from binary files
 
Hi guys, I have a function that writes data to a file,that data is two strings and an int, I do thi...
[5 replies] Last: keeping the casted stuff around makes it simpler to read and handle. ... (by jonnin)
Computing using Arrays
 
Hi guys, I wish to know, how I can use each of the digits of a 15 digit code supplied by a user t...
[10 replies] Last: they both work. I found 3,3,7 easier to think through I think you mi... (by dutch)
About the back() function of std :: queue
 
Please help me, why c ++ stl defines the back() function for std :: queue to get the value of the la...
[4 replies] Last: Thank you everyone for giving me the answer. (by cegodica)
cin.getline Clearing Input
 
So I've been assigned for a c++ class to put together a program that will encode or decode a caeser ...
[2 replies] Last: Why do you mix code associated with using namespace std; Alongside ... (by closed account 367kGNh0)
error message on inheritance
 
I am trying to learn C++ and when I compile I am getting the following error messages: invalid use...
[6 replies] Last: Thanks so much Niccola. I saw my errors. That was time saver. Thanks f... (by mekbibb11)
Scramble Middle Letters (1,2)
 
The task is to take any word that is longer than 4 and scramble the middle letters The following is...
[21 replies] Last: @ Ganado I wasn’t sure posting the scrambled text would be very rea... (by Duthomhas)
Overloadedoperator was fine and now..... nope!
 
C++ Team, (I guess that's sort of like the A-Team but twice as better!!) I have an overloaded out...
[9 replies] Last: Ok Dutch, good example. Even though pre-processor "activities" are f... (by Xanadu4ever)
What other header files include cstdlib?
 
Other than when you actually include it: #include <cstdlib>
[3 replies] Last: ...which it is always a good idea to compile against several compilers... (by Duthomhas)
Copy Constructor
 
1. Does copy constructor can copy all public, private, and protected members? 2. Does copy constr...
[3 replies] Last: 1. public/private/protected has no bearing on the compiler-generated c... (by Ganado)
Urgent Help
 
Question : minimum number of operation required to sort array. Operation : Take any element from ar...
[6 replies] Last: [quote=Zaap]The minimum number is probably not zero because you can't ... (by dhayden)
What is the difference ?
 
I'm came upon a code but having removing one line changes the whole output of the program. However I...
[1 reply] : You mean you came upon this code? http://www.cplusplus.com/reference/i... (by salem c)
long integer
 
hello, i have made a program to try the "long integer" instead of integer for a very long number, b...
[3 replies] Last: You can use : int64_t var1; to get a 64-bit int, or uint64_t var1; ... (by Zaap)
Parsing JSON Files and Storing Data in Program
 
Intro / What I Tried I'm trying to parse JSON files (which I've never done before). I first tried ...
[7 replies] Last: Why don't you use boost property_tree and their json parser: https://... (by coder777)
Why does not work? Help me please!
 
It doesn't work and I don't know why. printf(" Oturum Acma\n\n"); char nickname ,parola ,ad ...
[6 replies] Last: I got it. Thanks for everything. Have a good day. :) (by tetrosss)
Inventory Counts
 
you are to write a program that will sum up inventory counts and report the total. the inventory is ...
[9 replies] Last: You still need to improve your indentation. And space out your code. D... (by dutch)
Question on resource file with icon.
 
This is main.h #define ID_ABOUTICON 100 #define IDC_STATIC 101 The icon is 32x32. This is ...
[6 replies] Last: dutch, thanks a lot. That explains it. Tried SS_REALSIZEIMAGE. Does th... (by clamicun)
July 2019 Pages: 1... 891011
  Archived months: [jun2019] [aug2019]

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