Beginners - September 2018 (Page 11)

Displaying the frame
 
Hi! Could anyone help me how to use frame? cause i am trying to use void frame() but it only giv...
[15 replies] Last: @whitenite1, well it's okay and i know you did your best and that's e... (by daryledevs)
Image Processing with c++ and OpenGL, trying to understand a code
 
I'm learning image processing using C++ and OpenGL. I encountered this code int main(int argc, ...
[8 replies] Last: If p should be incremented/changed in your loop it won't be p .... (by closed account E0p9LyTq)
please help me with the following c++ problem
 
The questions below refer to the following class declaration: #include <iostream> #include <strin...
[5 replies] Last: #include <iostream> #include <string> using namespace std; class Ch... (by Manga)
Reading CSV file (1,2)
 
Here I have a structure WaterLog and I want to print out the contents of the CSV file in the display...
[30 replies] Last: Thank you for the information. You're welcome, and don't forget that... (by jlb)
Press any key to continue
 
Hi guys! Could you please help me? how i am going to search after the visuals? It must be looks lik...
[13 replies] Last: I should have looked them up, apologies on the misinfo. (by jonnin)
by cn00by
higher class, lower class <vector>
 
hi, i ve following example. class a{ public: void set_value(int i){v = i;} private: i...
[4 replies] Last: #include <functional> class b{ public: template <class F, class... A... (by ne555)
Writing a Modular Program in C++
 
Hello, I'm currently learning how to program using c++ and this is one of the exercises my teacher g...
[6 replies] Last: Yes, I'm pretty sure :D :D Thanks again. (by kuushie118)
Switch statement has no effect?
 
As far as I know, I think the rest of my code are fine except for the switch statement part. Wheneve...
[4 replies] Last: Sorry, I missed that...Thank you so much T^T it works perfectly well n... (by kuushie118)
recursive function
 
as described below. First, the user is requested to enter a number between 1 and 1024. A user defin...
[1 reply] : @chathuranga, what is your question? Your search routine is far too c... (by lastchance)
Text adventure
 
Can anyone tell me where I'm going wrong? When I run the code, only the first portion can be answere...
[2 replies] Last: THANK YOU, THANK YOU, THANK YOU!!!!!!!!!!!!! I have been beating my br... (by tdknapp)
help with sales commission program
 
so this program works, but my professor wanted my function to have paramters sale amount and sales c...
[1 reply] : Yes, the program works. I am also not sure what he means. Maybe he wan... (by longberns)
by gjur99
Help with simple C++ program
 
Hi, i am pretty crude on C++ coding right now and i am close to 0 knowledge because i just dont get ...
[1 reply] : To get a character from the user, you use cin>>variable To print a c... (by longberns)
Primality testing
 
Recall that a prime number is one that is only divisible by itself and one. By definition, 2 is the ...
[1 reply] : It is really hard to answer really simple questions like this without ... (by Duthomhas)
Multiple choice using Enums
 
I want to create a class for multiple choice IO, but I am not getting the results I want. I am using...
[5 replies] Last: Tweaked a few things, added namespace indication and setters. Now I t... (by Willogical)
How should I optimize this?
 
I managed to build a multiple choice template with enum. How do I optimize this, to take on bigger I...
[1 reply] : right away I see a need for a constructor. eg IO question ("A words"... (by jonnin)
Help with C++ question
 
Hi, as a homework assignment I have been asked to write code to meet the following criteria: "A box...
[3 replies] Last: Here is a simple example of / and %: #include <iostream> int main() ... (by keskiverto)
by JM567
Open Two Files Using Same In Stream
 
Hello! I am working on a lab for my class, and I am having trouble with File I/O. I need to open t...
[9 replies] Last: Hello JM567, How do I properly define inFile1 and inFile2? "inFile1... (by Handy Andy)
c++: how can i get a parcial string?
 
see these sample: string text="helloworld"; if(text=="world") cout << "founded"; the C...
[4 replies] Last: thank you so much for all. thank you (by Cambalinho)
Simple code from beginner. Need few advises on the code.
 
Hi guys, I recently started learning C++ and was able to write a simple code. Would you please rev...
[6 replies] Last: Hi Guys, Seriously, thank you all for your help with this. Obviously ... (by blade007zg)
I am stumped on how I should go about creating a loop to display values.
 
#include <iostream> #include <iomanip> #include <cmath> #include <random> #include <memory> usi...
[2 replies] Last: Thanks for the reply and help. Though I am not familiar with C++ 11, I... (by boypetey17)
September 2018 Pages: 1... 910111213... 20
  Archived months: [aug2018] [oct2018]

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