General C++ Programming (Page 8)

by tushu
Graph representation using Map and set
When I will add edge( A, B, 1). It should be stored as ( A , 0) , ( B , 1 ) in map ( T, key ) vtxMap...
[2 replies] Last: Line 41: getvInfoIndex() doesn't need to take a graph<T> reference as ... (by dhayden)
Attempting to read audio file
UPDATE: The title of this topic has changed. I have managed to fix the first problem I was having, o...
[10 replies] Last: I fixed my own problem. For those who are (or will) encounter this iss... (by FearlessHobbit)
Disabling context menu in a console app
I simply want to disable the context menu whilst my console app is running. I've looked at the l...
[2 replies] Last: Thanks for the reply, maybe it won't as easy as I thought. I'll just h... (by RvBVakama)
by xismn
Implicit template type deduction
Thanks for taking a look at my thread, Not sure if the title is accurate - I don't really know what...
[15 replies] Last: Thank you everyone for your valuable input! I was pleasantly surprised... (by xismn)
How To Call a Text File
Hello everyone I want to now how do I call for a text file and then output the continence of the tex...
[1 reply] : (by FearlessHobbit)
future value
I seem to be having trouble with my program. It was easy until my teacher decided to make it where y...
[3 replies] Last: i actually just figured it out. changed two things This fixed it: do... (by kohl5555)
call winapi function
how i can call this api: static const wchar_t *lol=L""; LRESULT WINAPI BSSSendMessageW(HWND hwnd, ...
[no replies]
Call send message function
Hello i do this: static const wchar_t *lol=L""; LRESULT WINAPI BSSSendMessageW(HWND hwnd, UINT msg...
[2 replies] Last: I did so: return baseSendMessage(hwnd, msg, wparam, lparam) But now... (by omarespanol)
Invalid friend declarations in template
Hi, I have the following code which does not want to compile: template<typename RatioSequen...
[5 replies] Last: Thanks ... I have reported the bug to microsoft connect! Will keep th... (by JUAN DENT)
what is the relationship about cmakelists and VS project?
I create a VS2015 project from a cmakelists file, and there is a problem I do not understand, in cma...
[1 reply] : (by dost6)
How to link openthread
I get these errors: C:\Users\Androide\Desktop\minhook\Dynamic>g++ -o bot.exe Dynamic.o hook.o hde32...
[1 reply] : (by dost6)
what's wrong with the following program?
int main() { int score; score = 1000; float & rScore = score; return 0; }
[1 reply] : rScore is a reference to a float. What float does it refer to? (by dhayden)
what's wrong with the following function?
int & plasThree(int number) { int threeMore = number + 3; return threeMore; }
[1 reply] : The function returns a reference to an integer (int &). What integer ... (by dhayden)
error LNK2019 unresolved external symbol
I'm trying to write code to read and display 10 integer values from a text file. When I try to com...
[2 replies] Last: Look at your declaration for readInts() and how you're calling it: De... (by AbstractionAnon)
Having Trouble Compiling GUI Example Code PPP2
I tried to compile GUI example code listing from Chapter 12, Section 12.3. Showing the output from t...
[no replies]
Has_f<T> not working
I am trying to get a a type predicate Has_f<T> to work. It's purpose is to check if a type T has a m...
[11 replies] Last: what is the difference envisaged b/w has_f() and has_Tf()? get_f_res... (by gunnerfunner)
Variadic Argument Expansion
Please consider the following variadic: template<typename... Args> constexpr bool check1() {...
[1 reply] : Briefly, All(Convertible<Args, size_t>()...) Becomes All(Convertib... (by mbozzi)
by RiCtz
grading system but i when i go to next student record it adds to the final grade to the current student record.
#include<iostream> #include<cstring> #include<cmath> #include <cstdlib> #include<fstream> using...
[1 reply] : this is my proposed program. in the first student grade it calculate c... (by RiCtz)
Metadata / Unique ID to differentiate data in C
Hi people! I am currently in a project where I should make a simulation of how a system (wearable...
[1 reply] : the vector index, mentioned below link, would be the unique ID: http:/... (by gunnerfunner)
by tushu
Segmentation fault( core dump)
using namespace std; static int index = 0; class neighbor { public: int dest ; ...
[3 replies] Last: @Peter87 I removed that 96 lines. Now no error. But not getting des... (by tushu)
Pages: 1... 678910... 33
  Archived months: [jan2017]

Cannot post in this page. To post a new message, go to the first page.