General C++ Programming - September 2010 (Page 19)

by mTy
[C++] Dll Problem
 
Hi all, sry for writing first time in engish. Ok now to my problem. I have a Dll with a strange error. I think the code is right, but if i load the Dll, i get ...
[6 replies] Last: [quote=mTy]close pls. LOL, what do you mean? You want this discussio... (by m4ster r0shi)
declaration
 
I don't understand this pointer declaration, could anybody explain it to me. I search on the internet but find nothing. char(*)(int)
[2 replies] Last: pointer to a function. The function takes an int parameter and r... (by guestgulkan)
~ operator
 
What does ~ operator do? Eg. int a =4, ~a???
[5 replies] Last: Although Darkestfright explained it pretty well this time, there is st... (by Kyon)
by LB
What is an inline variable?
 
I searched the net a bit and this site, but I couldn't really find very much. I want to ask straight out: What is an inline variable, and what does it do?
[5 replies] Last: I know inline functions only this is first time i heard about this ... (by aBoDy)
by Vidus
some advice for a DSP newbie please
 
hi i am new to dsp but i have made a simple program so far.Eventually i want to turn it into something bigger,but for now i would like to make sure i got it wor...
[7 replies] Last: This morning i think i understand what does you program =) It is spec... (by boolivar)
StringChCopy - Giving me crap
 
Hey Guys, Im working on a video wrapper through a 3rd party SDK in app C++ 6 and MFC. I get the following error C2664: 'StringCchCopyW' cannot convert parame...
[1 reply] : It would help if you have the definitions for all these variables. Wit... (by LB)
Duplicate symbol _main?
 
So this is a really strange error for me. I am not new to C++, but I have never taken a course. I pretty much learned everything I did from this site and a few ...
[2 replies] Last: Oh... my... gosh... Duh. Thanks! (by ignatius)
by dlugo
How do you use int main(int argc, char* argv[])
 
So, I have an idea of how to use int main(int argc, char* argv ) but I don't know how to use it in the command line. What I want to do is to copy a set of ch...
[6 replies] Last: Thanks for the reply all. I found what I was looking for http://www.cp... (by dlugo)
by Null
Generating GUID
 
Where can I find a sourcecode for generating GUIDs? Or a description of the algorithm? I just can't find it. Thanks for help.
[no replies]
Returning the return to the succesor function problem
 
Dear forum, I would like to declare The Function void main_function(){ return NULL ;} void function(int*){ return 0 ;} int function(char ){ return char ;...
[3 replies] Last: Void functions can return void. Omit the 0 and you have a legit void-r... (by Kyon)
by aayu09
virtual function
 
I am working on a project using native c++ and the following is the legacy code. class B {}; class D : public class B { private: dataType ...
[3 replies] Last: OK I see. Thanks for your comments. (by aayu09)
by onako
Template arguments
 
My templated function look as follows: template <typename MatTypeOne, typename MatTypeTwo> void funct(MatTypeOne& m1, MatTypeTwo& m2) { //here I woul...
[13 replies] Last: Yes, it's annoying that function templates can't be specialized. The ... (by jsmith)
Segmentation fault in std::map::insert(…)
 
hello, i've used search but i didn't find answer satisfying me... so.. this is chunk of code: //VoteContainer.h typedef uint32_t order_id_t; ty...
[5 replies] Last: i've found out the reason of my problem, that isn't this code. problem... (by milohoffman)
Using the IP Address
 
Hi I have code that gets the IP address of a remote PC as a char. Now i need to use this IP Address. I want to run system("START \\\\IP\C$"). Does anyone hav...
[6 replies] Last: Sorted. Thanks! (by closed account Gy7oizwU)
by aayu09
timer allocation
 
I am wokring on a project using native c++ and running on a OS similiar to Linux. I am designing a gui using native c++ programming. I have a base class B whi...
[2 replies] Last: I see. So there is one timer allocated for each instance and it will ... (by aayu09)
by riun23
Program stops execution after input
 
I have been trying to develop a C++ Nibble Guess game. I can't figure out what is going wrong. Here's the code: #include <iostream> #include <cstdio> #inc...
[3 replies] Last: thanks guys it runs now (by riun23)
Background music in DirectX C++
 
can someone help me please? I'm trying to get my game to have background music as the game is being played I have DirectSound.cpp and .h and in mygame.cpp i hav...
[no replies]
overload template function "operator==(pair)"
 
I am going to overload a global template operator function from <utility> template<class _Ty1, class _Ty2> inline bool operator==(const pair<_Ty1, _Ty2>...
[7 replies] Last: It is also working in explicit specialisation: typedef std::pair<... (by DennisWu)
by jrd1
Query: Estimated no. of SLOC to make a decent application?
 
Greetings everyone, This is going to sound like a very subjective and very beginner question - which in some ways it is - regarding programming. I am a n...
[2 replies] Last: LOC is just a measure of the effort. Some achieve much with little eff... (by xorebxebx)
Install error 1920 about winsxs merge modules
 
Hi all, When I try to insltall my msi package I get an error only in vista and 7. "Error 1920. Service ... (...) failed to start. Veryfy that you have suffi...
[no replies]
September 2010 Pages: 1... 17181920
  Archived months: [aug2010] [oct2010]

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