
please wait
by gedamial
Little question about ->* and .* (pointer-to-members)
|
Hello. Here is a simple example for my question struct Person { int age; void print() { cout << "Age is: " << age << endl; } }; int m... |
May 23, 2016 at 3:46am
[1 reply] : #include <iostream> struct A { int mf( int a ) { return m += a ;... (by JLBorges)
|
by sunsflower
how to implement a c++ reference count macro?
|
Is there any way to add something like "ADD_REFCOUNTER" to a class and then each ctor and dtor of this class will be monitored to ensure no memoty leaks happen?... |
May 23, 2016 at 2:19am
[2 replies] Last: thanks very much! it is really useful (by sunsflower)
|
by kubu
Passing Variable Argument to DLL
|
I am working on a plugin architecture where each plugin requires a different set of input arguments. These inputs need to be provided through a GUI by the user ... |
May 23, 2016 at 2:05am
[5 replies] Last: To me, it sounds like he's talking about either inter-process communic... (by helios)
|
by Adderall
Error C2040 varied levels of inderection
|
Currently i'm trying to get the date using the localtime_s function but i'm getting an error. The problematic part of my code is time_t rawtime; struct t... |
May 22, 2016 at 8:27pm
[4 replies] Last: This should work: #include <iostream> #include <ctime> using namesp... (by Thomas1965)
|
Starting out with GTest and C++ Unit Tests |
Hey All, I'm just beginning with Google Test. I think I understand the premise, and want to get started with my first test. Say I have a header file that loo... |
May 22, 2016 at 7:15pm
[no replies]
|
by CinQabas
final exam
|
last hope i have is this forum write a program which read a string contains a number followed by an operation there anther number (e.g "25*3"), the prog... |
May 22, 2016 at 6:52pm
[9 replies] Last: mmmmmmmm thanks for your help but that didn't help a lot i still in ... (by CinQabas)
|
by thedevvv
doctest - the lightest feature rich C++ single header testing framework - version 1.0 released!
|
you can find it on github - https://github.com/onqtam/doctest Also read the README.md there - it explains how this library is different from all the rest. |
May 22, 2016 at 4:45pm
[no replies]
|
by sarder
Formatted text file reading problem
|
This is the file. R: 10 Steve Abrew 90 80 84 76 David Nag 93 87 90 80 Mike Black Andrew Van Den 90 88 95 85 Chris Smith 86 74 90 Dennis Dudley 74 76 77 83 Leo R... |
May 22, 2016 at 3:40pm
[16 replies] Last: ok thanks.. i got it... thanks a lot :) (by sarder)
|
by sandeepmhptr
function overloading
|
if you have in a file int fn(int,int,int); float fn(int,int); it compiles fine but if you have int fn(int,int); float fn(int,int); it gives compilation... |
May 22, 2016 at 3:38pm
[1 reply] : When you call a function, the compiler needs to be able to identify wh... (by Moschops)
|
by hayyan
hiding user input
|
how can I hide user input and still stores the input in a variable and later print out on the screen? |
May 22, 2016 at 3:02pm
[2 replies] Last: #include <iostream> #include <conio.h> #include <stdlib.h> using names... (by hayyan)
|
by csstudent123
Prim's Algorithm..How to identify connectivity
|
Hi. I need to know how can I identify connectivity of two nodes? Please give me some hint or code to understand this. Thanks |
May 22, 2016 at 3:02pm
[2 replies] Last: Thanks (by csstudent123)
|
by stav
gcc 4.7.1 doesn't support threads?
|
when i try to compile my code with gcc -std=c++11 *.cpp -o main it gives me an error: "thread is not a member of std" my code: #include <iostream> #include... |
May 22, 2016 at 1:27pm
[3 replies] Last: C++ has come a very long way in the last four years. (by Moschops)
|
by Andrewcen16
merging alternating vecotrs?
|
Exercise P6.5. Write a function vector<int> merge(vector<int> a, vector<int> b) that merges two arrays, alternating elements from both arrays. If one array is s... |
May 22, 2016 at 11:21am
[1 reply] : One way to do it. vector<int> merge (vector<int> a, vector<int> b) {... (by Thomas1965)
|
by sarder
Splitting characters and int from a character array
|
This the file containing data: R: 10 Steve Abrew 90 80 84 76 David Nag 93 87 90 80 Mike Black Andrew Van Den 90 88 95 85 Chris Smith 86 74 90 Dennis Du... |
May 22, 2016 at 10:56am
[no replies]
|
by seekmyshadow
Skipping columns
|
I am loading my file data to 2d dynamic string array, but the problem is whenever space is encountered column is incremented. For example Expected output: Na... |
May 22, 2016 at 9:12am
[3 replies] Last: I don't want to post me email address here. All bots would see it and ... (by Thomas1965)
|
by kubu
Accessing Files from DLLs
|
I am creating some plugins/dlls that are processing data. The data usually resides in files. The idea is that the filename is passed to the dll which then opens... |
May 22, 2016 at 8:55am
[3 replies] Last: Do you know what the important settings are so that an "application" ... (by helios)
|
by bb0yth0r
Review My Code.
|
Hello everyone! I would just like to ask if my code is acceptable, and see if anyone can give me tips to be a better writer. The Instructions Are: Inside the m... |
May 22, 2016 at 8:14am
[7 replies] Last: @Necip Thanks aha i did not know that. will keep in mind :D (by bb0yth0r)
|
by magnifz97
Dynamic 2d array into a struct
|
Hello. How can i add a dynamic 2d array into a struct? |
May 22, 2016 at 5:20am
[3 replies] Last: http://stackoverflow.com/questions/936687/how-do-i-declare-a-2d-array-... (by closed account 48T7M4Gy)
|
by Mrkaiba
.txt files
|
Hi all, i have a question. I have a txt file ready in parts of 1-9. How can i read only one part of the .txt file. For example if i type in br=3; that means i w... |
May 21, 2016 at 10:43pm
[2 replies] Last: Well i wanted to use integers to separate the parts in my .txt file. F... (by Mrkaiba)
|
by DragonOsman
Runtime Error #3?
|
I'm using Visual Studio 2015 and I'm getting a Runtime Error #3 in a program I'm writing. // chapter_3_drill.cpp : Defines the entry point for the console a... |
May 21, 2016 at 9:52pm
[10 replies] Last: Yeah, I see now. Thanks. It worked with that. (by DragonOsman)
|