General C++ Programming - May 2019 (Page 6)

Invalid Inputs in Switch and If statements.
 
I'm writing a program where there are switch and if statements. The characters that the statements r...
[1 reply] : You should "terminate" the program by designing the logic flow to reac... (by Ganado)
Accessing bytes of a .bmp image
 
Hi! I want to get an unsigned char array of bytes (and if possible, width and height)from a Bitmap i...
[8 replies] Last: One more word. I just had a look to the source of Emu42, https://hp.gi... (by MikeStgt)
Does Libcurl work with Javascript or does it only work with HTML
 
I need to write a program in c++ that downloads webpages and then parses them and only keeps the nec...
[1 reply] : libcurl is only an HTTP/S client, not a web browser. It will download ... (by helios)
Event COM client C++
 
Hi, I need to develop in C++ event handling of a COM object. I imported the .tlb file and noticed t...
[no replies]
by montra
automatic display switcher to internal
 
hi I 'm beginner . I want to program automatic switch display mode to internal. My program is: ...
[6 replies] Last: Thank you dear Duthomhas . I solve it and creat final c++ file. Your h... (by montra)
by kavala
Pointer to different data types (1,2)
 
I have a program using a camera to capture images. I want to be able to use Mono and Color cameras. ...
[23 replies] Last: Jonnin, you were spot on. mbozzi ditto. It took me a while to figure ... (by kavala)
by jmpt
Encrypted password on files
 
Hello!I have a program that creates encrypted text, and in order to improve security and prevent unw...
[2 replies] Last: Storing the password decreases security, no matter what you do to it... (by Duthomhas)
Multithreading a loop
 
Hello programmers, I have started working on multithreading and I am getting a little bit confuse...
[13 replies] Last: Ok... that is interesting. Try O2? What I tested const int N =... (by jonnin)
how to declare class::function in the header file(plz. read)
 
Hi I want to solve this main function with a different class, I somehow know how to do it but the pr...
[2 replies] Last: Nah I assigned the static keyword from the net sorry... (by zaahm18)
Can some help me fix my code Final.cpp
 
#include <iostream> #include <fstream> #include <string> #include <cmath> #include <iomanip> ...
[1 reply] : Can some help me fix my code Final.cpp Without knowing what it's sup... (by dhayden)
Need Help With a Brute Search
 
I need help with just getting something to display but I keep getting an error for comparison betwee...
[3 replies] Last: && board > board[j-1][k-1] Do you notice any differences between th... (by jlb)
by X2Star
Raycasting Engine
 
Soooooooooooooooooooooooooooooooooooooooooooooooooo... I want to make a 3D game HOWEVER i am not ve...
[4 replies] Last: Thanks for the advice (by X2Star)
A management system program - Difficulty in Data Reading and Data Saving
 
I am creating a Library Management System in which I am required to make four different type of user...
[1 reply] : You haven't shown the addStudent() method, but I suspect it does NOT a... (by dhayden)
GCC 9.1
 
gcc-announce: C++17 support is no longer marked experimental. ... and the C++ standard library sup...
[8 replies] Last: Thanks, JLBorges, for the update. (by deleted account xyzzy)
Need recursion??
 
Most of the time, this function (below) works to find a word in a Boggle type grid. The times it doe...
[5 replies] Last: @dhayden It would probably be faster to check if the word is in the ... (by whitenite1)
void functions
 
How do I code this void function and then return to the main function? When I tried doing void...
[10 replies] Last: I figured it out. Thanks for your help, people! (by gongong)
Array C++
 
I am trying to "display the contetns of the array one character at a time using a simple loop" Now t...
[1 reply] : have a capacity that the number given to it is the bytes in total. ... (by jonnin)
Nested std::initializer list problem
 
I wrote this code here: Matrix::Matrix(std::initializer_list<std::initializer_list<int>> matrix) ...
[9 replies] Last: Is there other methods? (by zaahm18)
When using recursion, is it possible to remove unneeded function calls from the stack?
 
When a function is called, the call will be pushed on to the stack along with any member variables. ...
[4 replies] Last: All major compilers perform TCO. They are pretty good at it, too. How... (by Duthomhas)
by c1010
Problem: Analysis of Financial Time Series: USD/EGP Exchange Price
 
The daily USD/EGP exchange prices are available over the period from December 1, 2016 to April 21, 2...
[5 replies] Last: You might get more interest by using [c ode] tags around your code. ... (by salem c)
May 2019 Pages: 1... 4567
  Archived months: [apr2019] [jun2019]

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