• Forum
  • General C++ Programming

General C++ Programming

by admin
Welcome to this board!
Welcome to the general programming forum in C++.com! In this forum, users can to talk about any top...
[no replies]
need C++ code please
I need the code in C++ form for this question please: Define a class called Revenue that has 2 pr...
[no replies]
need C++ code please
I need the code in C++ form for this question please: You are running a camp and must decide wh...
[no replies]
Help with understanding this code?
Can you please help me with some code? I cant understand some part of it. < #pragma once #incl...
[no replies]
multimap array with same elements
Dear experts, I have a doubt regarding mutlimap. Suppose I have filled the multimap with 5 pairs,...
[1 reply] : Try it and see? #include <iostream> #include <map> int main() { ... (by Chervil)
Creating Matlab Structure in C++
Hi, I have used MATLAB to simulate Wireless Sensor Networks (WSNs) for a long time, but since it ...
[1 reply] : First things first, in C++, an array with N items is accessed using in... (by dhayden)
splitting a string sentence into an array of strings
What would be the easiest way, if someone were to type a sentence of words into an input, to put tha...
[1 reply] : I wouldn't use an array since you don't know how many words a sentence... (by Thomas1965)
Branch and Bound Algorithm for solving Assignment-problem
I started doing Branch and Bound Algorithm for assignment problem in C++ and i can't find the right ...
[2 replies] Last: Sure gunnerfunner i can put the code in cpp.sh if that's what you mean... (by whyunomad)
Hi there, I have been trying to create a program which prints the elements of an array in combina...
[5 replies] Last: Thank you both for the replies. Yeah, you re right. In fact I am looki... (by GeorgStud)
Counting numbers within a Vector
Hi, Can someone tell me what I'm doing wrong here? It's almost like the declared integer variables ...
[10 replies] Last: Compiler gives error "[variable x] is not captured" (for *all* the be... (by coder777)
c++ program is not working
Write your question here. I don't know what is wrong with my code. Can you guys help me please? ...
[5 replies] Last: As alonso12 stated, you can name name a function and a variable by the... (by BrewGoggles)
C/C++ linkage code error
Ther are two Header file IMG_fnconst.h & TAL_Messages.H included in source file IMG_FileNet.C Par...
[1 reply] : Instead of trying to silence your compiler you really should fix your ... (by jlb)
Have you any smarter way to achieve this file
Hi all. I should like to avoid adding 9999 at the end of the list. Perhaps using ENTER as CR and va...
[3 replies] Last: I think now that I can use ctrl+something or alt+something to stop the... (by sylvain)
by user42
Help with strings,functions
hi, I am supposed to write a program that creates an array of strings called text, and a two-dimensi...
[6 replies] Last: Sorry, to me that's crossing the line between helping you and doing th... (by dhayden)
Feedback on keylogger program?
Hi all Could I have some feedback on this keylogger program? https://raw.githubusercontent.com...
[no replies]
C++ Program Question
I need some help. I am trying to complete an exercise, however I am stuck. Here is the Exercise: Wri...
[3 replies] Last: Thank you so much! (by peachenajackson)
Any tips?
Hey, I got this task to create a menu with several options. You should be able to add a city and the...
[3 replies] Last: sir? sure? ;) (by gunnerfunner)
Book class for PPP2 - Help Needed
For PPP2, I have to write a class Book. It spans exercises 5 through 9 in Chapter 9 and I've just s...
[18 replies] Last: I already tested most of the stuff on my end, so I know it's fine. I ... (by jlb)
Why is the output 16 and not 4?
#include <iostream> #include <cmath> using namespace std; int multiplication(int& a); int additi...
[3 replies] Last: Incidentally, if the functions are doing one thing to one variable th... (by Chervil)
How use the function of SetCurrentConsoleFontEx ?
typedef struct _CONSOLE_FONT_INFOEX { ULONG cbSize; DWORD nFont; COORD dwFontSize; UINT ...
[2 replies] Last: http://www.cplusplus.com/forum/general/118967/ (by Thomas1965)
Pages: 123... 28
  Archived months: [nov2016]