General C++ Programming - August 2016 (Page 8)

Dynamic Arrays
 
Hey guys, I have two short questions on Pointers. Lets say i want to create an integer array with four entries. int * mypntr; mypntr = new int ; mypntr = ...
[7 replies] Last: Yes, it does. On line 1, you are allocating space on the stack for ... (by MikeyBoy)
how do i show the minimum after adding my arrays?
 
My objective here is to show the minimum which is the lowest after added my arrays. I havee 12 arrays and i have added them correspondingly by month. January ar...
[7 replies] Last: http://www.cplusplus.com/forum/general/195694/ http://www.cplusplus.co... (by closed account 48T7M4Gy)
My loop gets display output is 0!
 
Im currently doing a school project and it requires me to find the top three power consumption of selected household from jun to december. Which means i have to...
[7 replies] Last: http://www.cplusplus.com/forum/general/195730/ http://www.cplusplus.co... (by closed account 48T7M4Gy)
How do i find the mid number in array?
 
So i manage to find the largest and smallest number. How do i find the mid number in 3 of my arrays? EXAMPLE : powerConsumptionJuly ={144,132,152,123}; po...
[3 replies] Last: http://www.cplusplus.com/forum/general/195694/ http://www.cplusplus.co... (by closed account 48T7M4Gy)
Approaches for multivariable function optimization
 
I am adapting a Java program for computing the best values of a set of parameters which are input into a function, the aim being to maximize the output of the f...
[no replies]
by Ra1n
[Help] DLL Gui
 
Hey im new to this forum and I know a bit of C++, but i dont know how to code a User Interface into a .DLL Is there any help I can get?
[1 reply] : What exactly do you want to do ? You can create a function that will s... (by Thomas1965)
iterative merge sort help
 
I'm having a hard time with my mergeSortIterative function. My merge function works but I get a segment fault looping through the iterative. #include <i...
[no replies]
Programmatically handle DSI exception in c
 
Hi, I have developed a C based server program to run inside the Thales Nshield solo HSM. Inside the program I have queu, thread pool and some other data struct...
[4 replies] Last: Hi coder777, Thank you very very much for the reply. I'll check my co... (by dushantha12)
closed_account::vector_ptr, closed_account::unique_vector_ptr code review
 
Hello, I have finished a smart pointer named closed_account::vector_ptr. I have also finished a smart pointer named closed_account::unique_vector_ptr. The smar...
[13 replies] Last: That is exactly what he is saying has no purpose. I personally can't ... (by BHX)
How to compile VMime library in Visual Studio
 
Hey guys! For reading INBOX of an email of my website I need to use IMAP4 and I chose VMime, but I don't know how to compile it in Visual Studio. Please help m...
[no replies]
Gumbo Parser - Get innerText of an element
 
Hi! I am beginner in "Gumbo Parser Library" and I have seen the examples of that but still I have issues with getting the text of the nodes. How can I do th...
[4 replies] Last: Very very very thanks ! (by AliRezaBeitari)
by np1984
copy constructor
 
#include <iostream> using namespace std; class sample { public: int i; sample(int ii = 0) { i = ii; } sample(const sample &s) ...
[5 replies] Last: To: Cubbi I used gdb to check the address of object 't' inside fun() ... (by np1984)
by zxcvbn
Can anyone help me about microcontroller programming?
 
My question is :Is it possible to program the LEDs each to flash on consecutively each with its own activation speed in the sequence chase then add some sort of...
[3 replies] Last: http://airborn.com.au/8051/pg2051.html might be useful. My guess is t... (by closed account 48T7M4Gy)
HIgher Dimensional Search Trees With Non-Boolean Operators
 
Hey guys, Recently I have been working on an idea of mine. My thought process goes that binary search trees are so effective because comparison operators are...
[3 replies] Last: > I don't see anything regarding the overloaded comparison operators. ... (by JLBorges)
by Hyden
Visual Studio: const integer keeps setting value as 10
 
Hello. I have a SFML project programmed in C++ that is in Visual Studio 2015. I have a constant integer called playerSpeed which is set to 160, however even tho...
[1 reply] : Do you have another variable called playerSpeed in scope that is shado... (by Zhuge)
Please check my code (1,2)
 
Hey guys I'm a beginner in C++ (learning overloads and templates in tutorials). I made a small project and I would like you guys to have a look at it. Here is a...
[21 replies] Last: > I don't understand why you don't use "using namespace std;" See: ht... (by JLBorges)
by Nico
How to simulate RS232 communication
 
Hello, I want to communicate with a pump using RS232 communictaion. To do this I have this code: std::string comport = "COM1"; HANDLE...
[4 replies] Last: Now I would like to test the software that uses this code even when I... (by jlb)
Print Rectangle
 
I am to write a program that takes two lists of 5 positive integers each, and place them in two arrays called "rowList" and "columnList". Afterwards, generates ...
[1 reply] : In my opinion, questions like this are better suited for the Beginners... (by kevinkjt2000)
Virtual Community Classroom for C++
 
Hi fellow coders! I have started an initiative in which I want to create a virtual classroom to start learning C++. So I'm mostly active in the beginners s...
[3 replies] Last: It's still possible to join class! We are busy with the Principles an... (by BlurgenStein)
BitShift Entire File
 
I am trying to convert a 128GB human-readable hexadecimal file in to base 256 binary and then shifting all the bits left by 7. So far, I have this: http://past...
[2 replies] Last: Thank you so much for your reply. You are incredibly helpful. I will t... (by da peppester)
August 2016 Pages: 1... 678910... 12
  Archived months: [jul2016] [sep2016]

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