• 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]
by Xriuk
Difference between using this and not with virtual functions
I have two classes: class A{ virtual void func(){ std::cout<<"I'm A\n"; } void func2(){ func();...
[6 replies] Last: If B::func calls func2, it will result in infinite recursion. (by LB)
pointer arrays and std::array
Are the two arrays, one from c++11 and the other prior, basically the same from the vantage input/ou...
[no replies]
Code Review Request
Hello Everyone, I hope you are all doing fine. I am trying to learn C++ and I am following tutori...
[1 reply] : I suggest you to use this https://github.com/ just a quick look ... (by ne555)
How do I convert a hex number as a string to an int as a string?
So, I have a comand-line program where a user types a number that they want to use in int form. The ...
[4 replies] Last: Never mind, it doesn't matter. You have NO IDEA how much easier it'll ... (by RealGiganitris)
Speed of a pointer that traverses
This a question about pointers. If I move a point to a new address, int * ptr = new int ; Does...
[no replies]
Linked list, operator >> and << overloading.
For some reason when I overload operators << and >> in my linked, that I will be using for my invent...
[4 replies] Last: Maybe, although I'd like to be able to display all of the contents via... (by rabster)
Error writing registry key c++
Hello, i have this code this code read exe's path and create a registry key with the path as value b...
[2 replies] Last: Yeah Thanks a lot!!! For people who need it: this is the working code... (by xMarioZ)
by jp003
I am confused and need to clean up this code.
I am unsure how to clean up this code the way it needs to be. This initial version of the progra...
[no replies]
D&D Style Game
I am given an assignment that I am to write a D&D Style Game using pointers and char arrays. The req...
[18 replies] Last: That would be the most obvious way to fulfill the instruction that you... (by MikeyBoy)
by Zakusa
script wont work after adding in a another part to it
hi ya so my script wont work after i add in another part i know its a simple fix but its too hard fo...
[1 reply] : [quote=OP]i tried it for another process name and it worked in conso... (by Computergeek01)
Encrypted arithmetical operations c++
Hi, I need help with a c++ code. Program is supposed to read a 1st .txt file, encrypt the text, mak...
[2 replies] Last: Anyone? :( sorry for double post didnt know in which forum to make the... (by mancigol)
by kbs96
Input File transfer?
Okay so I completed a homework assignment that required me to open an input file. So everything work...
[2 replies] Last: What would I zip together? The only two files in the project folder is... (by kbs96)
syntax in uml class diagram
i having problem to read attractions:Attraction[*] and Malls:string[*} what is this mean?
[18 replies] Last: So - the post accusing @mike9407 of being a troll is left here, but my... (by MikeyBoy)
by Ginso
edit video using ffmpeg
Hello, i just downloaded the ffmpeg library. I am new to ffmpeg and what i want to do is the follow...
[1 reply] : Have a look here: http://www.codeproject.com/Tips/111468/FFmpeg-Tutor... (by Thomas1965)
by Kubani
Using malloc and free in C++ (1,2)
Hello all, I'm working on an exercise that says I should using the following My_allocator class d...
[20 replies] Last: It says I should derive from std::vector, Not quite, as Chervil ment... (by dhayden)
Copying and deleting pointers with arrays
Copying one pointer to another element by element in C++ and getting "Error in `./hsc.exe': double f...
[4 replies] Last: Yes. You are right. I should be focused about copying the data itself ... (by moxit1045)
What is .dll files?
As beginner I shouldn't concern about it, but still I'm thinking about that what is the .dll files a...
[1 reply] : http://bfy.tw/4E53 (by TarikNeaj)
by chan3x
i am beginer so i need help
#include <iostream> using namespace std; int main() { int i , y = 1 , n = 0; cout << " do you...
[3 replies] Last: You should have asked this question in the beginners forum. int i , ... (by tom221b)
I want to use libssh for a uni project but I need to gauge how hard it is to set up
I have a C++ module and next year I will be expected to produce a final project loosely containing e...
[1 reply] : For installing take a look here: https://www.libssh.org/get-it/ It s... (by coder777)
Pages: 123... 27
  Archived months: [dec2015]