General C++ Programming - December 2018 (Page 7)

How to code all the items bought
 
So I need to finish this code. I need to show all the items bought under one category(example:drinks). The final output should be: Example: Items bought...
[1 reply] : Please edit your post to include [c ode] tags around the code (use t... (by salem c)
How to solve these equations?
 
We are given following equations: a1 ^ a2 ^ a3 = A a2 ^ a3 ^ a4 =B a3 ^ a4 ^ a5 =C a4 ^ a5 ^ a6 =D a5 ^ a6 ^ a1 =E a6 ^ a1 ^ a2 =F Here A,B,C,D,E,F are g...
[8 replies] Last: The system has rank 4, so it either has no solutions or a lot of solut... (by lastchance)
can i create an especifique macro?
 
imagine that the macro is only used with some types and not change on all code, can i do it? the vector have push_back() method. but i want use add() instead. ...
[4 replies] Last: ok. thanks for all to all (by Cambalinho)
Hello again...
 
I am writing a program that will act as a loan calculator. I do need a bit of help though. The main thing is that I have to program set up with the features I w...
[3 replies] Last: At risk of repeating Salem C 's advice, as a beginner, you should be ... (by Repeater)
CFieldExchange* pFX
 
CFieldExchange* pFX is passed to the DoFieldExchange function of an object of a class derived from CRecordSet. where does the pFX pointer get initialized. I...
[6 replies] Last: Here are examples of a class derived from CRecordSet. https://www.code... (by Thomas1965)
by haikuu
(HELP) Computing area of rectangle using function - Call by Value
 
Formula: Area= length * Width
[1 reply] : Post it in the jobs section. (by chicofeo)
by haikuu
(HELP) Computing area of circle using function call by reference
 
How to make this as call by reference? #include <iostream> using namespace std; float areaOfCircle(float&); int main() { float radius; c...
[1 reply] : Post it in the jobs section. (by chicofeo)
Looking For Comprehensive Code Completion, Syntax Highlighting and Error Checking Library
 
Hi there! I'm wondering if there are any free to use C/C++ libraries for code completion, syntax highlighting, and error checking. I am NOT looking for an...
[1 reply] : This perhaps. https://www.scintilla.org/index.html (by salem c)
Help !!!!!!
 
i need someone to create a c++ code for me reply if u up for it more info will be given out
[3 replies] Last: Perhaps, but I don't work for free. (by mbozzi)
elements of array have incomplete type
 
Hi guys, I am getting the following compile time errors User\4inarowGUI\main.cpp|18|error: elements of array 'BallTracker tracker ' have incomplete type...
[4 replies] Last: good point repeater that makes sense. (by adam2016)
by jonnin
Program does not run
 
I am not going to fix the whole thing, but for starters you seem to need a default constructor, consider Int() {i = 0;} and you look to need comparison operat...
[no replies]
Buffer overflow
 
Hi guys, so this post will be a little different and is a pretty fun topic,so as you may or may not know I'm a cyber security/ computer science student,I'm d...
[2 replies] Last: thanks CCPA,I'll give it a shot (by adam2016)
Registry Symbolic Links
 
I can successfully create this registry symbolic link; Link => "hkey_local_machine\software\techinc" Target => "hkey_users\S-1-5-21...\software\microso...
[17 replies] Last: Okay, one step closer .... Using SubInACL, I discovered that "hkey_cu... (by bobster99)
by lnel
My switch statement code isn't working
 
/* QUESTION */ /* Write a function named getPrice It takes in one parameter called size which is a character and returns the price depending on the size Whe...
[6 replies] Last: I feel so dumb. Don't be. All of use makes mistake; anyways, happy c... (by chicofeo)
Game Question
 
Hello I'm doing an assignment for my c++ class and i need some help with a game I'm making. Its a variation of the card game 21. Below is my code. The proble...
[1 reply] : Don't double-post. http://www.cplusplus.com/forum/beginner/247226/ (by helios)
Arrays and searching help. Great at organizing but bad at implementing.
 
Hi! My name is David and I’m trying my best to pass my only computer science course. I am great at getting everything in the order in which to make the pr...
[1 reply] : Your username is singularly inappropriate. Try the jobs section. (by lastchance)
arranging variables to be read
 
If I do this: ex. 1 void load_custom() { string path = "customOpenCVsettings.txt"; ifstream fin; fin.open(path); /...
[5 replies] Last: Thank you Implementing your advice to error check the input settings ... (by technologist)
Reading in from a file and encoding/decoding
 
Requirements: • Name your source file exc.cpp • You are free to use the string class or C-Strings as you see fit • You must declare a minimum of two fu...
[1 reply] : Sounds interesting, and you've been given everything you're expected t... (by kbw)
Search and highlight a word in c++
 
Write your question here. How I can search a word or string text from a text . After that i print the text again but with highlight word that i found
[3 replies] Last: https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_(Select_Graphic_Ren... (by salem c)
TicTacToe Project 2
 
So this is a follow up to a post I did a while ago. I'm stuck with this project. I have no idea what to do next. These are the instructions: Programming and Pro...
[1 reply] : > • You will want to create the following functions: So start by doi... (by salem c)
December 2018 Pages: 1... 5678910
  Archived months: [nov2018] [jan2019]

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